<form action="dateTime.php" method="post" name="DateTimeSettings" id="DateTimeSettings"> <input type="hidden" name="userAction" value="DateTime"> <span class="label">Current Time</span> <span class="description">Current time on the NetBoot/SUS/LDAP Proxy server</span> <span><?php print getLocalTime(); ?> </span> <br> <br> <span class="label">Current Time Zone</span> <span class="description">Current time zone on the NetBoot/SUS/LDAP Proxy server</span> <span><?php echo getSystemTimeZoneMenu(); ?> </span> <br> <span class="label">Network Time Server</span> <span class="description">Server to use to synchronize the date/time (e.g. "pool.ntp.org")</span> <input type="text" name="timeserver" id="timeserver" value="<?php echo getCurrentTimeServer(); ?> " /> <br> <input type="submit" class="insideActionButton" value="Save" name="SaveDateTime"/> </form>
} if (isset($_POST['timeserver'])) { $ts = $_POST['timeserver']; setTimeServer($ts); } } ?> <form action="admin.php" method="post" name="DateTimeSettings" id="DateTimeSettings"> <input type="hidden" name="userAction" value="DateTime"> <table style="border: 0px;" class="formLabel"> <tr> <td style="text-align: right;">Current Time: </td> <td><?print getLocalTime();?></td> </tr> <tr> <td style="text-align: right;"><label for="timezone">Current Time Zone: </label></td> <td><?getSystemTimeZoneMenu();?></td> </tr> <tr> <td style="text-align: right;"><label for="timeserver">Network Time Server:</label></td> <td><input type="text" name="timeserver" id="timeserver" value="<?php echo getCurrentTimeServer(); ?> " /></td> </tr> </table> <br> <input type="submit" value="Save Date/Time Configuration" name="SaveDateTime"/> </form>