Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 47 lines (42 sloc) 1.253 kb
644366ea » lem9
2009-05-18 3.2
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 *
5 * @version $Id$
6 * @package phpMyAdmin
7 */
8
9 /**
10 * get some globals
11 */
12 require_once './libraries/common.inc.php';
13
14 /* Theme Select */
15 $path_to_themes = $cfg['ThemePath'] . '/';
16
17 /* set language and charset */
18 require_once './libraries/header_http.inc.php';
19
20 /* HTML header */
21 $page_title = 'phpMyAdmin - ' . $strTheme;
22 require './libraries/header_meta_style.inc.php';
23 ?>
24 <script type="text/javascript" language="javascript">
25 // <![CDATA[
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();
30 self.close();
31 } else {
32 alert('<?php echo sprintf($strNoThemeSupport, $cfg['ThemePath']); ?>');
33 self.close();
34 }
35 }
36 // ]]>
37 </script>
38 </head>
39
40 <body id="bodythemes">
41 <h1>phpMyAdmin - <?php echo $strTheme; ?></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 $strGetMoreThemes; ?></a></p>
43 <?php
44 $_SESSION['PMA_Theme_Manager']->printPreviews();
45 ?>
46 </body>
47 </html>
Something went wrong with that request. Please try again.