Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22379
Modified Files:
plugin_internal.inc.php
Log Message:
- Revert back to old Nested Category vs. XML Icon display style
Index: plugin_internal.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/plugin_internal.inc.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- plugin_internal.inc.php 22 Dec 2004 18:27:30 -0000 1.18
+++ plugin_internal.inc.php 28 Dec 2004 11:40:47 -0000 1.19
@@ -973,11 +973,11 @@
if (is_array($categories) && count($categories)) {
$categories = serendipity_walkRecursive($categories, 'categoryid', 'parentid', VIEWMODE_THREADED);
foreach ( $categories as $cat ) {
- $html .= '<div style="padding-bottom: 2px; padding-left: '. $cat['depth']*5 .'px">';
+ $html .= '<div style="padding-bottom: 2px;>';
if ( !empty($image) ) {
$html .= '<a href="'. $serendipity['serendipityHTTPPath'] . 'rss.php?category=' . $cat['categoryid'] .'"><img src="'. $image .'" alt="XML" border="0" style="vertical-align: bottom; display: inline; border: 0px" /></a> ';
}
- $html .= '<a href="'. serendipity_rewriteURL(PATH_CATEGORIES . '/' . serendipity_makePermalink(PERM_CATEGORIES, array('id' => $cat['categoryid'], 'title' => $cat['category_name'])), 'serendipityHTTPPath') .'" title="'. $cat['category_name'] .'">'. $cat['category_name'] .'</a>';
+ $html .= '<a href="'. serendipity_rewriteURL(PATH_CATEGORIES . '/' . serendipity_makePermalink(PERM_CATEGORIES, array('id' => $cat['categoryid'], 'title' => $cat['category_name'])), 'serendipityHTTPPath') .'" title="'. $cat['category_name'] .'" style="padding-left: '. $cat['depth']*6 .'px">'. $cat['category_name'] .'</a>';
$html .= '</div>' . "\n";
}
}
|