tomsommer at BerliOS | 3 Feb 2006 15:50
Picon

r899 - trunk/include

Author: tomsommer
Date: 2006-02-03 15:50:46 +0100 (Fri, 03 Feb 2006)
New Revision: 899

Modified:
   trunk/include/plugin_internal.inc.php
Log:
Unbreak: Remember to open the <ul> tag (since we close it later)

Modified: trunk/include/plugin_internal.inc.php
===================================================================
--- trunk/include/plugin_internal.inc.php	2006-02-02 08:45:43 UTC (rev 898)
+++ trunk/include/plugin_internal.inc.php	2006-02-03 14:50:46 UTC (rev 899)
 <at>  <at>  -480,7 +480,7  <at>  <at> 
                         $end_ts = $current_ts + (24 * 60 * 60) - 1;
                         break;
                 }
-                
+
                 $ec = serendipity_fetchEntries(
                     array($current_ts, $end_ts),
                     false,
 <at>  <at>  -495,7 +495,7  <at>  <at> 
                     '',
                     'single'
                 );
-                
+
                 if (is_array($ec)) {
                     if (empty($ec['orderkey'])) {
                         $ec['orderkey'] = '0';
 <at>  <at>  -1403,9 +1403,11  <at>  <at> 

         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'));
         $image = (($image == "'none'" || $image == 'none') ? '' : $image);
 <at>  <at>  -1484,7 +1486,7  <at>  <at> 
         if (!$smarty) {
             $html .= '</ul>';
         }
-        
+
         if (!$smarty && $is_form) {
             $html .= '<div class="category_submit"><br /><input type="submit" name="serendipity[isMultiCat]"
value="' . GO . '" /></div>';
         }

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

Gmane