@@ -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 = "
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 = "
@@ -44,7 +47,8 @@ if(!$USERPOSTS_COMMENTS_TABLE){
|
";
}
-if(!$USERPOSTS_COMMENTS_TABLE_END){
+if(!isset($USERPOSTS_COMMENTS_TABLE_END))
+{
$USERPOSTS_COMMENTS_TABLE_END = "
";
@@ -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 = "