cvs: phpweb /include layout.inc

From: Date: Sat, 17 Aug 2002 11:04:22 +0000
Subject: cvs: phpweb /include layout.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-12024@lists.php.net to get a copy of this message
goba Sat Aug 17 07:04:22 2002 EDT Modified files: /phpweb/include layout.inc Log: Use <code> instead of <p> so we can have it with fixed width font, which is much more suitable for code examples then the proportional font used now... Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.97 phpweb/include/layout.inc:1.98 --- phpweb/include/layout.inc:1.97 Fri Aug 16 14:36:34 2002 +++ phpweb/include/layout.inc Sat Aug 17 07:04:21 2002 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.inc,v 1.97 2002/08/16 18:36:34 imajes Exp $ */ +/* $Id: layout.inc,v 1.98 2002/08/17 11:04:21 goba Exp $ */ # spacer() # print a IMG tag for a sized spacer GIF @@ -380,7 +380,7 @@ $text = wordwrap($text); } - $text = "<p class=\"note\">".$text."</p>"; + $text = "<code class=\"note\">".$text."</code>"; return $text; }

« previous php.mirrors (#12024) next »