mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 21:16:23 +05:30
Update admin.php
This commit is contained in:
parent
22edd1569c
commit
48ba0fce9a
1 changed files with 2 additions and 2 deletions
|
|
@ -731,7 +731,7 @@ function get_user_pages()
|
||||||
echo '<td><a target="_blank" href="' . $p->url . '">' . $p->title . '</a></td>';
|
echo '<td><a target="_blank" href="' . $p->url . '">' . $p->title . '</a></td>';
|
||||||
if (config("views.counter") == "true")
|
if (config("views.counter") == "true")
|
||||||
echo '<td>' . $p->views . '</td>';
|
echo '<td>' . $p->views . '</td>';
|
||||||
echo '<td><a class="btn btn-primary btn-xs" href="' . $p->url . '/add?destination=admin">' . i18n('Add_sub') . '</a> <a class="btn btn-primary btn-xs" href="' . $p->url . '/edit?destination=admin">' . i18n('Edit') . '</a> <a class="btn btn-danger btn-xs" href="' . $p->url . '/delete?destination=admin">' . i18n('Delete') . '</a></td>';
|
echo '<td><a class="btn btn-primary btn-xs" href="' . $p->url . '/add?destination=admin/pages">' . i18n('Add_sub') . '</a> <a class="btn btn-primary btn-xs" href="' . $p->url . '/edit?destination=admin/pages">' . i18n('Edit') . '</a> <a class="btn btn-danger btn-xs" href="' . $p->url . '/delete?destination=admin/pages">' . i18n('Delete') . '</a></td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
|
|
||||||
$shortUrl = substr($p->url, strrpos($p->url, "/") + 1);
|
$shortUrl = substr($p->url, strrpos($p->url, "/") + 1);
|
||||||
|
|
@ -742,7 +742,7 @@ function get_user_pages()
|
||||||
echo '<td> <span style="margin-left:30px;">» <a target="_blank" href="' . $sp->url . '">' . $sp->title . '</a></span></td>';
|
echo '<td> <span style="margin-left:30px;">» <a target="_blank" href="' . $sp->url . '">' . $sp->title . '</a></span></td>';
|
||||||
if (config("views.counter") == "true")
|
if (config("views.counter") == "true")
|
||||||
echo '<td>' . $sp->views . '</td>';
|
echo '<td>' . $sp->views . '</td>';
|
||||||
echo '<td><a class="btn btn-primary btn-xs" href="' . $sp->url . '/edit?destination=admin">' . i18n('Edit') . '</a> <a class="btn btn-danger btn-xs" href="' . $sp->url . '/delete?destination=admin">' . i18n('Delete') . '</a></td>';
|
echo '<td><a class="btn btn-primary btn-xs" href="' . $sp->url . '/edit?destination=admin/pages">' . i18n('Edit') . '</a> <a class="btn btn-danger btn-xs" href="' . $sp->url . '/delete?destination=admin/pages">' . i18n('Delete') . '</a></td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue