Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 45 lines (40 sloc) 1.047 kb
47cd12f9 » lem9
2004-06-13 redesign part 3
1 <?php
817e7907 » Sebastian Mendel
2007-03-19 synced/fixed vim line
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
374abd51 » Sebastian Mendel
2007-03-20 fixed/added page level docblock
3 /**
4 *
5 * @version $Id$
6 */
7
8 /**
9 * get some globals
10 */
adb39168 » Sebastian Mendel
2007-04-01 coding standard: no braces around include
11 require_once './libraries/common.inc.php';
38e93a47 » lem9
2004-06-20 use standard header for theme manager
12
47cd12f9 » lem9
2004-06-13 redesign part 3
13 /* Theme Select */
b425d0eb » nijel
2004-09-23 Do not prepend $cfg['ThemePath'] with another './'.
14 $path_to_themes = $cfg['ThemePath'] . '/';
38e93a47 » lem9
2004-06-20 use standard header for theme manager
15
16 /* set language and charset */
adb39168 » Sebastian Mendel
2007-04-01 coding standard: no braces around include
17 require_once './libraries/header_http.inc.php';
38e93a47 » lem9
2004-06-20 use standard header for theme manager
18
52bb3fd7 » nijel
2005-10-13 Use common header.
19 /* HTML header */
20 $page_title = 'phpMyAdmin - ' . $strTheme;
adb39168 » Sebastian Mendel
2007-04-01 coding standard: no braces around include
21 require './libraries/header_meta_style.inc.php';
47cd12f9 » lem9
2004-06-13 redesign part 3
22 ?>
75a16f45 » nijel
2005-12-04 Use same script tag, use CDATA for scripts (RFE #995065).
23 <script type="text/javascript" language="javascript">
8f1bb568 » Sebastian Mendel
2005-11-23 - moved styles into css
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();
38e93a47 » lem9
2004-06-20 use standard header for theme manager
33 }
8f1bb568 » Sebastian Mendel
2005-11-23 - moved styles into css
34 }
35 // ]]>
38e93a47 » lem9
2004-06-20 use standard header for theme manager
36 </script>
37 </head>
47cd12f9 » lem9
2004-06-13 redesign part 3
38
8f1bb568 » Sebastian Mendel
2005-11-23 - moved styles into css
39 <body id="bodythemes">
40 <h1>phpMyAdmin - <?php echo $strTheme; ?></h1>
41 <?php
6ac06df7 » Sebastian Mendel
2005-11-29 make use of new PMA_Theme and PMA_Theme_Manager classes
42 $_SESSION['PMA_Theme_Manager']->printPreviews();
47cd12f9 » lem9
2004-06-13 redesign part 3
43 ?>
38e93a47 » lem9
2004-06-20 use standard header for theme manager
44 </body>
47cd12f9 » lem9
2004-06-13 redesign part 3
45 </html>
Something went wrong with that request. Please try again.