www-thermferm/maintenance.php

changeset 260
ef1469dd92e7
parent 173
7259ee8778e9
child 269
dc88583a068d
--- a/www-thermferm/maintenance.php	Fri Aug 22 17:12:42 2014 +0200
+++ b/www-thermferm/maintenance.php	Sat Aug 23 12:33:14 2014 +0200
@@ -53,6 +53,14 @@
 $outstr .= '      <form action="devices.php" style="margin:20px;">'.PHP_EOL;
 $outstr .= '       <input type="submit" class="jqx-button" style="width: 200px; height: 25px;" value="Devices Setup" />'.PHP_EOL;
 $outstr .= '      </form>'.PHP_EOL;
+/*
+ * See if the server supports simulators
+ */
+if (send_cmd_check("SIMULATOR LIST") == 0) {
+    $outstr .= '      <form action="simulator.php" style="margin:20px;">'.PHP_EOL;
+    $outstr .= '       <input type="submit" class="jqx-button" style="width: 200px; height: 25px;" value="Simulator Setup" />'.PHP_EOL;
+    $outstr .= '      </form>'.PHP_EOL;
+}    
 $outstr .= '     </div>'.PHP_EOL;
 $outstr .= '     <div id="menu_right">'.PHP_EOL;
 $outstr .= '      <form action="profiles.php" style="margin:20px;">'.PHP_EOL;

mercurial