cvs: pearweb /public_html/bugs bug.php

From: Date: Mon, 20 Feb 2006 20:58:17 +0000
Subject: cvs: pearweb /public_html/bugs bug.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-4558@lists.php.net to get a copy of this message
pajoye Mon Feb 20 20:58:17 2006 UTC Modified files: /pearweb/public_html/bugs bug.php Log: - developers use the developer page, no captcha, email,... http://cvs.php.net/viewcvs.cgi/pearweb/public_html/bugs/bug.php?r1=1.95&r2=1.96&diff_format=u Index: pearweb/public_html/bugs/bug.php diff -u pearweb/public_html/bugs/bug.php:1.95 pearweb/public_html/bugs/bug.php:1.96 --- pearweb/public_html/bugs/bug.php:1.95 Mon Feb 20 02:17:51 2006 +++ pearweb/public_html/bugs/bug.php Mon Feb 20 20:58:17 2006 @@ -15,7 +15,7 @@ * @package Bugs * @copyright Copyright (c) 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: bug.php,v 1.95 2006/02/20 02:17:51 pajoye Exp $ + * @version $Id: bug.php,v 1.96 2006/02/20 20:58:17 pajoye Exp $ */ /* @@ -451,7 +451,7 @@ <?php control(0, 'View'); -if ($edit != 2) { +if (!($auth_user && $auth_user->registered) && $edit != 2) { control(3, 'Add Comment'); } if ($auth_user) { @@ -915,7 +915,7 @@ $res =& $dbh->query($query); } -function control($num, $desc) +function control($num, $desc, $dev = false) { echo '<span id="control_' . $num . '" class="control'; if ($GLOBALS['edit'] == $num) {

« previous php.pear.core (#4558) next »