1<?php 2/** 3 * default entry template 4 * 5 * This template is used to display a single entry when the 'default' 6 * blog was chosen from the dropdown on editing a page. 7 * 8 * It displays the entry and adds comments and navigational elements. 9 * 10 * @var helper_plugin_blogtng_entry $entry 11 */ 12?> 13<div class="blogtng_entry"> 14 <div class="blogtng_postnavigation level1"> 15 <?php if ($link = $entry->tpl_previouslink('« @TITLE@', $entry->entry['page'], true)) { ?> 16 <div class="blogtng_prevlink"> 17 <?php echo $link?> 18 </div> 19 <?php } ?> 20 <?php if ($link = $entry->tpl_nextlink('@TITLE@ »', $entry->entry['page'], true)) { ?> 21 <div class="blogtng_nextlink"> 22 <?php echo $link?> 23 </div> 24 <?php } ?> 25 </div> 26 <?php $entry->tpl_entry(true, false, false) ?> 27 <div class="blogtng_footer level1"> 28 <?php 29 global $lang; 30 global $conf; 31 echo $this->getLang('created').": ";$entry->tpl_created($conf['dformat']);echo ", "; 32 if ($entry->entry['created'] != $entry->entry['lastmod']) { 33 echo $lang['lastmod'].": ";$entry->tpl_lastmodified($conf['dformat']);echo ", "; 34 } 35 echo $this->getLang('author').": ";$entry->tpl_author(); 36 if ($entry->has_tags()) { 37 echo ", "; 38 echo $this->getLang('tags').": ";$entry->tpl_tags(''); 39 } 40 ?> 41 </div> 42 <?php if ($entry->entry['commentstatus'] != 'disabled') {?> 43 <h2 id="the__comments"><?php echo $this->getLang('comments');?></h2> 44 <div class="level2"> 45 <?php $entry->tpl_comments(basename(dirname(__FILE__))) ?> 46 <?php $entry->tpl_commentform() ?> 47 </div> 48 <?php } ?> 49</div> 50