aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/user
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/user
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/user')
-rw-r--r--theme/admin/html/user/update.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/theme/admin/html/user/update.php b/theme/admin/html/user/update.php
index ad12677..d5511a4 100644
--- a/theme/admin/html/user/update.php
+++ b/theme/admin/html/user/update.php
@@ -1,6 +1,10 @@
<main id="main-content">
<h1><i class="fa fa-pencil-square-o"></i><?=$Language->text('update_user')?></h1>
-<p><?=$Language->text('update_user_desc')?></p>
+<p class="actions-before"><?=$Language->text('update_user_desc')?></p>
+<ul class="actions">
+ <li><a href="<?=$USER['URL']?>" title="<?=$Language->text('select_user')?>"><i class="fa fa-external-link"></i><?=$Language->text('select')?></a></li>
+ <li><a href="<?=Application::getAdminURL("user/delete.php?id={$USER['ATTR']['ID']}")?>" title="<?=$Language->text('delete_user')?>"><i class="fa fa-trash-o"></i><?=$Language->text('delete')?></a></li>
+</ul>
<?=$HTML?>
</main>