Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 38 lines (33 sloc) 0.974 kb
47cd12f Marc Delisle redesign part 3
lem9 authored
1 <?php
38e93a4 Marc Delisle use standard header for theme manager
lem9 authored
2 /* get some globals */
f8b479a Marc Delisle files moved into themes/original
lem9 authored
3 require_once('./libraries/common.lib.php');
38e93a4 Marc Delisle use standard header for theme manager
lem9 authored
4
47cd12f Marc Delisle redesign part 3
lem9 authored
5 /* Theme Select */
b425d0e Michal Čihař Do not prepend $cfg['ThemePath'] with another './'.
nijel authored
6 $path_to_themes = $cfg['ThemePath'] . '/';
38e93a4 Marc Delisle use standard header for theme manager
lem9 authored
7
8 /* set language and charset */
9 require_once('./libraries/header_http.inc.php');
10
52bb3fd Michal Čihař Use common header.
nijel authored
11 /* HTML header */
12 $page_title = 'phpMyAdmin - ' . $strTheme;
13 require('./libraries/header_meta_style.inc.php');
47cd12f Marc Delisle redesign part 3
lem9 authored
14 ?>
75a16f4 Michal Čihař Use same script tag, use CDATA for scripts (RFE #995065).
nijel authored
15 <script type="text/javascript" language="javascript">
8f1bb56 - moved styles into css
Sebastian Mendel authored
16 // <![CDATA[
17 function takeThis(what){
18 if (window.opener && window.opener.document.forms['setTheme'].elements['set_theme']) {
19 window.opener.document.forms['setTheme'].elements['set_theme'].value = what;
20 window.opener.document.forms['setTheme'].submit();
21 self.close();
22 } else {
23 alert('<?php echo sprintf($strNoThemeSupport, $cfg['ThemePath']); ?>');
24 self.close();
38e93a4 Marc Delisle use standard header for theme manager
lem9 authored
25 }
8f1bb56 - moved styles into css
Sebastian Mendel authored
26 }
27 // ]]>
38e93a4 Marc Delisle use standard header for theme manager
lem9 authored
28 </script>
29 </head>
47cd12f Marc Delisle redesign part 3
lem9 authored
30
8f1bb56 - moved styles into css
Sebastian Mendel authored
31 <body id="bodythemes">
32 <h1>phpMyAdmin - <?php echo $strTheme; ?></h1>
33 <?php
6ac06df make use of new PMA_Theme and PMA_Theme_Manager classes
Sebastian Mendel authored
34 $_SESSION['PMA_Theme_Manager']->printPreviews();
47cd12f Marc Delisle redesign part 3
lem9 authored
35 ?>
38e93a4 Marc Delisle use standard header for theme manager
lem9 authored
36 </body>
47cd12f Marc Delisle redesign part 3
lem9 authored
37 </html>
Something went wrong with that request. Please try again.