From 05ac518c650b4015a3409d568017c0fc3329a6b6 Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Sun, 1 Nov 2009 03:25:29 +0000 Subject: [PATCH] Updated with some existing classes. Some inline styles still need to be moved. --- e107_handlers/theme_handler.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/e107_handlers/theme_handler.php b/e107_handlers/theme_handler.php index ca33c7061..f86b5b751 100644 --- a/e107_handlers/theme_handler.php +++ b/e107_handlers/theme_handler.php @@ -9,8 +9,8 @@ * e107 Admin Theme Handler * * $Source: /cvs_backup/e107_0.8/e107_handlers/theme_handler.php,v $ - * $Revision: 1.59 $ - * $Date: 2009-10-31 00:36:09 $ + * $Revision: 1.60 $ + * $Date: 2009-11-01 03:25:29 $ * $Author: e107coders $ */ @@ -666,12 +666,12 @@ class themeHandler $website = ($theme['website'] ? "".$theme['website']."" : ""); $preview = "".($theme['preview'] ? "" : "").""; - $previewbutton = (!$mode ? " " : ""); + $previewbutton = (!$mode ? " " : ""); - $main_icon = ($pref['sitetheme'] != $theme['path']) ? "\n" : ADMIN_TRUE_ICON; + $main_icon = ($pref['sitetheme'] != $theme['path']) ? "\n" : ""; $info_icon = "\n"; - $preview_icon = "\n"; - $admin_icon = ($pref['admintheme'] != $theme['path']) ? "\n" : ADMIN_TRUE_ICON; + $preview_icon = "\n"; + $admin_icon = ($pref['admintheme'] != $theme['path']) ? "\n" : ""; $newpreview = "".($theme['preview'] ? "" : "").""; @@ -681,10 +681,10 @@ class themeHandler // styles NEED to be put into style.css $borderStyle = (($pref['sitetheme'] == $theme['path']) || ($pref['admintheme'] == $theme['path'])) ? "border:1px solid black" : "border:1px dotted silver;background-color:#DDDDDD"; - $text = "
+ $text = "
".$newpreview."
-
".$theme['name']." ".$theme['version']."
-
\n\n\n".$main_icon.$admin_icon.$info_icon.$preview_icon."\n\n
+
".$theme['name']." ".$theme['version']."
+
\n\n\n".$main_icon.$admin_icon.$info_icon.$preview_icon."\n\n
\n".$this->renderThemeInfo($theme)."
";