diff options
author | Michal Čihař <mcihar@suse.cz> | 2011-08-08 15:53:41 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2011-08-08 15:53:41 +0400 |
commit | b57e186331d2f1abeff9febbf8f9933d906eb029 (patch) | |
tree | a6e13ba693bc9b6f9f114de693e41339d4e744d1 /themes.php | |
parent | 8f618e6f013262963c279b71c1f2fff1d1d74e3d (diff) |
Drop another ocurence of inline js
Diffstat (limited to 'themes.php')
-rw-r--r-- | themes.php | 16 |
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"> |