ha("Var:test.http.timeout","Default timeout for HTTP/s streams used in web tests (uses system default if unset or <1)"); ha("Var:test.imap.timeout","Default timeout for IMAP tests in seconds (uses environment default if unset or 0)"); ha("Var:test.smtp.timeout","Default timeout for SMTP tests in seconds (uses 20 seconds if 0 or unset)"); ha("Var:test.mysql.timeout","Default timeout for MySQL tests in seconds (uses environmental default if unset or 0)"); ha("Var:test.spawndelay","Delay in seconds between node test threads being spawned by test-threaded.sh (no delay if 0 or unset), can be a decimal"); ha("Var:test.interval","Delay in seconds between tests on a node (no delay if 0 or unset), can be a decimal"); ha("Var:test.tcp.timeout","Default timeout for TCP tests (system default if 0 or unset) (seconds)"); ha("Var:test.udp.timeout","Default timeout for UDP tests (system default if 0 or unset) (seconds)"); ha("Var:retain.alert","Days to retain alert records for (default 356 if 0 or unset). Retain forever with value -1."); ha("Var:retain.record","Days to retain test result records for use in history and graphs (default 356 if 0 or unsert). Retain forever with value -1."); ha("Var:retain.testrun","Days to retain test run records for (default 30 if 0 or unset). Retain forever with value -1."); ha("Var:retain.syslog","Days to retain log entries for (default 30 if 0 or unset). Retain forever with value -1."); ha("Var:freenats.tracker","Participate in the automated feedback process - 1 for yes low level, 2 for detailed, 0 for disabled (default 0)"); ha("Var:freenats.tracker.usid","Unique Site ID for FreeNATS tracker to anonymise data capture (only if {Var:freenats.tracker|freenats.tracker} set to 1"); function hdisp($id,$html=true) { global $NATS_Help; if (!isset($NATS_Help[strtoupper($id)])) return ""; $t=$NATS_Help[strtoupper($id)]; $o=""; $mode="text"; $linktext=false; for ($a=0; $a<strlen($t); $a++) { $c=$t[$a]; if ($c=="{") // start of a link { $mode="link";
' . createComIcon($root_path, 'qbar_trans.gif', '0') . '>'; /* Create the maroon bars */ // echo ha().'<img // '.createComIcon($root_path,'qbar_'.$event['maroon'].'_maroon.gif','0').' alt="Maroon" name="maroon'.'" '.mx(); /* Create the green bars */ /* Note $h is used here as counter */ for ($h = 1; $h < 8; $h++) { echo ha() . '<img ' . createComIcon($root_path, 'qbar_' . $event['rose_' . $h] . '_green.gif', '0') . ' alt="' . $LDFullDayName[$h] . '" name="green_' . $h . '" ' . gx(); } echo '<img ' . createComIcon($root_path, 'qbar_trans.gif', '0') . '>'; /* Create the rose bars*/ /* Note $h is used here as counter */ for ($h = 1; $h < 25; $h++) { echo ha() . '<img ' . createComIcon($root_path, 'qbar_' . $event['rose_' . $h] . '_rose.gif', '0') . ' alt="' . $h . ' ' . $LDHour . '" name="rose_' . $h . '" ' . rx(); if ($h == 6 || $h == 12 || $h == 18) { echo '<img ' . createComIcon($root_path, 'qbar_trans.gif', '0') . '>'; } } echo ' <tr bgcolor="#696969" > <td colspan=3 background="' . createBgSkin($root_path, 'folderskin2.jpg') . '"> </td> </tr>' . '' . ''; echo '</nobr></td></tr>'; echo '<tr bgcolor="#696969" > <td background="' . createBgSkin($root_path, 'folderskin2.jpg') . '" width="10px"> </td> <td valign="top" bgcolor="#ffffff">'; echo '<img src="' . $root_path . 'main/imgcreator/barcode_label_single_large.php?sid=' . $sid . '&lang=' . $lang . '&fen=' . $full_en . '&en=' . $pn . '&pid=' . $pid . '" width=282 height=178 align="left" hspace=5 vspace=5>';
/** * Returns a comma separated list of HTML links, one for each tag in the $tags array. */ function tag_list($tags) { return join(', ', array_map(function ($tag) { return '<a href="/tags/' . ha($tag) . '">' . h($tag) . '</a>'; }, $tags)); }