Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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