diff options
author | Thomas Lange <code@nerdmind.de> | 2021-08-09 21:33:01 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-08-09 21:36:52 +0200 |
commit | 71ce4376699100af7f9263f96913a6497c4ad566 (patch) | |
tree | 821f78beabba3d88131d84fe36b0118a09425c08 /theme/admin | |
parent | ca38821a3eab237bd55d2df34346b419ec36804c (diff) | |
download | blog-71ce4376699100af7f9263f96913a6497c4ad566.tar.gz blog-71ce4376699100af7f9263f96913a6497c4ad566.tar.xz blog-71ce4376699100af7f9263f96913a6497c4ad566.zip |
Show ID in the heading of the update template
Show the current entity ID right-floated in the update.php templates.
Diffstat (limited to 'theme/admin')
-rw-r--r-- | theme/admin/html/category/update.php | 5 | ||||
-rw-r--r-- | theme/admin/html/page/update.php | 5 | ||||
-rw-r--r-- | theme/admin/html/post/update.php | 5 | ||||
-rw-r--r-- | theme/admin/html/user/update.php | 5 |
4 files changed, 16 insertions, 4 deletions
diff --git a/theme/admin/html/category/update.php b/theme/admin/html/category/update.php index d6634a7..6abc8d5 100644 --- a/theme/admin/html/category/update.php +++ b/theme/admin/html/category/update.php @@ -1,5 +1,8 @@ <main id="main-content"> -<h1><i class="fa fa-pencil-square-o"></i><?=$Language->text('update_category')?></h1> +<h1> + <span class="item-id">#<?=$CATEGORY['ATTR']['ID']?></span> + <i class="fa fa-pencil-square-o"></i><?=$Language->text('update_category')?> +</h1> <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> diff --git a/theme/admin/html/page/update.php b/theme/admin/html/page/update.php index 7f2437a..807e359 100644 --- a/theme/admin/html/page/update.php +++ b/theme/admin/html/page/update.php @@ -1,5 +1,8 @@ <main id="main-content"> -<h1><i class="fa fa-pencil-square-o"></i><?=$Language->text('update_page')?></h1> +<h1> + <span class="item-id">#<?=$PAGE['ATTR']['ID']?></span> + <i class="fa fa-pencil-square-o"></i><?=$Language->text('update_page')?> +</h1> <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> diff --git a/theme/admin/html/post/update.php b/theme/admin/html/post/update.php index 28635ea..55a90d9 100644 --- a/theme/admin/html/post/update.php +++ b/theme/admin/html/post/update.php @@ -1,5 +1,8 @@ <main id="main-content"> -<h1><i class="fa fa-pencil-square-o"></i><?=$Language->text('update_post')?></h1> +<h1> + <span class="item-id">#<?=$POST['ATTR']['ID']?></span> + <i class="fa fa-pencil-square-o"></i><?=$Language->text('update_post')?> +</h1> <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> diff --git a/theme/admin/html/user/update.php b/theme/admin/html/user/update.php index d5511a4..cc2bc3e 100644 --- a/theme/admin/html/user/update.php +++ b/theme/admin/html/user/update.php @@ -1,5 +1,8 @@ <main id="main-content"> -<h1><i class="fa fa-pencil-square-o"></i><?=$Language->text('update_user')?></h1> +<h1> + <span class="item-id">#<?=$USER['ATTR']['ID']?></span> + <i class="fa fa-pencil-square-o"></i><?=$Language->text('update_user')?> +</h1> <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> |