Updated docs and webui

This commit is contained in:
laf
2016-06-13 22:04:51 +00:00
parent ea5512ffe6
commit 1d678642b3
2 changed files with 3 additions and 1 deletions

View File

@@ -111,6 +111,8 @@ Controls:
Placeholders:
- Hostname of the Device: `%hostname`
- sysName of the Device: `%sysName`
- location of the Device: `%location`
- Title for the Alert: `%title`
- Time Elapsed, Only available on recovery (`%state == 0`): `%elapsed`
- Alert-ID: `%id`

View File

@@ -69,7 +69,7 @@ if(is_admin() === false) {
</span><br /><br />
<span><strong>Placeholders:</strong><br />
<?php
$placeholders = array('hostname','title','elapsed','id','uid','faults','state','severity','rule','timestamp','contacts','key','value','new line');
$placeholders = array('hostname', 'sysName', 'location', 'title','elapsed','id','uid','faults','state','severity','rule','timestamp','contacts','key','value','new line');
foreach ($placeholders as $placeholder) {
echo ' <button type="button" class="btn btn-success btn-sm" data-target="#placeholder-add" id="placeholder-add" name="placeholder-add" data-type="placeholder" data-value="'.$placeholder.'">'.$placeholder.'</button>';
}