} if (count($_from)) { foreach ($_from as $this->_tpl_vars['entry']) { ?> <div id="post-<?php echo $this->_tpl_vars['entry']['id']; ?> " class="post"> <div class="PostHead"> <div class="PostTime"> <b><?php echo serendipity_smarty_formatTime($this->_tpl_vars['entry']['timestamp'], '%d'); ?> </b> <i><?php echo serendipity_smarty_formatTime($this->_tpl_vars['entry']['timestamp'], '%b %Y'); ?> </i> </div> <h2><a title="Permanent Link: <?php echo $this->_tpl_vars['entry']['title']; ?> " href="<?php echo $this->_tpl_vars['entry']['link']; ?> " rel="bookmark"><?php echo $this->_tpl_vars['entry']['title']; ?> </a><?php if ($this->_tpl_vars['dategroup']['is_sticky']) {
<b><?php echo @DATE; ?> :</b> </td> <td> <input type="hidden" name="serendipity[chk_timestamp]" value="<?php echo $this->_tpl_vars['entry_vars']['timestamp']; ?> " /> <input class="input_textbox" type="text" name="serendipity[new_timestamp]" id="serendipityNewTimestamp" value="<?php echo serendipity_smarty_formatTime($this->_tpl_vars['entry_vars']['timestamp'], 'DATE_FORMAT_2', true, false, true); ?> " /> <a href="#" onclick="document.getElementById('serendipityNewTimestamp').value = '<?php echo serendipity_smarty_formatTime($this->_tpl_vars['entry_vars']['reset_timestamp'], 'DATE_FORMAT_2', true, false, true); ?> '; return false;" title="<?php echo @RESET_DATE_DESC; ?> "><img src="<?php echo serendipity_smarty_getFile(array('file' => 'admin/img/clock.png'), $this); ?> " border="0" style="vertical-align: text-top;" alt="<?php echo @RESET_DATE; ?> " /></a> </td> <td align="right"> <?php } else {
<?php $_from = $this->_tpl_vars['plugin_calendar_dow']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if (count($_from)) { foreach ($_from as $this->_tpl_vars['dow']) { ?> <td scope="col" abbr="<?php echo serendipity_smarty_formatTime($this->_tpl_vars['dow']['date'], "%A", false); ?> " title="<?php echo serendipity_smarty_formatTime($this->_tpl_vars['dow']['date'], "%A", false); ?> " class="serendipity_weekDayName" align="center"><?php echo serendipity_smarty_formatTime($this->_tpl_vars['dow']['date'], "%a", false); ?> </td> <?php } } unset($_from); ?> </tr> <?php $_from = $this->_tpl_vars['plugin_calendar_weeks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if (count($_from)) {
echo serendipity_smarty_formatTime($this->_tpl_vars['dow']['date'], "%A", false); ?> " class="serendipity_weekDayName" align="center"><?php echo smarty_modifier_truncate(serendipity_smarty_formatTime($this->_tpl_vars['dow']['date'], "%a", false), 2, '', true); ?> </th> <?php } } unset($_from); ?> </tr> </thead> <tfoot class="serendipity_calendarHeader"> <tr><td id="today" scope="col" colspan="7"><?php echo serendipity_smarty_formatTime(time(), $this->_tpl_vars['template_option']['date_format']); ?> </td></tr> </tfoot> <tbody> <?php $_from = $this->_tpl_vars['plugin_calendar_weeks']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if (count($_from)) { foreach ($_from as $this->_tpl_vars['week']) { ?> <tr class="serendipity_calendar <?php echo smarty_function_cycle(array('values' => "row1, row2, row3, row4, row5, row6"), $this); ?>
?> </a><?php } ?> says:</cite> <small class="commentmetadata"><a href="#comment-<?php echo $this->_tpl_vars['comment']['id']; ?> "><?php echo serendipity_smarty_formatTime($this->_tpl_vars['comment']['timestamp'], @DATE_FORMAT_ENTRY); ?> <?php echo @AT; ?> <?php echo serendipity_smarty_formatTime($this->_tpl_vars['comment']['timestamp'], '%H:%M'); ?> </a></small> </div> </li> <li> <?php if ($this->_tpl_vars['comment']['body'] == 'COMMENT_DELETED') { ?> <p><?php echo @COMMENT_IS_DELETED; ?> </p> <?php } else { ?>
?> ><?php echo smarty_modifier_default(@$this->_tpl_vars['trackback']['author'], @ANONYMOUS); ?> </a> says:</cite> <small class="commentmetadata"><a href="#comment-<?php echo $this->_tpl_vars['trackback']['id']; ?> "><?php echo serendipity_smarty_formatTime($this->_tpl_vars['trackback']['timestamp'], @DATE_FORMAT_ENTRY); ?> <?php echo @AT; ?> <?php echo serendipity_smarty_formatTime($this->_tpl_vars['trackback']['timestamp'], '%H:%M'); ?> </a></small> </div> </li> <li><h4><?php echo $this->_tpl_vars['trackback']['title']; ?> </h4> <?php echo smarty_modifier_escape(smarty_modifier_strip_tags($this->_tpl_vars['trackback']['body']), 'all'); ?> </li> <?php }