aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/page/update.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-08-09 21:22:47 +0200
committerThomas Lange <code@nerdmind.de>2021-08-09 21:25:18 +0200
commitca38821a3eab237bd55d2df34346b419ec36804c (patch)
tree053e73fe2dd9b64e9826441431999e0ae30e95a4 /theme/admin/html/page/update.php
parentddceeb093b6cad9aae3f49e6618118a3277b0b07 (diff)
downloadblog-ca38821a3eab237bd55d2df34346b419ec36804c.tar.gz
blog-ca38821a3eab237bd55d2df34346b419ec36804c.tar.xz
blog-ca38821a3eab237bd55d2df34346b419ec36804c.zip
Show action button list in entity update template
Add a link to the current entity on the website and a link to the entity delete form in the administration area's update.php templates.
Diffstat (limited to 'theme/admin/html/page/update.php')
-rw-r--r--theme/admin/html/page/update.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/theme/admin/html/page/update.php b/theme/admin/html/page/update.php
index ce51d2a..7f2437a 100644
--- a/theme/admin/html/page/update.php
+++ b/theme/admin/html/page/update.php
@@ -1,6 +1,10 @@
<main id="main-content">
<h1><i class="fa fa-pencil-square-o"></i><?=$Language->text('update_page')?></h1>
-<p><?=$Language->text('update_page_desc')?></p>
+<p class="actions-before"><?=$Language->text('update_page_desc')?></p>
+<ul class="actions">
+ <li><a href="<?=$PAGE['URL']?>" title="<?=$Language->text('select_page')?>"><i class="fa fa-external-link"></i><?=$Language->text('select')?></a></li>
+ <li><a href="<?=Application::getAdminURL("page/delete.php?id={$PAGE['ATTR']['ID']}")?>" title="<?=$Language->text('delete_page')?>"><i class="fa fa-trash-o"></i><?=$Language->text('delete')?></a></li>
+</ul>
<?=$HTML?>
</main>