cvs: php-bugs-web / bug.php search.php /include layout.inc

From: Date: Thu, 28 Sep 2006 11:10:10 +0000
Subject: cvs: php-bugs-web / bug.php search.php /include layout.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-32835@lists.php.net to get a copy of this message
bjori Thu Sep 28 11:10:10 2006 UTC Modified files: /php-bugs-web/include layout.inc /php-bugs-web bug.php search.php Log: Add rss link at the bottom fix double / in feed url http://cvs.php.net/viewvc.cgi/php-bugs-web/include/layout.inc?r1=1.28&r2=1.29&diff_format=u Index: php-bugs-web/include/layout.inc diff -u php-bugs-web/include/layout.inc:1.28 php-bugs-web/include/layout.inc:1.29 --- php-bugs-web/include/layout.inc:1.28 Thu Sep 28 09:47:31 2006 +++ php-bugs-web/include/layout.inc Thu Sep 28 11:10:10 2006 @@ -238,7 +238,7 @@ # # -function commonFooter() { +function commonFooter($rss = false) { global $HTTP_SERVER_VARS; ?> </div> @@ -246,6 +246,7 @@ <tr class="headersep"><td><?php spacer(1,1);?><br></td></tr> <tr class="headerbottom"> <td align="right" valign="bottom"><? + if($rss) { print_link($rss, "RSS feed", false, 'class="menuWhite"'); echo delim(); } print_link('/source.php?url='.$HTTP_SERVER_VARS['SCRIPT_NAME'], 'show source', false, 'class="menuWhite"'); ?>&nbsp;<br> </td> http://cvs.php.net/viewvc.cgi/php-bugs-web/bug.php?r1=1.80&r2=1.81&diff_format=u Index: php-bugs-web/bug.php diff -u php-bugs-web/bug.php:1.80 php-bugs-web/bug.php:1.81 --- php-bugs-web/bug.php:1.80 Thu Sep 28 09:47:31 2006 +++ php-bugs-web/bug.php Thu Sep 28 11:10:10 2006 @@ -206,7 +206,7 @@ exit; } -commonHeader("#$id: ".htmlspecialchars($bug['sdesc']), true, "http://bugs.php.net/rss/bug.php?id=$id&format=rss"); +commonHeader("#$id: ".htmlspecialchars($bug['sdesc']), true, "http://bugs.php.net/rss/bug.php?id=$id&amp;format=rss"); /* DISPLAY BUG */ if ($thanks == 1 || $thanks == 2) { @@ -522,7 +522,7 @@ } } -commonFooter(); +commonFooter("http://bugs.php.net/rss/bug.php?id=$id&format=rss"); function output_note($com_id, $ts, $email, $comment) { http://cvs.php.net/viewvc.cgi/php-bugs-web/search.php?r1=1.63&r2=1.64&diff_format=u Index: php-bugs-web/search.php diff -u php-bugs-web/search.php:1.63 php-bugs-web/search.php:1.64 --- php-bugs-web/search.php:1.63 Thu Sep 28 09:47:31 2006 +++ php-bugs-web/search.php Thu Sep 28 11:10:10 2006 @@ -161,7 +161,7 @@ "&amp;author_email=". urlencode(stripslashes($author_email)) . "&amp;bug_age=$bug_age&amp;by=$by&amp;order_by=$order_by&amp;direction=$direction&amp;phpver=$phpver&amp;limit=$limit&amp;assign=$assign"; - commonHeader("Search", true, "http://bugs.php.net/rss/".$link); + commonHeader("Search", true, "http://bugs.php.net/rss".$link); ?> <table align="center" border="0" cellspacing="2" width="95%"> <?php show_prev_next($begin,$rows,$total_rows,$link,$limit);?> @@ -203,7 +203,7 @@ ?> </table> <?php - commonFooter(); + commonFooter("http://bugs.php.net/rss".$link); exit; } }

« previous php.mirrors (#32835) next »