1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-28 10:20:45 +02:00

Added page refresh when changing admin theme.

This commit is contained in:
CaMer0n
2009-07-07 02:25:05 +00:00
parent 30dfad8d71
commit 0bde4fa3a8

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/theme_handler.php,v $
| $Revision: 1.23 $
| $Date: 2009-07-06 09:28:02 $
| $Revision: 1.24 $
| $Date: 2009-07-07 02:25:05 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@@ -58,6 +58,7 @@ class themeHandler{
{
$this -> id = key($post);
$this -> setAdminTheme();
$this -> refreshPage('admin');
}
}
@@ -65,6 +66,7 @@ class themeHandler{
{
$this -> id = $_POST['curTheme'];
$this -> setAdminStyle();
}
if(isset($_POST['submit_style']))
@@ -682,6 +684,11 @@ class themeHandler{
return $text;
}
function refreshPage($page=e_QUERY)
{
header("Location: ".e_SELF."?".$page);
exit;
}
function themePreview()
{