From 10af36751ffe327d8663a546eaf6beab0fb3465f Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Mon, 6 Jul 2009 06:33:29 +0000 Subject: [PATCH] Theme Manager Lans --- e107_handlers/theme_handler.php | 20 ++++++++++---------- e107_languages/English/admin/lan_theme.php | 11 +++++++++-- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/e107_handlers/theme_handler.php b/e107_handlers/theme_handler.php index 6ab6ba577..196457733 100644 --- a/e107_handlers/theme_handler.php +++ b/e107_handlers/theme_handler.php @@ -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.16 $ -| $Date: 2009-07-06 05:59:42 $ +| $Revision: 1.17 $ +| $Date: 2009-07-06 06:33:29 $ | $Author: e107coders $ +----------------------------------------------------------------------------+ */ @@ -493,18 +493,18 @@ class themeHandler{ } - if($theme['layouts']) // New in 0.8 WORK IN PROGRESS ---- + if($theme['layouts']) // New in 0.8 ---- { $itext .= " ".TPVLAN_50.": "; - $itext .= ($mode == 1) ? "" : ""; + $itext .= ($mode == 1) ? "" : ""; $itext .= " - - - + + + \n"; foreach($theme['layouts'] as $key=>$val) @@ -552,9 +552,9 @@ class themeHandler{
Default".TPVLAN_55."TitleRequirementsMenu Preset".TPVLAN_52."".TPVLAN_53."".TPVLAN_54."
".TPVLAN_22.": - - - + + + \n"; foreach($theme['css'] as $css) diff --git a/e107_languages/English/admin/lan_theme.php b/e107_languages/English/admin/lan_theme.php index 8c08f7af9..ca72c3577 100644 --- a/e107_languages/English/admin/lan_theme.php +++ b/e107_languages/English/admin/lan_theme.php @@ -4,11 +4,13 @@ | e107 website system - Language File. | | $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/lan_theme.php,v $ -| $Revision: 1.4 $ -| $Date: 2009-07-06 05:59:42 $ +| $Revision: 1.5 $ +| $Date: 2009-07-06 06:33:29 $ | $Author: e107coders $ +----------------------------------------------------------------------------+ */ + + define("TPVLAN_1", "You are looking at a preview of the '".PREVIEWTHEMENAME."' theme. It has not been set as the main theme for your site, it has been activated to provide a preview of how the theme looks.
To set this theme as your site theme, return to your theme manager and select 'Set As Site Theme'.
To preview more themes please click here"); define("TPVLAN_2", "Theme Preview"); define("TPVLAN_3", "Main site theme set to"); @@ -67,6 +69,11 @@ define("TPVLAN_48", "code:"); define("TPVLAN_49", "Compliance"); define("TPVLAN_50", "Layouts"); define("TPVLAN_51", "Change Theme"); +define("TPVLAN_52", "Name"); +define("TPVLAN_53", "Requirements"); +define("TPVLAN_54", "Menu Preset"); +define("TPVLAN_55", "Default"); +
DefaultTitleDescription".TPVLAN_55."".TPVLAN_52."".TPVLAN_7."