cvs: phpweb /include layout.inc shared-manual.inc

From: Date: Mon, 22 Oct 2001 15:56:17 +0000
Subject: cvs: phpweb /include layout.inc shared-manual.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-7160@lists.php.net to get a copy of this message
cmv Mon Oct 22 11:56:17 2001 EDT Modified files: /phpweb/include layout.inc shared-manual.inc Log: fix manual width issues Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.54 phpweb/include/layout.inc:1.55 --- phpweb/include/layout.inc:1.54 Fri Oct 19 20:58:01 2001 +++ phpweb/include/layout.inc Mon Oct 22 11:56:15 2001 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.inc,v 1.54 2001/10/20 00:58:01 jimw Exp $ */ +/* $Id: layout.inc,v 1.55 2001/10/22 15:56:15 cmv Exp $ */ # spacer() # print a IMG tag for a sized spacer GIF @@ -269,7 +269,7 @@ <td bgcolor="#cccccc" background="/gifs/checkerboard.gif"><?php spacer(1,1);?><br></td> <?php endif; ?> <td> - <table cellpadding="10" cellspacing="0"> + <table cellpadding="10" cellspacing="0" width="620"> <tr> <td valign="top"> <?php @@ -388,7 +388,7 @@ $text=str_replace(htmlspecialchars($f), $f, $text); $text=str_replace(htmlspecialchars(strtoupper($f)), $f, $text); } - $text = "<tt>".nl2br($text)."</tt>"; + $text = "<tt>".nl2br(wordwrap(trim($text)))."</tt>"; return $text; } Index: phpweb/include/shared-manual.inc diff -u phpweb/include/shared-manual.inc:1.124 phpweb/include/shared-manual.inc:1.125 --- phpweb/include/shared-manual.inc:1.124 Thu Oct 4 16:35:51 2001 +++ phpweb/include/shared-manual.inc Mon Oct 22 11:56:15 2001 @@ -207,7 +207,7 @@ # don't want .php at the end of the id. if (substr($id,-4) == '.php') $id = substr($id,0,-4); - echo "<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\">\n"; + echo "<table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" width=\"620\">\n"; $notes = manualGetUserNotes($title, $id);

« previous php.mirrors (#7160) next »