cvs: pearweb /public_html/pepr pepr-proposal-edit.php
| From: | Pierre-Alain Joye | Date: | Sat, 16 Jul 2005 12:17:53 +0000 |
| Subject: | cvs: pearweb /public_html/pepr pepr-proposal-edit.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-33081@lists.php.net to get a copy of this message | ||
pajoye Sat Jul 16 08:17:53 2005 EDT
Modified files:
/pearweb/public_html/pepr pepr-proposal-edit.php
Log:
- end if no auth
http://cvs.php.net/diff.php/pearweb/public_html/pepr/pepr-proposal-edit.php?r1=1.42&r2=1.43&ty=u
Index: pearweb/public_html/pepr/pepr-proposal-edit.php
diff -u pearweb/public_html/pepr/pepr-proposal-edit.php:1.42
pearweb/public_html/pepr/pepr-proposal-edit.php:1.43
--- pearweb/public_html/pepr/pepr-proposal-edit.php:1.42 Mon Jul 4 14:17:38 2005
+++ pearweb/public_html/pepr/pepr-proposal-edit.php Sat Jul 16 08:17:53 2005
@@ -20,20 +20,16 @@
* @author Daniel Convissor <danielc@php.net>
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: pepr-proposal-edit.php,v 1.42 2005/07/04 18:17:38 toby Exp $
+ * @version $Id: pepr-proposal-edit.php,v 1.43 2005/07/16 12:17:53 pajoye Exp $
*/
-/**
- * Obtain the common functions and classes.
- */
-require_once 'pepr/pepr.php';
+auth_require('pear.pepr');
/**
- * Obtain code for Bulletin Board markup.
+ * Obtain the common functions and classes.
*/
-require_once 'HTML/BBCodeParser.php';
+include_once 'pepr/pepr.php';
-auth_require('pear.pepr');
$karma =& new Damblan_Karma($dbh);
@@ -137,10 +133,8 @@
$form->addElement('textarea', 'action_comment', 'Changelog
comment:', array('cols' => 80, 'rows' => 10));
}
-
$form->addElement('submit', 'submit', 'Save');
-
if ($proposal != null) {
$defaults = array('pkg_name' => $proposal->pkg_name,
'pkg_license' => $proposal->pkg_license,