Esempio n. 1
0
				</tr>
			</table>
		</form>
		<?php
			foreach ($errors as $error_message)
			{
				echo '<div class="error">' . htmlspecialchars($error_message, ENT_QUOTES) . "</div>\n";
			}
			foreach ($warnings as $warning_message)
			{
				echo '<div class="warning">' . htmlspecialchars($warning_message, ENT_QUOTES) . "</div>\n";
			}
		?>
		<div id="log_excerpt">
			<?php
				SkipWarning::reset();
				if (isset($log_set))
				{
					while ((LineOutput::$displayed_lines < MAX_LINES) && ($current_line = $log_set->gets()))
					{
						// If we have any filters, skip the lines that do not match them.
						if (
						    (! $current_line->matches_source_hosts()) ||
						    (! $current_line->matches_log_levels()) ||
						    (! $current_line->matches_log_facilities()) ||
						    (! $current_line->matches_filters())
						    )
						{
							SkipWarning::add();
							continue;
						}