Commit 871f638d authored by Nigel McNie's avatar Nigel McNie
Browse files

[PIEFORMS] Support "elementtitle" so you can set a hover title on most elements.



At the suggestion of Andrew McMillan.
Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent 173503ab
......@@ -999,6 +999,10 @@ EOF;
}
}
if (isset($element['elementtitle'])) {
$result .= ' title="' . self::hsc($element['elementtitle']) . '"';
}
if (!in_array('maxlength', $exclude) && isset($element['rules']['maxlength'])) {
$result .= ' maxlength="' . intval($element['rules']['maxlength']) . '"';
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment