$end_ts = $current_ts + (24 * 60 * 60) - 1;
break;
}
-
+
$ec = serendipity_fetchEntries(
array($current_ts, $end_ts),
false,
'',
'single'
);
-
+
if (is_array($ec)) {
if (empty($ec['orderkey'])) {
$ec['orderkey'] = '0';
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'));
if (!$smarty) {
$html .= '</ul>';
}
-
+
if (!$smarty && $is_form) {
$html .= '<div class="category_submit"><br /><input type="submit" name="serendipity[isMultiCat]" value="' . GO . '" /></div>';
}