diff --git a/e107_themes/templates/banner_template.php b/e107_themes/templates/banner_template.php index b0bcc148e..137e1da94 100644 --- a/e107_themes/templates/banner_template.php +++ b/e107_themes/templates/banner_template.php @@ -1,10 +1,12 @@ \n
\n @@ -29,7 +31,8 @@ if(!$BANNER_LOGIN_TABLE){ // ##### ------------------------------------------------------------------------------------------ // ##### BANNER TABLE ----------------------------------------------------------------------------- -if(!$BANNER_TABLE_START){ +if(!isset($BANNER_TABLE_START)) +{ $BANNER_TABLE_START = " @@ -43,7 +46,8 @@ if(!$BANNER_TABLE_START){ "; } -if(!$BANNER_TABLE){ +if(!isset($BANNER_TABLE)) +{ $BANNER_TABLE = " @@ -71,20 +75,24 @@ if(!$BANNER_TABLE){ "; } -if(!$BANNER_TABLE_END){ +if(!isset($BANNER_TABLE_END)) +{ $BANNER_TABLE_END = "
".BANNERLAN_21."
".BANNERLAN_28."
{BANNER_TABLE_CLIENTNAME}
 
"; } // ##### ------------------------------------------------------------------------------------------ // ##### BANNER MENU ----------------------------------------------------------------------------- -if(!isset($BANNER_MENU_START)){ +if(!isset($BANNER_MENU_START)) +{ $BANNER_MENU_START = "
"; } -if(!isset($BANNER_MENU)){ +if(!isset($BANNER_MENU)) +{ $BANNER_MENU = "{BANNER}

"; } -if(!isset($BANNER_MENU_END)){ +if(!isset($BANNER_MENU_END)) +{ $BANNER_MENU_END = "
"; } // ##### ------------------------------------------------------------------------------------------ diff --git a/e107_themes/templates/contact_template.php b/e107_themes/templates/contact_template.php index 6372db91d..facf6bed6 100644 --- a/e107_themes/templates/contact_template.php +++ b/e107_themes/templates/contact_template.php @@ -1,10 +1,11 @@ @@ -28,7 +29,8 @@ $sc_style['CONTACT_IMAGECODE_INPUT']['pre'] = ""; $sc_style['CONTACT_IMAGECODE_INPUT']['post'] = ""; -if(!$CONTACT_FORM){ +if(!isset($CONTACT_FORM)) +{ $CONTACT_FORM = " diff --git a/e107_themes/templates/fpw_template.php b/e107_themes/templates/fpw_template.php index 3725491bb..dbd957d38 100644 --- a/e107_themes/templates/fpw_template.php +++ b/e107_themes/templates/fpw_template.php @@ -1,11 +1,13 @@ @@ -52,7 +54,8 @@ if(!$FPW_TABLE){ // ##### ------------------------------------------------------------------------------------------ // ##### FPW HEADER TABLE ------------------------------------------------------------------------- -if(!$FPW_TABLE_HEADER){ +if(!isset($FPW_TABLE_HEADER)) +{ $FPW_TABLE_HEADER = "

@@ -62,7 +65,8 @@ if(!$FPW_TABLE_HEADER){ // ##### ------------------------------------------------------------------------------------------ // ##### FPW FOOTER TABLE ------------------------------------------------------------------------- -if(!$FPW_TABLE_FOOTER){ +if(!isset($FPW_TABLE_FOOTER)) +{ $FPW_TABLE_FOOTER = "
"; } // ##### ------------------------------------------------------------------------------------------ diff --git a/e107_themes/templates/login_template.php b/e107_themes/templates/login_template.php index e9f099aea..2b954c0ea 100644 --- a/e107_themes/templates/login_template.php +++ b/e107_themes/templates/login_template.php @@ -1,9 +1,11 @@
@@ -11,7 +13,8 @@ if(!$LOGIN_TABLE_HEADER){ } // ##### LOGIN TABLE ----------------------------------------------------------------------------- -if(!$LOGIN_TABLE){ +if(!isset($LOGIN_TABLE)) +{ $LOGIN_TABLE = ""; if($LOGIN_TABLE_LOGINMESSAGE != ""){ $LOGIN_TABLE .= "
{LOGIN_TABLE_LOGINMESSAGE}
"; @@ -29,7 +32,8 @@ if(!$LOGIN_TABLE){ // ##### ------------------------------------------------------------------------------------------ // ##### LOGIN TABLE FOOTER ----------------------------------------------------------------------- -if(!$LOGIN_TABLE_FOOTER){ +if(!isset($LOGIN_TABLE_FOOTER)) +{ $LOGIN_TABLE_FOOTER = "

diff --git a/e107_themes/templates/online_template.php b/e107_themes/templates/online_template.php index 876c4f797..e69f53100 100644 --- a/e107_themes/templates/online_template.php +++ b/e107_themes/templates/online_template.php @@ -1,10 +1,12 @@
@@ -14,7 +16,8 @@ if(!$ONLINE_TABLE_START){ "; } -if(!$ONLINE_TABLE){ +if(!isset($ONLINE_TABLE)) +{ $ONLINE_TABLE = " @@ -22,7 +25,8 @@ if(!$ONLINE_TABLE){ "; } -if(!$ONLINE_TABLE_END){ +if(!isset($ONLINE_TABLE_END)) +{ $ONLINE_TABLE_END = "
".ONLINE_EL11."
{ONLINE_TABLE_ICON}{ONLINE_TABLE_LOCATION}
diff --git a/e107_themes/templates/sitedown_template.php b/e107_themes/templates/sitedown_template.php index a4338c2bd..f294633d3 100644 --- a/e107_themes/templates/sitedown_template.php +++ b/e107_themes/templates/sitedown_template.php @@ -11,16 +11,17 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_themes/templates/sitedown_template.php,v $ -| $Revision: 1.4 $ -| $Date: 2007-01-20 15:49:21 $ -| $Author: mrpete $ +| $Revision: 1.5 $ +| $Date: 2007-12-06 21:35:55 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ if (!defined('e107_INIT')) { exit; } // ##### SITEDOWN TABLE ----------------------------------------------------------------- -if(!$SITEDOWN_TABLE){ +if(!isset($SITEDOWN_TABLE)) +{ $SITEDOWN_TABLE = (defined("STANDARDS_MODE") ? "" : "")." "; $SITEDOWN_TABLE .= " diff --git a/e107_themes/templates/userposts_template.php b/e107_themes/templates/userposts_template.php index 92c5bb10b..a0ec62020 100644 --- a/e107_themes/templates/userposts_template.php +++ b/e107_themes/templates/userposts_template.php @@ -11,25 +11,28 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_themes/templates/userposts_template.php,v $ -| $Revision: 1.1.1.1 $ -| $Date: 2006-12-02 04:36:13 $ -| $Author: mcfly_e107 $ +| $Revision: 1.2 $ +| $Date: 2007-12-06 21:35:55 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ if (!defined('e107_INIT')) { exit; } if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:95%"); } -if(!isset($USERPOSTS_NP_TABLE)){ +if(!isset($USERPOSTS_NP_TABLE)) +{ $USERPOSTS_NP_TABLE = "
{USERPOSTS_NEXTPREV}
"; } // ##### USERPOSTS_COMMENTS TABLE ----------------------------------------------------------------- -if(!$USERPOSTS_COMMENTS_TABLE_START){ +if(!isset($USERPOSTS_COMMENTS_TABLE_START)) +{ $USERPOSTS_COMMENTS_TABLE_START = "
\n"; } -if(!$USERPOSTS_COMMENTS_TABLE){ +if(!isset($USERPOSTS_COMMENTS_TABLE)) +{ $USERPOSTS_COMMENTS_TABLE = " "; } -if(!$USERPOSTS_COMMENTS_TABLE_END){ +if(!isset($USERPOSTS_COMMENTS_TABLE_END)) +{ $USERPOSTS_COMMENTS_TABLE_END = "
@@ -44,7 +47,8 @@ if(!$USERPOSTS_COMMENTS_TABLE){
"; @@ -52,13 +56,15 @@ if(!$USERPOSTS_COMMENTS_TABLE_END){ // ##### ------------------------------------------------------------------------------------------ // ##### USERPOSTS FORUM TABLE -------------------------------------------------------------------- -if(!$USERPOSTS_FORUM_TABLE_START){ +if(!isset($USERPOSTS_FORUM_TABLE_START)) +{ $USERPOSTS_FORUM_TABLE_START = "
"; } -if(!$USERPOSTS_FORUM_TABLE){ +if(!isset($USERPOSTS_FORUM_TABLE)) +{ $USERPOSTS_FORUM_TABLE .= " "; } -if(!$USERPOSTS_FORUM_TABLE_END){ +if(!isset($USERPOSTS_FORUM_TABLE_END)) +{ $USERPOSTS_FORUM_TABLE_END = "
@@ -74,7 +80,8 @@ if(!$USERPOSTS_FORUM_TABLE){