diff options
author | Thomas Lange <code@nerdmind.de> | 2024-11-21 20:59:05 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2024-11-21 21:27:03 +0100 |
commit | 5ccca11a448ea315a6e64453e630694ba2c20e66 (patch) | |
tree | d29b46acc6ade8c3d94e272695122e7d1c611bf6 /theme/admin/html/main.php | |
parent | 52cb2b8aef3ba86e4abe551a3df9831d347e948e (diff) | |
download | blog-5ccca11a448ea315a6e64453e630694ba2c20e66.tar.gz blog-5ccca11a448ea315a6e64453e630694ba2c20e66.tar.xz blog-5ccca11a448ea315a6e64453e630694ba2c20e66.zip |
Rename "rsrc" directories to "static"
Stop using "rsrc" as name for the directories which contain static files
and rename them to "static". This affects the global static directory
and the static sub-directories in the theme directories.
If you've stored your own files in the old global "rsrc" directory, you
must move them to the new "static" directory.
Diffstat (limited to 'theme/admin/html/main.php')
-rw-r--r-- | theme/admin/html/main.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/theme/admin/html/main.php b/theme/admin/html/main.php index 2035b47..c6fe12c 100644 --- a/theme/admin/html/main.php +++ b/theme/admin/html/main.php @@ -19,8 +19,8 @@ $theme = isset($_COOKIE['dark_mode']) ? 'dark' : 'bright'; <meta charset="UTF-8"> <meta name="referrer" content="origin-when-crossorigin"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <link rel="stylesheet" href="<?=Application::getTemplateURL("rsrc/css/$theme.css")?>"> - <script defer src="<?=Application::getTemplateURL('rsrc/main.js')?>"></script> + <link rel="stylesheet" href="<?=Application::getTemplateURL("static/css/$theme.css")?>"> + <script defer src="<?=Application::getTemplateURL('static/main.js')?>"></script> <title><?=escapeHTML($NAME)?> | Administration</title> </head> <body> @@ -28,7 +28,7 @@ $theme = isset($_COOKIE['dark_mode']) ? 'dark' : 'bright'; <div class="header-line background"> <div class="header-content"> <a href="<?=Application::getURL()?>"> - <img id="header-logo" src="<?=Application::getTemplateURL('rsrc/icon-public-domain.svg')?>" alt="Administration"> + <img id="header-logo" src="<?=Application::getTemplateURL('static/icon-public-domain.svg')?>" alt="Administration"> </a> <div id="header-text"><?=escapeHTML($BLOGMETA['NAME'])?></div> <div id="header-desc"><?=escapeHTML($BLOGMETA['DESC'])?></div> |