|
From: OryNider <ory...@us...> - 2008-02-04 12:46:12
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31033 Modified Files: template.php Log Message: extra white space Index: template.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/template.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** template.php 16 Jan 2008 04:00:49 -0000 1.20 --- template.php 4 Feb 2008 12:46:05 -0000 1.21 *************** *** 301,305 **** $sql = "DELETE FROM " . CONFIG_TABLE . " WHERE config_name='" . $del[$i] . "'"; break; ! } $db->sql_query($sql); } --- 301,305 ---- $sql = "DELETE FROM " . CONFIG_TABLE . " WHERE config_name='" . $del[$i] . "'"; break; ! } $db->sql_query($sql); } *************** *** 972,976 **** global $admin_script; $admin_script = ($admin_script) ? $admin_script : $filename; ! } --- 972,976 ---- global $admin_script; $admin_script = ($admin_script) ? $admin_script : $filename; ! } *************** *** 1485,1489 **** } // find end of html comment ! $pos2 = strpos($line, ' -->', $pos1); if($pos2 !== false) { --- 1485,1489 ---- } // find end of html comment ! $pos2 = strpos($line, '-->', $pos1); if($pos2 !== false) { *************** *** 2027,2030 **** --- 2027,2034 ---- $token = (!empty($varrefs[1])) ? $this->generate_block_data_ref(substr($varrefs[1], 0, -1), true, $varrefs[3]) . '[\'' . $varrefs[4] . '\']' : (($varrefs[3]) ? '$this->_tpldata[\'DEFINE\'][\'.\'][\'' . $varrefs[4] . '\']' : '$this->vars[\'' . $varrefs[4] . '\']'); } + if ( $token[0] == '.' ) + { + $token = '$' . substr( $token, 1); + } break; } |