mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +05:30
Updates
This commit is contained in:
parent
7d0865fdab
commit
6d359f590f
2 changed files with 3 additions and 3 deletions
|
|
@ -47,7 +47,7 @@ $(function() {
|
|||
<?php $dr = find_draft_subpage($p->slug);?>
|
||||
<tr id="<?php echo $p->md;?>" class="sort-item" style="cursor:move;">
|
||||
<td><a href="<?php echo site_url();?>admin/pages/<?php echo $p->slug;?>"><?php echo $p->title;?></a></td>
|
||||
<td><?php echo $p->views;?></td>
|
||||
<?php if (config("views.counter") == "true"):?><td><?php echo $p->views;?></td><?php endif;?>
|
||||
<td><a class="btn btn-primary btn-xs" href="<?php echo site_url();?>admin/pages/<?php echo $p->slug;?>"><?php echo i18n('page');?> <?php echo i18n('settings');?></a> <a class="btn btn-primary btn-xs" href="<?php echo $p->url;?>/add?destination=admin/pages/<?php echo $p->slug;?>"><?php echo i18n('Add_sub');?></a> <a class="btn btn-primary btn-xs" href="<?php echo $p->url;?>/edit?destination=admin/pages"><?php echo i18n('Edit');?></a> <?php if (empty($dd) && empty($dr)):?><a class="btn btn-danger btn-xs" href="<?php echo $p->url;?>/delete?destination=admin/pages"><?php echo i18n('Delete');?></a><?php endif;?></td>
|
||||
<td>
|
||||
<?php foreach ($dd as $sp):?>
|
||||
|
|
@ -55,7 +55,7 @@ $(function() {
|
|||
<div class="col-sm">
|
||||
<span><a target="_blank" href="<?php echo $sp->url;?>"><?php echo $sp->title;?></a></span>
|
||||
</div>
|
||||
<div class="col-sm"><i class="fa fa-line-chart" aria-hidden="true"></i> <?php echo $sp->views;?></div>
|
||||
<?php if (config("views.counter") == "true"):?><div class="col-sm"><i class="fa fa-line-chart" aria-hidden="true"></i> <?php echo $sp->views;?></div><?php endif;?>
|
||||
<div class="col-sm">
|
||||
<span><a class="btn btn-primary btn-xs" href="<?php echo $sp->url;?>/edit?destination=admin/pages/<?php echo $sp->parentSlug;?>"><?php echo i18n('Edit');?></a> <a class="btn btn-danger btn-xs" href="<?php echo $sp->url;?>/delete?destination=admin/pages/<?php echo $sp->parentSlug;?>"><?php echo i18n('Delete');?></a></span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ $(function() {
|
|||
<tr id="<?php echo $sp->parent;?>/<?php echo $sp->md;?>" style="cursor:move;">
|
||||
<td><a href="<?php echo $sp->url ?>"><?php echo $sp->title ?></a></td>
|
||||
<td><?php echo $sp->description;?></td>
|
||||
<td><?php echo $sp->views;?></td>
|
||||
<?php if (config("views.counter") == "true"):?><td><?php echo $sp->views;?></td><?php endif;?>
|
||||
<td><span><a class="btn btn-primary btn-xs" href="<?php echo $sp->url;?>/edit?destination=admin/pages/<?php echo $static->slug;?>"><?php echo i18n('Edit');?></a> <a class="btn btn-danger btn-xs" href="<?php echo $sp->url;?>/delete?destination=admin/pages/<?php echo $static->slug;?>"><?php echo i18n('Delete');?></a></span></td>
|
||||
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue