diff --git a/app/log_viewer/log_viewer.php b/app/log_viewer/log_viewer.php index 44fed471bf..382b4f26fa 100644 --- a/app/log_viewer/log_viewer.php +++ b/app/log_viewer/log_viewer.php @@ -94,8 +94,9 @@ if (permission_exists('log_download')) { echo " \n"; echo " \n"; echo " \n"; +echo "  "; echo " \n"; -echo " "; +echo " "; if (permission_exists('log_view')) { @@ -153,11 +154,8 @@ if (permission_exists('log_view')) { } */ - echo ""; - echo ""; - echo ""; + echo " "; + echo "
 
"; - echo ""; - + echo "
"; + echo " "; $user_filesize = '32768'; if (isset($_POST['submit'])) { if (!is_numeric($_POST['fs'])){ @@ -169,13 +167,15 @@ if (permission_exists('log_view')) { } if (strlen($_REQUEST['filter']) > 0){ $uuid_filter = $_REQUEST['filter']; - echo ""; + echo ""; } } //echo "Log File Size: " . $file_size . " bytes.
"; - echo ""; - echo "
".$text['description-filter']." " . $uuid_filter . "".$text['description-filter']." ".$uuid_filter."".$text['label-displaying']." " . number_format($user_filesize,0,'.',',') . " of " . number_format($file_size,0,'.',',') . " ".$text['label-bytes'].".

"; + echo "
".$text['label-displaying']." ".number_format($user_filesize,0,'.',',')." of ".number_format($file_size,0,'.',',')." ".$text['label-bytes'].".
"; + echo "
"; $file = fopen($log_file, "r") or exit($text['error-open-file']); @@ -245,19 +245,17 @@ if (permission_exists('log_view')) { if ($pos !== false){ //color adjustments on words in log line for ($i=2; $i<=$MAXEL; $i++){ - if (isset ($v1["pattern".$i])){ - $log_line = str_replace($v1["pattern".$i], "{$v1["pattern".$i]}", $log_line); + if (isset ($v1["pattern".$i])) { + $log_line = str_replace($v1["pattern".$i], "".$v1["pattern".$i]."", $log_line); } } - $ary_output[] = "".$log_line."
"; + $ary_output[] = "".$log_line."
"; $noprint = true; } } if ($noprint !== true){ - //more firefox workaround... - //echo "

"; - $ary_output[] = "".htmlentities($log_line)."
"; + $ary_output[] = "".htmlentities($log_line)."
"; } } } @@ -271,7 +269,7 @@ if (permission_exists('log_view')) { $adj_index = 1; } foreach ($ary_output as $index => $line) { - if ($line != '
') { + if ($line != "
") { if ($_POST['ln']) { $line_num = "".($index + $adj_index)."   "; } @@ -280,9 +278,9 @@ if (permission_exists('log_view')) { } fclose($file); - echo ""; } - +echo " "; +echo " \n"; echo "\n"; echo "\n"; diff --git a/app/sip_profiles/sip_profile_settings.php b/app/sip_profiles/sip_profile_settings.php index 8f206d131d..2c9c7568e5 100644 --- a/app/sip_profiles/sip_profile_settings.php +++ b/app/sip_profiles/sip_profile_settings.php @@ -41,12 +41,6 @@ require_once "resources/paging.php"; $order = $_GET["order"]; //show the content - echo "

"; - echo "\n"; - echo "\n"; - echo "
\n"; - echo "
"; - echo "\n"; echo " \n"; echo " \n";
".$text['header_settings']."