diff options
author | Thomas Lange <code@nerdmind.de> | 2021-08-09 21:22:47 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-08-09 21:25:18 +0200 |
commit | ca38821a3eab237bd55d2df34346b419ec36804c (patch) | |
tree | 053e73fe2dd9b64e9826441431999e0ae30e95a4 /theme/admin/html/post | |
parent | ddceeb093b6cad9aae3f49e6618118a3277b0b07 (diff) | |
download | blog-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/post')
-rw-r--r-- | theme/admin/html/post/update.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/theme/admin/html/post/update.php b/theme/admin/html/post/update.php index aa3835d..28635ea 100644 --- a/theme/admin/html/post/update.php +++ b/theme/admin/html/post/update.php @@ -1,6 +1,10 @@ <main id="main-content"> <h1><i class="fa fa-pencil-square-o"></i><?=$Language->text('update_post')?></h1> -<p><?=$Language->text('update_post_desc')?></p> +<p class="actions-before"><?=$Language->text('update_post_desc')?></p> +<ul class="actions"> + <li><a href="<?=$POST['URL']?>" title="<?=$Language->text('select_post')?>"><i class="fa fa-external-link"></i><?=$Language->text('select')?></a></li> + <li><a href="<?=Application::getAdminURL("post/delete.php?id={$POST['ATTR']['ID']}")?>" title="<?=$Language->text('delete_post')?>"><i class="fa fa-trash-o"></i><?=$Language->text('delete')?></a></li> +</ul> <?=$HTML?> </main> |