Index: oscommerce2/trunk/catalog/admin/categories.php
===================================================================
diff -u -r1607 -r1754
--- oscommerce2/trunk/catalog/admin/categories.php (.../categories.php) (revision 1607)
+++ oscommerce2/trunk/catalog/admin/categories.php (.../categories.php) (revision 1754)
@@ -1,11 +1,11 @@
0) {
if (isset($cInfo) && is_object($cInfo)) { // category info box contents
+ $category_path_string = '';
+ $category_path = tep_generate_category_path($cInfo->categories_id);
+ for ($i=(sizeof($category_path[0])-1); $i>0; $i--) {
+ $category_path_string .= $category_path[0][$i]['id'] . '_';
+ }
+ $category_path_string = substr($category_path_string, 0, -1);
+
$heading[] = array('text' => '' . $cInfo->categories_name . '');
- $contents[] = array('align' => 'center', 'text' => '' . tep_image_button('button_edit.gif', IMAGE_EDIT) . ' ' . tep_image_button('button_delete.gif', IMAGE_DELETE) . ' ' . tep_image_button('button_move.gif', IMAGE_MOVE) . '');
+ $contents[] = array('align' => 'center', 'text' => '' . tep_image_button('button_edit.gif', IMAGE_EDIT) . ' ' . tep_image_button('button_delete.gif', IMAGE_DELETE) . ' ' . tep_image_button('button_move.gif', IMAGE_MOVE) . '');
$contents[] = array('text' => '
' . TEXT_DATE_ADDED . ' ' . tep_date_short($cInfo->date_added));
if (tep_not_null($cInfo->last_modified)) $contents[] = array('text' => TEXT_LAST_MODIFIED . ' ' . tep_date_short($cInfo->last_modified));
$contents[] = array('text' => '
' . tep_info_image($cInfo->categories_image, $cInfo->categories_name, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT) . '
' . $cInfo->categories_image);