Project

General

Profile

« Previous | Next » 

Revision 20b90e0a

Added by Scott Ullrich almost 19 years ago

Switch to OpenNTPD.

View differences:

usr/local/www/system.php
124 124
		update_if_changed("NTP update interval", $config['system']['time-update-interval'], $_POST['timeupdateinterval']);
125 125

  
126 126
		/* pfSense themes */
127
		update_if_changed("System Theme", $config['theme'], $_POST['theme']);		
127
		update_if_changed("System Theme", $config['theme'], $_POST['theme']);
128 128

  
129 129
		/* XXX - billm: these still need updating after figuring out how to check if they actually changed */
130 130
		unset($config['system']['dnsserver']);
......
134 134
			$config['system']['dnsserver'][] = $_POST['dns2'];
135 135

  
136 136
		$olddnsallowoverride = $config['system']['dnsallowoverride'];
137
		
137

  
138 138
		unset($config['system']['dnsallowoverride']);
139 139
		$config['system']['dnsallowoverride'] = $_POST['dnsallowoverride'] ? true : false;
140 140
                if ($_POST['password']) {
141 141
                        $config['system']['password'] = crypt($_POST['password']);
142 142
			update_changedesc("password changed via webConfigurator");
143
			sync_webgui_passwords();			
143
			sync_webgui_passwords();
144 144
                }
145 145

  
146 146
		if ($changecount > 0)
......
260 260
                    </select> <br> <span class="vexpl">Select the location closest
261 261
                    to you</span></td>
262 262
                </tr>
263
                <!--
263 264
                <tr>
264 265
                  <td width="22%" valign="top" class="vncell">Time update interval</td>
265 266
                  <td width="78%" class="vtable"> <input name="timeupdateinterval" type="text" class="formfld" id="timeupdateinterval" size="4" value="<?=htmlspecialchars($pconfig['timeupdateinterval']);?>">
266 267
                    <br> <span class="vexpl">Minutes between network time sync.;
267 268
                    300 recommended, or 0 to disable </span></td>
268 269
                </tr>
270
                -->
269 271
                <tr>
270 272
                  <td width="22%" valign="top" class="vncell">NTP time server</td>
271 273
                  <td width="78%" class="vtable"> <input name="timeservers" type="text" class="formfld" id="timeservers" size="40" value="<?=htmlspecialchars($pconfig['timeservers']);?>">
......
275 277
                </tr>
276 278
				<tr>
277 279
					<td colspan="2" class="list" height="12">&nbsp;</td>
278
				</tr>	
280
				</tr>
279 281
				<tr>
280 282
					<td colspan="2" valign="top" class="listtopic">Theme</td>
281 283
				</tr>
......
299 301
					</select>
300 302
					<strong>This will change the look and feel of pfSense</strong>
301 303
				</td>
302
				</tr>				
304
				</tr>
303 305
				<tr>
304 306
                  <td width="22%" valign="top">&nbsp;</td>
305 307
                  <td width="78%"> <input name="Submit" type="submit" class="formbtn" value="Save">

Also available in: Unified diff