2 /* vim: set expandtab sw=4 ts=4 sts=4: */
11 require './libraries/common.inc.php';
14 $path_to_themes = $cfg['ThemePath'] . '/';
16 /* set language and charset */
17 require './libraries/header_http.inc.php';
20 $page_title = 'phpMyAdmin - ' . __('Theme');
21 require './libraries/header_meta_style.inc.php';
23 <script type
="text/javascript" language
="javascript">
25 function takeThis(what
) {
26 if (window
.opener
&& window
.opener
.document
.forms
['setTheme'].elements
['set_theme']) {
27 window
.opener
.document
.forms
['setTheme'].elements
['set_theme'].value
= what
;
28 window
.opener
.document
.forms
['setTheme'].submit();
31 alert('<?php echo sprintf(__('No themes support
; please check your configuration
and/or your themes in directory %s
.'), $cfg['ThemePath
']); ?>');
39 <body id
="bodythemes">
40 <h1
>phpMyAdmin
- <?php
echo __('Theme'); ?
></h1
>
41 <p
><a href
="<?php echo PMA_linkURL('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
>
43 $_SESSION['PMA_Theme_Manager']->printPreviews();