cvs: phpweb(NEW_LOOK_2008) /include layout.inc

From: Date: Tue, 19 Aug 2008 22:06:08 +0000
Subject: cvs: phpweb(NEW_LOOK_2008) /include layout.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-2465@lists.php.net to get a copy of this message
bjori Tue Aug 19 22:06:08 2008 UTC Modified files: (Branch: NEW_LOOK_2008) /phpweb/include layout.inc Log: Fix syntax errors and incorrect type checking #Note to self: Don't change stuff while writing commit messages http://cvs.php.net/viewvc.cgi/phpweb/include/layout.inc?r1=1.287.2.2&r2=1.287.2.3&diff_format=u Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.287.2.2 phpweb/include/layout.inc:1.287.2.3 --- phpweb/include/layout.inc:1.287.2.2 Tue Aug 19 22:03:01 2008 +++ phpweb/include/layout.inc Tue Aug 19 22:06:08 2008 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.inc,v 1.287.2.2 2008/08/19 22:03:01 bjori Exp $ */ +/* $Id: layout.inc,v 1.287.2.3 2008/08/19 22:06:08 bjori Exp $ */ // Set the static content root differently on php.net $_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ? @@ -680,9 +680,9 @@ define("CORNERS_BOTTOM", 0x02); // Print out rounded corners at the bottom define("COLUMN_LEFT", 1); // First column (left sidebar) -define("COLUMN_MAIN" 2); // Main content column in 2 column view -define("COLUMN_MIDDLE" 3); // Second column in 3 column view -define("COLUMN_RIGHT" 4); // Third column (right sidebar) +define("COLUMN_MAIN", 2); // Main content column in 2 column view +define("COLUMN_MIDDLE", 3); // Second column in 3 column view +define("COLUMN_RIGHT", 4); // Third column (right sidebar) // I am extremely lazy and have a piss poor copy&paste skilz. // Better of opening/closing these layout boxes using help functions @@ -704,7 +704,7 @@ OPEN; return true; } - if($id === false) { + if($id === "") { echo <<< CLOSE </div> <!-- .content --> </li><!-- #id.. -->

« previous php.webmaster (#2465) next »