From aaf293b18da42e41cfcaed16d13f1d25157fd7cb Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sat, 9 Oct 2010 10:18:52 +0200 Subject: make the bookmark page valid xhtml --- data/templates/bookmarks.tpl.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'data/templates/bookmarks.tpl.php') diff --git a/data/templates/bookmarks.tpl.php b/data/templates/bookmarks.tpl.php index e32d3c9..29d7248 100644 --- a/data/templates/bookmarks.tpl.php +++ b/data/templates/bookmarks.tpl.php @@ -62,12 +62,16 @@ if($currenttag!= '' && $cdservice->getLastTagDescription($currenttag)) { } //common tag description edit -if($userservice->isLoggedOn()) { - if($currenttag!= '' && ($GLOBALS['enableCommonTagDescriptionEditedByAll'] || $currentUser->isAdmin())) { +if ($userservice->isLoggedOn()) { + if ($currenttag != '' + && ($GLOBALS['enableCommonTagDescriptionEditedByAll'] + || $currentUser->isAdmin() + ) + ) { echo ' '; echo !is_array($cDescription) || strlen($cDescription['cdDescription'])==0?T_('Edit the common description of this tag'):''; echo ' '; - } elseif(isset($hash)) { + } else if (isset($hash)) { echo ' ('; echo T_('Edit the common description of this bookmark').')'; } @@ -312,7 +316,7 @@ if ($currenttag!= '') { . $row['username'] . ''; } - // Udders! + // others if (!isset($hash)) { $others = $otherCounts[$row['bAddress']]; $ostart = ''; @@ -390,7 +394,7 @@ if ($currenttag!= '') { echo ' ' . "\n"; echo ' \n"; if ($row['bDescription'] == '') { -- cgit v1.2.3-54-g00ecf From 2e89b28ed9d902ac208355193e708e9b76845282 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sat, 9 Oct 2010 12:15:11 +0200 Subject: embed the delete link directly in html instead of using javascript --- data/templates/bookmarks.tpl.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'data/templates/bookmarks.tpl.php') diff --git a/data/templates/bookmarks.tpl.php b/data/templates/bookmarks.tpl.php index 29d7248..db560f2 100644 --- a/data/templates/bookmarks.tpl.php +++ b/data/templates/bookmarks.tpl.php @@ -296,10 +296,9 @@ if ($currenttag!= '') { $edit = ' - ' . T_('Edit') . '' - . ''; + .''; } // Last update -- cgit v1.2.3-54-g00ecf From a04938f5598b47314bff9f9c49710cd08aa28418 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Tue, 2 Nov 2010 19:07:59 +0100 Subject: get rid of arrow entities --- data/templates/bookmarks.tpl.php | 12 ++++++------ data/templates/editprofile.tpl.php | 2 +- data/templates/sidebar.block.menu.php | 6 +++--- data/templates/sidebar.block.recent.php | 2 +- data/templates/sidebar.block.users.php | 2 +- data/templates/sidebar.block.watchlist.php | 6 +++--- data/templates/tagrename.tpl.php | 4 ++-- 7 files changed, 17 insertions(+), 17 deletions(-) (limited to 'data/templates/bookmarks.tpl.php') diff --git a/data/templates/bookmarks.tpl.php b/data/templates/bookmarks.tpl.php index db560f2..34beb39 100644 --- a/data/templates/bookmarks.tpl.php +++ b/data/templates/bookmarks.tpl.php @@ -121,33 +121,33 @@ $votingSort = 'voting_desc'; switch(getSortOrder()) { case 'date_asc': - $dateArrow = ' ↑'; + $dateArrow = ' ↑'; $dateSort = 'date_desc'; break; case 'title_asc': - $titleArrow = ' ↑'; + $titleArrow = ' ↑'; $titleSort = 'title_desc'; break; case 'title_desc': - $titleArrow = ' ↓'; + $titleArrow = ' ↓'; $titleSort = 'title_asc'; break; case 'voting_asc': - $votingArrow = ' ↑'; + $votingArrow = ' ↑'; $votingSort = 'voting_desc'; break; case 'voting_desc': - $votingArrow = ' ↓'; + $votingArrow = ' ↓'; $votingSort = 'voting_asc'; break; case 'date_desc': default: - $dateArrow = ' ↓'; + $dateArrow = ' ↓'; $dateSort = 'date_asc'; break; } diff --git a/data/templates/editprofile.tpl.php b/data/templates/editprofile.tpl.php index 887dce3..518afbe 100644 --- a/data/templates/editprofile.tpl.php +++ b/data/templates/editprofile.tpl.php @@ -26,7 +26,7 @@ $this->includeTemplate($GLOBALS['top_include']); - ← + ← diff --git a/data/templates/sidebar.block.menu.php b/data/templates/sidebar.block.menu.php index ee82997..94a9fa2 100644 --- a/data/templates/sidebar.block.menu.php +++ b/data/templates/sidebar.block.menu.php @@ -65,13 +65,13 @@ if (sizeof($menuTags) > 0 || ($userid != 0 && $userid === $logged_on_userid)) { getUser($userid); ?> 0): ?> -

+

-

+

-

+

diff --git a/data/templates/sidebar.block.recent.php b/data/templates/sidebar.block.recent.php index e34f820..1ffeb4d 100644 --- a/data/templates/sidebar.block.recent.php +++ b/data/templates/sidebar.block.recent.php @@ -31,7 +31,7 @@ if ($recentTags && count($recentTags) > 0) { } echo $contents ."

\n"; ?> -

+

-

+

0):?> -

+