aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-09-15 00:29:11 +0200
committerThomas Lange <code@nerdmind.de>2017-09-15 00:29:11 +0200
commitddc0ab932c5629b0f4f6ae5fe8466fb20d7f3e32 (patch)
tree81211318608b4aa8d1ae37106003b40d85a260cd
parent3180d399f20d6e7bec41cf986cfbf8e1aafa3587 (diff)
downloadblog-ddc0ab932c5629b0f4f6ae5fe8466fb20d7f3e32.tar.gz
blog-ddc0ab932c5629b0f4f6ae5fe8466fb20d7f3e32.tar.xz
blog-ddc0ab932c5629b0f4f6ae5fe8466fb20d7f3e32.zip
An invisible text has been added to each action icon in the item list of the admin template so that users who do not have CSS enabled or using a web browser such as "Lynx" are able to understand and click the links (instead of seeing an empty and unclickable list item with no further information).
-rw-r--r--template/admin/html/page/item.php6
-rw-r--r--template/admin/html/post/item.php6
-rw-r--r--template/admin/html/user/item.php6
-rw-r--r--template/admin/rsrc/main.css2
4 files changed, 10 insertions, 10 deletions
diff --git a/template/admin/html/page/item.php b/template/admin/html/page/item.php
index 156824b..4fa1375 100644
--- a/template/admin/html/page/item.php
+++ b/template/admin/html/page/item.php
@@ -20,9 +20,9 @@
<footer>
<ul>
- <li><a href="<?=$PAGE['URL']?>" target="_blank" title="<?=$Language->text('select_page')?>"><i class="fa fa-external-link"></i></a></li>
- <li><a href="<?=Application::getAdminURL("page/update.php?id={$PAGE['ATTR']['ID']}")?>" title="<?=$Language->text('update_page')?>"><i class="fa fa-pencil-square-o"></i></a></li>
- <li><a href="<?=Application::getAdminURL("page/delete.php?id={$PAGE['ATTR']['ID']}")?>" title="<?=$Language->text('delete_page')?>"><i class="fa fa-trash-o"></i></a></li>
+ <li><a href="<?=$PAGE['URL']?>" target="_blank" title="<?=$Language->text('select_page')?>"><i class="fa fa-external-link"></i><span class="hidden"><?=$Language->text('select_page')?></span></a></li>
+ <li><a href="<?=Application::getAdminURL("page/update.php?id={$PAGE['ATTR']['ID']}")?>" title="<?=$Language->text('update_page')?>"><i class="fa fa-pencil-square-o"></i><span class="hidden"><?=$Language->text('update_page')?></span></a></li>
+ <li><a href="<?=Application::getAdminURL("page/delete.php?id={$PAGE['ATTR']['ID']}")?>" title="<?=$Language->text('delete_page')?>"><i class="fa fa-trash-o"></i><span class="hidden"><?=$Language->text('delete_page')?></span></a></li>
</ul>
</footer>
</article> \ No newline at end of file
diff --git a/template/admin/html/post/item.php b/template/admin/html/post/item.php
index 6707e81..03657b5 100644
--- a/template/admin/html/post/item.php
+++ b/template/admin/html/post/item.php
@@ -20,9 +20,9 @@
<footer>
<ul>
- <li><a href="<?=$POST['URL']?>" target="_blank" title="<?=$Language->text('select_post')?>"><i class="fa fa-external-link"></i></a></li>
- <li><a href="<?=Application::getAdminURL("post/update.php?id={$POST['ATTR']['ID']}")?>" title="<?=$Language->text('update_post')?>"><i class="fa fa-pencil-square-o"></i></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></a></li>
+ <li><a href="<?=$POST['URL']?>" target="_blank" title="<?=$Language->text('select_post')?>"><i class="fa fa-external-link"></i><span class="hidden"><?=$Language->text('select_post')?></span></a></li>
+ <li><a href="<?=Application::getAdminURL("post/update.php?id={$POST['ATTR']['ID']}")?>" title="<?=$Language->text('update_post')?>"><i class="fa fa-pencil-square-o"></i><span class="hidden"><?=$Language->text('update_post')?></span></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><span class="hidden"><?=$Language->text('delete_post')?></span></a></li>
</ul>
</footer>
</article> \ No newline at end of file
diff --git a/template/admin/html/user/item.php b/template/admin/html/user/item.php
index 1575bf7..f341359 100644
--- a/template/admin/html/user/item.php
+++ b/template/admin/html/user/item.php
@@ -19,9 +19,9 @@
<footer>
<ul>
- <li><a href="<?=$USER['URL']?>" target="_blank" title="<?=$Language->text('select_user')?>"><i class="fa fa-external-link"></i></a></li>
- <li><a href="<?=Application::getAdminURL("user/update.php?id={$USER['ATTR']['ID']}")?>" title="<?=$Language->text('update_user')?>"><i class="fa fa-pencil-square-o"></i></a></li>
- <li><a href="<?=Application::getAdminURL("user/delete.php?id={$USER['ATTR']['ID']}")?>" title="<?=$Language->text('delete_user')?>"><i class="fa fa-trash-o"></i></a></li>
+ <li><a href="<?=$USER['URL']?>" target="_blank" title="<?=$Language->text('select_user')?>"><i class="fa fa-external-link"></i><span class="hidden"><?=$Language->text('select_user')?></span></a></li>
+ <li><a href="<?=Application::getAdminURL("user/update.php?id={$USER['ATTR']['ID']}")?>" title="<?=$Language->text('update_user')?>"><i class="fa fa-pencil-square-o"></i><span class="hidden"><?=$Language->text('update_user')?></span></a></li>
+ <li><a href="<?=Application::getAdminURL("user/delete.php?id={$USER['ATTR']['ID']}")?>" title="<?=$Language->text('delete_user')?>"><i class="fa fa-trash-o"></i><span class="hidden"><?=$Language->text('delete_user')?></span></a></li>
</ul>
</footer>
</article> \ No newline at end of file
diff --git a/template/admin/rsrc/main.css b/template/admin/rsrc/main.css
index 5c07926..26b618a 100644
--- a/template/admin/rsrc/main.css
+++ b/template/admin/rsrc/main.css
@@ -106,6 +106,7 @@ img{border:none;max-width:100%;}
.blue{color:#40779A;}
.green{color:#008B45;}
.right{float:right;}
+.hidden{display:none;}
#database-result{color:inherit;}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
@@ -186,7 +187,6 @@ form{border:0.05rem solid #AAA;}
#content-editor{border:none;margin:0;}
-
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* Form elements
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/