make the bookmark page valid xhtml
This commit is contained in:
parent
be126cc958
commit
aaf293b18d
1 changed files with 9 additions and 5 deletions
|
@ -63,7 +63,11 @@ if($currenttag!= '' && $cdservice->getLastTagDescription($currenttag)) {
|
|||
|
||||
//common tag description edit
|
||||
if ($userservice->isLoggedOn()) {
|
||||
if($currenttag!= '' && ($GLOBALS['enableCommonTagDescriptionEditedByAll'] || $currentUser->isAdmin())) {
|
||||
if ($currenttag != ''
|
||||
&& ($GLOBALS['enableCommonTagDescriptionEditedByAll']
|
||||
|| $currentUser->isAdmin()
|
||||
)
|
||||
) {
|
||||
echo ' <a href="'. createURL('tagcommondescriptionedit', $currenttag).'" title="'.T_('Edit the common description of this tag').'">';
|
||||
echo !is_array($cDescription) || strlen($cDescription['cdDescription'])==0?T_('Edit the common description of this tag'):'';
|
||||
echo ' <img src="'.ROOT.'images/b_edit.png" /></a>';
|
||||
|
@ -312,7 +316,7 @@ if ($currenttag!= '') {
|
|||
. $row['username'] . '</a>';
|
||||
}
|
||||
|
||||
// Udders!
|
||||
// others
|
||||
if (!isset($hash)) {
|
||||
$others = $otherCounts[$row['bAddress']];
|
||||
$ostart = '<a href="' . createURL('history', $row['bHash']) . '">';
|
||||
|
@ -390,7 +394,7 @@ if ($currenttag!= '') {
|
|||
echo ' <div' . $adminBgClass . '>' . "\n";
|
||||
|
||||
echo ' <div class="link">'
|
||||
. '<a href="'. $address .'"'. $rel .' class="taggedlink" target="_blank">'
|
||||
. '<a href="'. htmlspecialchars($address) .'"'. $rel .' class="taggedlink">'
|
||||
. filter($row['bTitle'])
|
||||
. '</a>' . $adminStar . "</div>\n";
|
||||
if ($row['bDescription'] == '') {
|
||||
|
|
Loading…
Reference in a new issue