Projet

Général

Profil

« Précédent | Suivant » 

Révision 15c58806

Ajouté par Phil Davis il y a plus de 9 ans

Spelling

Voir les différences:

usr/local/www/diag_logs_settings.php
94 94

  
95 95
	/* input validation */
96 96
	if ($_POST['enable'] && !is_valid_syslog_server($_POST['remoteserver'])) {
97
		$input_errors[] = gettext("A valid IP address/hosname or IP/hostname:port must be specified for remote syslog server #1.");
97
		$input_errors[] = gettext("A valid IP address/hostname or IP/hostname:port must be specified for remote syslog server #1.");
98 98
	}
99 99
	if ($_POST['enable'] && $_POST['remoteserver2'] && !is_valid_syslog_server($_POST['remoteserver2'])) {
100
		$input_errors[] = gettext("A valid IP address/hosname or IP/hostname:port must be specified for remote syslog server #2.");
100
		$input_errors[] = gettext("A valid IP address/hostname or IP/hostname:port must be specified for remote syslog server #2.");
101 101
	}
102 102
	if ($_POST['enable'] && $_POST['remoteserver3'] && !is_valid_syslog_server($_POST['remoteserver3'])) {
103
		$input_errors[] = gettext("A valid IP address/hosname or IP/hostname:port must be specified for remote syslog server #3.");
103
		$input_errors[] = gettext("A valid IP address/hostname or IP/hostname:port must be specified for remote syslog server #3.");
104 104
	}
105 105

  
106 106
	if (($_POST['nentries'] < 5) || ($_POST['nentries'] > 2000)) {
......
299 299
			<td width="22%" valign="top" class="vtable">Log File Size (Bytes)</td>
300 300
			<td width="78%" class="vtable">
301 301
			<input name="logfilesize" id="logfilesize" type="text" class="formfld unknown" size="8" value="<?=htmlspecialchars($pconfig['logfilesize']);?>" /><br />
302
			<?=gettext("Logs are held in constant-size circular log files. This field controls how large each log file is, and thus how many entries may exist inside the log By default this is approximately 500KB per log file, and there are nearly 20 such log files.") ?>
302
			<?=gettext("Logs are held in constant-size circular log files. This field controls how large each log file is, and thus how many entries may exist inside the log. By default this is approximately 500KB per log file, and there are nearly 20 such log files.") ?>
303 303
			<br /><br />
304 304
			<?=gettext("NOTE: Log sizes are changed the next time a log file is cleared or deleted. To immediately increase the size of the log files, you must first save the options to set the size, then clear all logs using the \"Reset Log Files\" option farther down this page. "); ?>
305 305
			<?=gettext("Be aware that increasing this value increases every log file size, so disk usage will increase significantly."); ?>

Formats disponibles : Unified diff