aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-23 15:31:21 +0200
committerThomas Lange <code@nerdmind.de>2021-06-23 15:31:21 +0200
commit40bd9ebb0fa5e566a8da1c8345259b1f922d9fec (patch)
treea7a46abdffa259f11b30d2690011138d45ecc594
parent43d3987bbd7b77fab709acd19328bbcc9638a143 (diff)
downloadblog-40bd9ebb0fa5e566a8da1c8345259b1f922d9fec.tar.gz
blog-40bd9ebb0fa5e566a8da1c8345259b1f922d9fec.tar.xz
blog-40bd9ebb0fa5e566a8da1c8345259b1f922d9fec.zip
Show custom title and description in admin header
-rw-r--r--theme/admin/html/main.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/theme/admin/html/main.php b/theme/admin/html/main.php
index 699a742..a7772ed 100644
--- a/theme/admin/html/main.php
+++ b/theme/admin/html/main.php
@@ -15,8 +15,8 @@
<a href="<?=Application::getURL()?>">
<img id="header-logo" src="<?=Application::getTemplateURL('rsrc/icon-public-domain.svg')?>" alt="Administration" />
</a>
- <div id="header-text">Administration</div>
- <div id="header-desc">PHP7 blogging application by <span>Nerdmind</span>!</div>
+ <div id="header-text"><?=escapeHTML($BLOGMETA['NAME'])?></div>
+ <div id="header-desc"><?=escapeHTML($BLOGMETA['DESC'])?></div>
</div>
</div>
<div class="header-line">