1
0
Fork 0
forked from blallo/rss-bridge

Add new parameter 'title' to guide the user

The 'title' attribute will render as tooltip in the browser which is
useful to provide guidance to the operator.
This commit is contained in:
logmanoriginal 2016-01-19 21:57:24 +01:00
parent 48b53b7c03
commit 8db5dde69d

View file

@ -80,6 +80,11 @@ CARD;
$additionalInfoString .= " pattern=\"".$inputEntry['pattern']."\"";
}
if(isset($inputEntry['title'])) {
$additionalInfoString .= " title=\"" .$inputEntry['title']."\"";
}
if(!isset($inputEntry['exampleValue'])) $inputEntry['exampleValue'] = "";
$idArg = 'arg-' . urlencode($bridgeName) . '-' . urlencode($parameterName) . '-' . urlencode($inputEntry['identifier']);