diff -r b3cfaf0a505c -r 39c132e69781 includes/functions.php --- a/includes/functions.php Sun Nov 25 17:53:03 2007 -0500 +++ b/includes/functions.php Wed Nov 28 14:46:03 2007 -0500 @@ -552,94 +552,6 @@ * Prints out the categorization box found on most regular pages. Doesn't take or return anything, but assumes that the page information is already set in $paths. */ - /* -function show_category_info() -{ - global $db, $session, $paths, $template, $plugins; // Common objects - dc_here('functions: showing category info'); - // if($template->no_headers && !strpos($_SERVER['REQUEST_URI'], 'ajax.php')) return ''; - if ( $paths->namespace == 'Category' ) - { - $q = $db->sql_query('SELECT page_id,namespace FROM '.table_prefix.'categories WHERE category_id=\''.$paths->cpage['urlname_nons'].'\' AND namespace=\'Category\' ORDER BY page_id;'); - if(!$q) $db->_die('The category information could not be selected.'); - $ticker = -1; - echo '
There are no subcategories in this category.
'; - echo '' . htmlspecialchars($paths->pages[$paths->nslist[$row['namespace']].$row['page_id']]['name']) . ' | '; - if ( $ticker == 2 ) - { - echo '
There are no pages in this category.
'; - } - echo ''.htmlspecialchars($paths->pages[$paths->nslist[$row['namespace']].$row['page_id']]['name']).' | '; - if ( $ticker == 2 ) - { - echo '