Revision c8c90b81
Added by Phil Davis over 12 years ago
usr/local/www/services_dyndns_edit.php | ||
---|---|---|
69 | 69 |
$pconfig['enable'] = !isset($a_dyndns[$id]['enable']); |
70 | 70 |
$pconfig['interface'] = $a_dyndns[$id]['interface']; |
71 | 71 |
$pconfig['wildcard'] = isset($a_dyndns[$id]['wildcard']); |
72 |
$pconfig['verboselog'] = isset($a_dyndns[$id]['verboselog']); |
|
72 | 73 |
$pconfig['zoneid'] = $a_dyndns[$id]['zoneid']; |
73 | 74 |
$pconfig['ttl'] = isset($a_dyndns[$id]['ttl']); |
74 | 75 |
$pconfig['updateurl'] = $a_dyndns[$id]['updateurl']; |
... | ... | |
117 | 118 |
$dyndns['host'] = $_POST['host']; |
118 | 119 |
$dyndns['mx'] = $_POST['mx']; |
119 | 120 |
$dyndns['wildcard'] = $_POST['wildcard'] ? true : false; |
121 |
$dyndns['verboselog'] = $_POST['verboselog'] ? true : false; |
|
120 | 122 |
/* In this place enable means disabled */ |
121 | 123 |
if ($_POST['enable']) |
122 | 124 |
unset($dyndns['enable']); |
... | ... | |
296 | 298 |
<input name="wildcard" type="checkbox" id="wildcard" value="yes" <?php if ($pconfig['wildcard']) echo "checked"; ?>> |
297 | 299 |
<?=gettext("Enable ");?><?=gettext("Wildcard"); ?></td> |
298 | 300 |
</tr> |
301 |
<tr id="_verboselogtr"> |
|
302 |
<td width="22%" valign="top" class="vncell"><?=gettext("Verbose logging"); ?></td> |
|
303 |
<td width="78%" class="vtable"> |
|
304 |
<input name="verboselog" type="checkbox" id="verboselog" value="yes" <?php if ($pconfig['verboselog']) echo "checked"; ?>> |
|
305 |
<?=gettext("Enable ");?><?=gettext("verbose logging"); ?></td> |
|
306 |
</tr> |
|
299 | 307 |
<tr id="_usernametr"> |
300 | 308 |
<td width="22%" valign="top" class="vncellreq"><?=gettext("Username");?></td> |
301 | 309 |
<td width="78%" class="vtable"> |
Also available in: Unified diff
Dynamic DNS add option for verbose logging
This will allow the user to decide if they want all the noise in syslog. It defaults to off, so the log messages will quieten down unless the user turns it on.