git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nieuws: apply tag changes to article links in edit mode
[minimedit.git]
/
nieuws
/
index.php
diff --git
a/nieuws/index.php
b/nieuws/index.php
index 1a520112da6663f1805f602829469f6c65a1ee99..ad85011716c9825248995d28d4573d12ac67a5c8 100644
(file)
--- a/
nieuws/index.php
+++ b/
nieuws/index.php
@@
-24,14
+24,14
@@
if ($page and !is_numeric($page)) {
$tagtarget = is_writable($tagpath);
$taglist[] = sprintf(
'<input type="checkbox" name="%s" value="%s" id="%s"%s%s />' .
$tagtarget = is_writable($tagpath);
$taglist[] = sprintf(
'<input type="checkbox" name="%s" value="%s" id="%s"%s%s />' .
- '<label for="%
2
$s"> %s</label>',
+ '<label for="%
3
$s"> %s</label>',
"tags[$tagname]", $tagname, "tag-$tagname",
$tagvalue ? ' checked' : '',
"tags[$tagname]", $tagname, "tag-$tagname",
$tagvalue ? ' checked' : '',
- '
onclick="return false"
',
+ '
disabled
',
ucfirst($tagname)
);
}
ucfirst($tagname)
);
}
- printf(
"<p><strong>Tags:</strong> %s</p>
\n",
+ printf(
'<p class="tags"><strong>Tags:</strong> %s</p>'."
\n",
implode("\n\t", $taglist)
);
}
implode("\n\t", $taglist)
);
}