mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 20:16:22 +05:30
Fixed Issue #81
This commit is contained in:
parent
f50fbda383
commit
3597a26f28
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<h2 class="post-index"><?php echo $heading?></h2>
|
||||
<?php if(!empty($posts)) {?>
|
||||
<table class="post-list">
|
||||
<tr class="head"><th>Title</th><th>Published</th><th>Views</th><th>Tag</th><th>Operations</th></tr>
|
||||
<tr class="head"><th>Title</th><th>Published</th><?php if(config("views.counter") == "true"):?><th>Views</th><?php endif; ?><th>Tag</th><th>Operations</th></tr>
|
||||
<?php $i = 0; $len = count($posts);?>
|
||||
<?php foreach($posts as $p):?>
|
||||
<?php
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
<tr class="<?php echo $class ?>">
|
||||
<td><a target="_blank" href="<?php echo $p->url ?>"><?php echo $p->title ?></a></td>
|
||||
<td><?php echo date('d F Y', $p->date) ?></td>
|
||||
<td><?php echo $p->views ?></td>
|
||||
<?php if(config("views.counter") == "true"):?><td><?php echo $p->views ?></td><?php endif;?>
|
||||
<td><?php echo $p->tag ?></td>
|
||||
<td><a href="<?php echo $p->url ?>/edit?destination=admin/mine">Edit</a> <a href="<?php echo $p->url ?>/delete?destination=admin/mine">Delete</a></td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue