Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2011-08-08 15:53:41 +0400
committerMichal Čihař <mcihar@suse.cz>2011-08-08 15:53:41 +0400
commitb57e186331d2f1abeff9febbf8f9933d906eb029 (patch)
treea6e13ba693bc9b6f9f114de693e41339d4e744d1 /themes.php
parent8f618e6f013262963c279b71c1f2fff1d1d74e3d (diff)
Drop another ocurence of inline js
Diffstat (limited to 'themes.php')
-rw-r--r--themes.php16
1 files changed, 1 insertions, 15 deletions
diff --git a/themes.php b/themes.php
index 732f1e3082..166333466c 100644
--- a/themes.php
+++ b/themes.php
@@ -19,22 +19,8 @@ require './libraries/header_http.inc.php';
/* HTML header */
$page_title = 'phpMyAdmin - ' . __('Theme');
require './libraries/header_meta_style.inc.php';
+require './libraries/header_scripts.inc.php';
?>
-<script type="text/javascript" language="javascript">
-// <![CDATA[
-function takeThis(what)
-{
- if (window.opener && window.opener.document.forms['setTheme'].elements['set_theme']) {
- window.opener.document.forms['setTheme'].elements['set_theme'].value = what;
- window.opener.document.forms['setTheme'].submit();
- self.close();
- } else {
- alert('<?php echo sprintf(__('No themes support; please check your configuration and/or your themes in directory %s.'), $cfg['ThemePath']); ?>');
- self.close();
- }
-}
-// ]]>
-</script>
</head>
<body id="bodythemes">