1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 18:14:26 +02:00

#275 - Added labels to prefs to improve accessibility (more to do)

This commit is contained in:
Moc
2013-07-08 11:27:17 +02:00
parent 3045587424
commit 19d2834ee4
2 changed files with 35 additions and 35 deletions

View File

@@ -435,7 +435,7 @@ class user_class
}
// Only return the select box if we've ended up with some options
if ($text) $text = "\n<select class='tbox' name='{$fieldname}' {$extra_js}>\n".$text."</select>\n";
if ($text) $text = "\n<select class='tbox' name='{$fieldname}' id='{$fieldname}' {$extra_js}>\n".$text."</select>\n";
return $text;
}