]> git.mjollnir.org Git - s9y.git/commitdiff
Unbreak: Remember to open the <ul> tag (since we close it later)
authortomsommer <tomsommer>
Fri, 3 Feb 2006 14:50:46 +0000 (14:50 +0000)
committertomsommer <tomsommer>
Fri, 3 Feb 2006 14:50:46 +0000 (14:50 +0000)
include/plugin_internal.inc.php

index ed4a41aabd4ac6f0d309f0322afbe245a8e9506f..3f1193d93e7ed891dff7416e24b8cc5892578822 100644 (file)
@@ -480,7 +480,7 @@ class serendipity_archives_plugin extends serendipity_plugin {
                         $end_ts = $current_ts + (24 * 60 * 60) - 1;
                         break;
                 }
-                
+
                 $ec = serendipity_fetchEntries(
                     array($current_ts, $end_ts),
                     false,
@@ -495,7 +495,7 @@ class serendipity_archives_plugin extends serendipity_plugin {
                     '',
                     'single'
                 );
-                
+
                 if (is_array($ec)) {
                     if (empty($ec['orderkey'])) {
                         $ec['orderkey'] = '0';
@@ -1403,8 +1403,10 @@ class serendipity_categories_plugin extends serendipity_plugin {
 
         if (!$smarty && $is_form) {
             $html .= '<form action="' . $serendipity['baseURL'] . $serendipity['indexFile'] . '" method="post">
-              <div id="serendipity_category_form_content">
-              <ul id="serendipity_categories_list" style="list-style: none; margin: 0px; padding: 0px">';
+              <div id="serendipity_category_form_content">';
+        }
+        if (!$smarty) {
+            $html .= '<ul id="serendipity_categories_list" style="list-style: none; margin: 0px; padding: 0px">';
         }
 
         $image = $this->get_config('image', serendipity_getTemplateFile('img/xml.gif'));
@@ -1484,7 +1486,7 @@ class serendipity_categories_plugin extends serendipity_plugin {
         if (!$smarty) {
             $html .= '</ul>';
         }
-        
+
         if (!$smarty && $is_form) {
             $html .= '<div class="category_submit"><br /><input type="submit" name="serendipity[isMultiCat]" value="' . GO . '" /></div>';
         }