2 /* vim: set expandtab sw=4 ts=4 sts=4: */
12 require_once './libraries/common.inc.php';
15 $path_to_themes = $cfg['ThemePath'] . '/';
17 /* set language and charset */
18 require_once './libraries/header_http.inc.php';
21 $page_title = 'phpMyAdmin - ' . __('Theme / Style');
22 require './libraries/header_meta_style.inc.php';
24 <script type
="text/javascript" language
="javascript">
26 function takeThis(what
){
27 if (window
.opener
&& window
.opener
.document
.forms
['setTheme'].elements
['set_theme']) {
28 window
.opener
.document
.forms
['setTheme'].elements
['set_theme'].value
= what
;
29 window
.opener
.document
.forms
['setTheme'].submit();
32 alert('<?php echo sprintf(__('No themes support
; please check your configuration
and/or your themes in directory %s
.'), $cfg['ThemePath
']); ?>');
40 <body id
="bodythemes">
41 <h1
>phpMyAdmin
- <?php
echo __('Theme / Style'); ?
></h1
>
42 <p
><a href
="http://www.phpmyadmin.net/home_page/themes.php#pma_<?php echo preg_replace('/([0-9]*)\.([0-9]*)\..*/', '\1_\2', PMA_VERSION); ?>"><?php
echo __('Get more themes!'); ?
></a
></p
>
44 $_SESSION['PMA_Theme_Manager']->printPreviews();