cvs: pearweb /public_html category-manager.php

From: Date: Mon, 10 Sep 2001 13:35:25 +0000
Subject: cvs: pearweb /public_html category-manager.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-827@lists.php.net to get a copy of this message
cox Mon Sep 10 09:35:25 2001 EDT Modified files: /pearweb/public_html category-manager.php Log: added menu "urhere" to the interface Index: pearweb/public_html/category-manager.php diff -u pearweb/public_html/category-manager.php:1.1 pearweb/public_html/category-manager.php:1.2 --- pearweb/public_html/category-manager.php:1.1 Mon Sep 3 19:24:01 2001 +++ pearweb/public_html/category-manager.php Mon Sep 10 09:35:25 2001 @@ -21,6 +21,8 @@ 'desc' => $catdesc, 'parent' => $catid); add_category($data); + } elseif (isset($remove)) { + // XXXX TODO: implement remove categories } // XXXX TODO extract the full category path with visitations $row = $dbh->getRow("SELECT name, parent FROM categories @@ -30,8 +32,9 @@ ?> <table border="0" cellpadding="2" cellspacing="1" width="100%"> <tr> - <td rowspan="3" width="30%"><?php print cat_selector();?></td> - <td><h3>You are browsing category: <?php print $name;?></h3></td> + <td rowspan="3" width="30%"><?php print get_categories_menu('tree');?></td> + <td><h3>You are browsing category:</h3><br><?php print get_categories_menu('urhere');?> + </td> </tr> </tr> <td><b>Insert a new sub-category in: <?php print $name; ?></b><br/><br/> @@ -45,7 +48,9 @@ </td> </tr> </tr> - <td><b>Delete</b></td> + <td><b>Delete category: <?php print $name;?></b><br> + <font color="red">(warning it will delete all subcategories and all packages!)</font> + </td> </tr> </table> <?php

« previous php.pear.cvs (#827) next »