git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4d2e4e3
)
login/edit: label references of tags descriptions
author
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 7 Jul 2018 15:53:44 +0000
(17:53 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 7 Jul 2018 16:50:48 +0000
(18:50 +0200)
Clickable.
login/edit.php
patch
|
blob
|
history
diff --git
a/login/edit.php
b/login/edit.php
index 56451b50303fe2633c8630bdafecc5f2c7c6c177..e39af548a3692549213c7756215976222d35dcbf 100644
(file)
--- a/
login/edit.php
+++ b/
login/edit.php
@@
-216,9
+216,10
@@
foreach ($cols as $col => &$colconf) {
foreach ($colconf['values'] as $tag => $val) {
printf(
"\n\t\t" .
foreach ($colconf['values'] as $tag => $val) {
printf(
"\n\t\t" .
- '<input type="hidden" name="tags[%1$s]" value="" />' .
- '<input type="checkbox" name="tags[%s]" value="1"%s%s /> %s',
- $tag,
+ '<input type="hidden" name="%1$s" value="" />' .
+ '<input type="checkbox" name="%s" value="1" id="%s"%s%s />' .
+ '<label for="%2$s"> %s</label>',
+ "tags[$tag]", "tag-$tag",
$val['value'] ? ' checked' : '',
isset($val['target']) ? '' : ' readonly',
ucfirst($tag)
$val['value'] ? ' checked' : '',
isset($val['target']) ? '' : ' readonly',
ucfirst($tag)