From: Marc G. K. <st...@us...> - 2002-07-30 11:06:42
|
Update of /cvsroot/squirrelmail/squirrelmail/src In directory usw-pr-cvs1:/tmp/cvs-serv23061 Modified Files: Tag: SM-1_2-STABLE read_body.php Log Message: support for where what (search) Index: read_body.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/src/read_body.php,v retrieving revision 1.179.2.3 retrieving revision 1.179.2.4 diff -u -w -r1.179.2.3 -r1.179.2.4 --- read_body.php 10 Jun 2002 18:16:32 -0000 1.179.2.3 +++ read_body.php 30 Jul 2002 11:06:39 -0000 1.179.2.4 @@ -18,6 +18,7 @@ require_once('../functions/date.php'); require_once('../functions/url_parser.php'); require_once('../functions/smtp.php'); +require_once('../functions/html.php'); /** * Given an IMAP message id number, this will look it up in the cached @@ -26,8 +27,8 @@ * * @return the index of the next valid message from the array */ [...1325 lines suppressed...] - echo "<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 ALIGN=CENTER>\n" . - '<TR>' . - '<TD>' . - "<img src=\"$imgurl\">\n" . - "</TD>\n" . - "</TR>\n" . - "</TABLE>\n"; - + echo html_tag( 'table', "\n" . + html_tag( 'tr', "\n" . + html_tag( 'td', '<img src="' . $imgurl . '">' ."\n", 'left' + ) + ) , + 'center', '', 'cellspacing=0 border="0" cellpadding="2"'); } } - do_hook('read_body_bottom'); do_hook('html_bottom'); |