cvs: pearweb /public_html package-edit.php package-info.php
| From: | Martin Jansen | Date: | Fri, 21 May 2004 09:24:29 +0000 |
| Subject: | cvs: pearweb /public_html package-edit.php package-info.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-19718@lists.php.net to get a copy of this message | ||
mj Fri May 21 05:24:29 2004 EDT
Modified files:
/pearweb/public_html package-info.php package-edit.php
Log:
* Moving the delete link to package-edit.php.
http://cvs.php.net/diff.php/pearweb/public_html/package-info.php?r1=1.65&r2=1.66&ty=u
Index: pearweb/public_html/package-info.php
diff -u pearweb/public_html/package-info.php:1.65 pearweb/public_html/package-info.php:1.66
--- pearweb/public_html/package-info.php:1.65 Fri May 21 05:20:09 2004
+++ pearweb/public_html/package-info.php Fri May 21 05:24:29 2004
@@ -16,7 +16,7 @@
| Authors: Martin Jansen <mj@php.net> |
| Tomas V.V.Cox <cox@idecnet.com> |
+----------------------------------------------------------------------+
- $Id: package-info.php,v 1.65 2004/05/21 09:20:09 mj Exp $
+ $Id: package-info.php,v 1.66 2004/05/21 09:24:29 mj Exp $
*/
require_once 'Damblan/URL.php';
@@ -137,8 +137,6 @@
if (isset($auth_user) && is_object($auth_user)) {
$nav_items['Edit'] = array('url' =>
'/package-edit.php?id='.$pacid,
'title' => 'Edit this
package"');
- $nav_items['Delete'] = array('url' =>
'/package-delete.php?id='.$pacid,
- 'title' => 'Delete this
package');
$nav_items['Edit Maintainers'] = array('url' =>
'/admin/package-maintainers.php?pid='.$pacid,
'title' => 'Edit the maintainers of
this package');
}
http://cvs.php.net/diff.php/pearweb/public_html/package-edit.php?r1=1.20&r2=1.21&ty=u
Index: pearweb/public_html/package-edit.php
diff -u pearweb/public_html/package-edit.php:1.20 pearweb/public_html/package-edit.php:1.21
--- pearweb/public_html/package-edit.php:1.20 Wed May 19 23:00:14 2004
+++ pearweb/public_html/package-edit.php Fri May 21 05:24:29 2004
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: package-edit.php,v 1.20 2004/05/20 03:00:14 dufuz Exp $
+ $Id: package-edit.php,v 1.21 2004/05/21 09:24:29 mj Exp $
*/
/**
@@ -222,5 +222,11 @@
$bb->end();
+echo "<br /><br />\n";
+
+$bb = new Borderbox("Delete Package");
+print_link("/package-delete.php?id=" . $_GET['id'],
make_image("delete.gif") . " Delete the package from the website.");
+$bb->end();
+
response_footer();
?>