Project

General

Profile

« Previous | Next » 

Revision aefb60ce

Added by Scott Ullrich almost 20 years ago

Nuke keep diagnostics expanded

View differences:

usr/local/www/system_advanced.php
42 42
$pconfig['cert'] = base64_decode($config['system']['webgui']['certificate']);
43 43
$pconfig['key'] = base64_decode($config['system']['webgui']['private-key']);
44 44
$pconfig['disableconsolemenu'] = isset($config['system']['disableconsolemenu']);
45
$pconfig['expanddiags'] = isset($config['system']['webgui']['expanddiags']);
46 45
$pconfig['harddiskstandby'] = $config['system']['harddiskstandby'];
47 46
$pconfig['noantilockout'] = isset($config['system']['webgui']['noantilockout']);
48 47
$pconfig['tcpidletimeout'] = $config['filter']['tcpidletimeout'];
......
119 118
			$config['system']['disableconsolemenu'] = true;
120 119
		else
121 120
			unset($config['system']['disableconsolemenu']);
122
		if ($_POST['expanddiags'] == "yes")
123
			$config['system']['webgui']['expanddiags'] = true;
124
		else
125
			unset($config['system']['webgui']['expanddiags']);
121
		unset($config['system']['webgui']['expanddiags']);
126 122
		$config['system']['optimization'] = $_POST['optimization'];
127 123
		
128 124
		if($_POST['disablefirmwarecheck'] == "yes")
......
400 396
                    Puts the hard disk into standby mode when the selected amount of time after the last
401 397
                    access has elapsed. <em>Do not set this for CF cards.</em></td>
402 398
				</tr>
403
				<tr>
404
                  <td width="22%" valign="top" class="vncell">Navigation</td>
405
                  <td width="78%" class="vtable">
406
                    <input name="expanddiags" type="checkbox" id="expanddiags" value="yes" <?php if ($pconfig['expanddiags']) echo "checked"; ?>>
407
                    <strong>Keep diagnostics in navigation expanded </strong></td>
408
                </tr>
409 399
		<tr>
410 400
                  <td width="22%" valign="top" class="vncell">webGUI anti-lockout</td>
411 401
                  <td width="78%" class="vtable">

Also available in: Unified diff