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/category | |
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/category')
-rw-r--r-- | theme/admin/html/category/update.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/theme/admin/html/category/update.php b/theme/admin/html/category/update.php index fefaa18..d6634a7 100644 --- a/theme/admin/html/category/update.php +++ b/theme/admin/html/category/update.php @@ -1,6 +1,10 @@ <main id="main-content"> <h1><i class="fa fa-pencil-square-o"></i><?=$Language->text('update_category')?></h1> -<p><?=$Language->text('update_category_desc')?></p> +<p class="actions-before"><?=$Language->text('update_category_desc')?></p> +<ul class="actions"> + <li><a href="<?=$CATEGORY['URL']?>" title="<?=$Language->text('select_category')?>"><i class="fa fa-external-link"></i><?=$Language->text('select')?></a></li> + <li><a href="<?=Application::getAdminURL("category/delete.php?id={$CATEGORY['ATTR']['ID']}")?>" title="<?=$Language->text('delete_category')?>"><i class="fa fa-trash-o"></i><?=$Language->text('delete')?></a></li> +</ul> <?=$HTML?> </main> |