cvs: phpweb /include layout.inc

From: Date: Sat, 03 May 2003 21:37:42 +0000
Subject: cvs: phpweb /include layout.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-17271@lists.php.net to get a copy of this message
alindeman Sat May 3 17:37:42 2003 EDT Modified files: /phpweb/include layout.inc Log: code -> note -- what was I thinking :-/ Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.142 phpweb/include/layout.inc:1.143 --- phpweb/include/layout.inc:1.142 Sat May 3 17:36:30 2003 +++ phpweb/include/layout.inc Sat May 3 17:37:42 2003 @@ -1,6 +1,6 @@ <?php -/* $Id: layout.inc,v 1.142 2003/05/03 21:36:30 alindeman Exp $ */ +/* $Id: layout.inc,v 1.143 2003/05/03 21:37:42 alindeman Exp $ */ // Print an image for a sized spacer function spacer($width = 1, $height = 1, $return = false, $align = false, $extras = false) @@ -399,8 +399,8 @@ $text=str_replace(htmlspecialchars(strtoupper($f)), $f, $text); } - /* Make sure <p> tags stay in the CSS "code" class*/ - $text = str_replace (array ('<P>', '<p>'), '<p class="code">', $text); + /* Make sure <p> tags stay in the CSS "note" class*/ + $text = str_replace (array ('<P>', '<p>'), '<p class="note">', $text); /* preserve linebreaks */ $text = str_replace("\n", "<br>", $text);

« previous php.mirrors (#17271) next »