mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 14:37:20 +00:00
show help cursor on form field label if help is available
This commit is contained in:
parent
d5d70e4802
commit
dad650fb9b
|
@ -894,7 +894,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
function formField($title, $value, $params=array()) { /* {{{ */
|
||||
if($title !== null) {
|
||||
echo "<div class=\"control-group\">";
|
||||
echo " <label class=\"control-label\"".(!empty($params['help']) ? " title=\"".$params['help']."\"" : "").">".$title.":</label>";
|
||||
echo " <label class=\"control-label\"".(!empty($params['help']) ? " title=\"".$params['help']."\" style=\"cursor: help;\"" : "").">".$title.":</label>";
|
||||
echo " <div class=\"controls\">";
|
||||
}
|
||||
if(isset($params['field_wrap'][0]))
|
||||
|
|
Loading…
Reference in New Issue
Block a user