mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +03:00
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:
parent
48b53b7c03
commit
8db5dde69d
1 changed files with 5 additions and 0 deletions
|
@ -80,6 +80,11 @@ CARD;
|
||||||
$additionalInfoString .= " pattern=\"".$inputEntry['pattern']."\"";
|
$additionalInfoString .= " pattern=\"".$inputEntry['pattern']."\"";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
if(isset($inputEntry['title'])) {
|
||||||
|
|
||||||
|
$additionalInfoString .= " title=\"" .$inputEntry['title']."\"";
|
||||||
|
|
||||||
|
}
|
||||||
if(!isset($inputEntry['exampleValue'])) $inputEntry['exampleValue'] = "";
|
if(!isset($inputEntry['exampleValue'])) $inputEntry['exampleValue'] = "";
|
||||||
|
|
||||||
$idArg = 'arg-' . urlencode($bridgeName) . '-' . urlencode($parameterName) . '-' . urlencode($inputEntry['identifier']);
|
$idArg = 'arg-' . urlencode($bridgeName) . '-' . urlencode($parameterName) . '-' . urlencode($inputEntry['identifier']);
|
||||||
|
|
Loading…
Reference in a new issue