Added html doctype headers

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1177 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2004-12-28 19:22:23 +00:00
parent 7798520348
commit 0972d80425
38 changed files with 38 additions and 0 deletions

View File

@ -21,6 +21,7 @@
$new_bandwidth = $bandwidth; $new_bandwidth = $bandwidth;
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangBandwidth ?></title> <title>ZM - <?= $zmSlangBandwidth ?></title>

View File

@ -84,6 +84,7 @@ $montage_width = ZM_WEB_MONTAGE_WIDTH?ZM_WEB_MONTAGE_WIDTH:$max_width;
$montage_height = ZM_WEB_MONTAGE_HEIGHT?ZM_WEB_MONTAGE_HEIGHT:$max_height; $montage_height = ZM_WEB_MONTAGE_HEIGHT?ZM_WEB_MONTAGE_HEIGHT:$max_height;
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - Console</title> <title>ZM - Console</title>

View File

@ -83,6 +83,7 @@ header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0 header("Pragma: no-cache"); // HTTP/1.0
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangCycleWatch ?></title> <title>ZM - <?= $zmSlangCycleWatch ?></title>

View File

@ -19,6 +19,7 @@
// //
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangError ?></title> <title>ZM - <?= $zmSlangError ?></title>

View File

@ -85,6 +85,7 @@ $frames_per_page = ZM_WEB_FRAMES_PER_LINE * ZM_WEB_FRAME_LINES;
$paged = $event['Frames'] > $frames_per_page; $paged = $event['Frames'] > $frames_per_page;
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangEvent ?> - <?= $event['Name'] ?></title> <title>ZM - <?= $zmSlangEvent ?> - <?= $event['Name'] ?></title>

View File

@ -66,6 +66,7 @@ elseif ( !empty( $limit ) )
} }
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangEvents ?></title> <title>ZM - <?= $zmSlangEvents ?></title>

View File

@ -118,6 +118,7 @@ $sort_dirns = array(
); );
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangEventFilter ?></title> <title>ZM - <?= $zmSlangEventFilter ?></title>

View File

@ -24,6 +24,7 @@ if ( !canEdit( 'Events' ) )
return; return;
} }
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangSaveFilter ?></title> <title>ZM - <?= $zmSlangSaveFilter ?></title>

View File

@ -62,6 +62,7 @@ $alarm_frame = $frame['Type']=='Alarm';
$img_class = $alarm_frame?"alarm":"normal"; $img_class = $alarm_frame?"alarm":"normal";
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangFrame ?> <?= $eid."-".$fid ?></title> <title>ZM - <?= $zmSlangFrame ?> <?= $eid."-".$fid ?></title>

View File

@ -39,6 +39,7 @@ while ( $row = mysql_fetch_assoc( $result ) )
} }
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangFrames ?> <?= $eid ?></title> <title>ZM - <?= $zmSlangFrames ?> <?= $eid ?></title>

View File

@ -29,6 +29,7 @@ if ( !$result )
$monitor = mysql_fetch_assoc( $result ); $monitor = mysql_fetch_assoc( $result );
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangFunction ?> - <?= $monitor['Name'] ?></title> <title>ZM - <?= $zmSlangFunction ?> - <?= $monitor['Name'] ?></title>

View File

@ -33,6 +33,7 @@ while ( $row = mysql_fetch_assoc( $result ) )
$groups[] = $row; $groups[] = $row;
} }
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangGroups ?></title> <title>ZM - <?= $zmSlangGroups ?></title>

View File

@ -19,6 +19,7 @@
// //
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangLogin ?></title> <title>ZM - <?= $zmSlangLogin ?></title>

View File

@ -19,6 +19,7 @@
// //
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangLogout ?></title> <title>ZM - <?= $zmSlangLogout ?></title>

View File

@ -95,6 +95,7 @@ $remote_palettes = array( $zmSlang8BitGrey=>1, $zmSlang24BitColour=>4 );
$orientations = array( $zmSlangNormal=>0, $zmSlangRotateRight=>90, $zmSlangInverted=>180, $zmSlangRotateLeft=>270 ); $orientations = array( $zmSlangNormal=>0, $zmSlangRotateRight=>90, $zmSlangInverted=>180, $zmSlangRotateLeft=>270 );
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangMonitor ?> <?= $monitor['Name'] ?></title> <title>ZM - <?= $zmSlangMonitor ?> <?= $monitor['Name'] ?></title>

View File

@ -67,6 +67,7 @@ $row_spec = join( ',', $heights );
$col_spec = join( ',', $widths ); $col_spec = join( ',', $widths );
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangMontage ?></title> <title>ZM - <?= $zmSlangMontage ?></title>

View File

@ -58,6 +58,7 @@ header("Pragma: no-cache"); // HTTP/1.0
$image_src = ZM_PATH_ZMS."?mode=single&monitor=".$monitor['Id']."&scale=".$scale; $image_src = ZM_PATH_ZMS."?mode=single&monitor=".$monitor['Id']."&scale=".$scale;
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangFeed ?></title> <title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangFeed ?></title>

View File

@ -25,6 +25,7 @@ if ( !canView( 'Stream' ) )
} }
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html> <html>
<?php <?php
if ( ZM_WEB_COMPACT_MONTAGE ) if ( ZM_WEB_COMPACT_MONTAGE )

View File

@ -39,6 +39,7 @@ if ( $mid )
$monitor = mysql_fetch_assoc( $result ); $monitor = mysql_fetch_assoc( $result );
} }
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">

View File

@ -62,6 +62,7 @@ header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0 header("Pragma: no-cache"); // HTTP/1.0
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">

View File

@ -19,6 +19,7 @@
// //
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<script language="JavaScript"> <script language="JavaScript">

View File

@ -22,6 +22,7 @@ $option_help_var = "zmOlangHelp".preg_replace( '/^ZM_/', '', $option );
$option_help_text = $$option_help_var?$$option_help_var:$config[$option]['Help']; $option_help_text = $$option_help_var?$$option_help_var:$config[$option]['Help'];
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangOptionHelp ?></title> <title>ZM - <?= $zmSlangOptionHelp ?></title>

View File

@ -46,6 +46,7 @@ if ( !isset($tab) )
$tab = "system"; $tab = "system";
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangOptions ?></title> <title>ZM - <?= $zmSlangOptions ?></title>

View File

@ -19,6 +19,7 @@
// //
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangLoggingIn ?></title> <title>ZM - <?= $zmSlangLoggingIn ?></title>

View File

@ -19,6 +19,7 @@
// //
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - Restarting</title> <title>ZM - Restarting</title>

View File

@ -38,6 +38,7 @@ $monitor['Hue'] = $hue;
$monitor['Colour'] = $colour; $monitor['Colour'] = $colour;
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangSettings ?></title> <title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangSettings ?></title>

View File

@ -34,6 +34,7 @@ while( $state = mysql_fetch_assoc( $result ) )
} }
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangState ?></title> <title>ZM - <?= $zmSlangState ?></title>

View File

@ -40,6 +40,7 @@ while ( $row = mysql_fetch_assoc( $result ) )
} }
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangStats ?> <?= $eid."-".$fid ?></title> <title>ZM - <?= $zmSlangStats ?> <?= $eid."-".$fid ?></title>

View File

@ -34,6 +34,7 @@ if ( !($row = mysql_fetch_assoc( $result )) )
} }
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangUser ?> - <?= $row['Username'] ?></title> <title>ZM - <?= $zmSlangUser ?> - <?= $row['Username'] ?></title>

View File

@ -38,6 +38,7 @@ if ( ZM_DYN_CURR_VERSION != ZM_DYN_LAST_VERSION )
) ); ) );
} }
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangVersion ?></title> <title>ZM - <?= $zmSlangVersion ?></title>

View File

@ -36,6 +36,7 @@ if ( !isset( $scale ) )
ob_start(); ob_start();
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangVideo ?> - <?= $event['Name'] ?></title> <title>ZM - <?= $zmSlangVideo ?> - <?= $event['Name'] ?></title>

View File

@ -34,6 +34,7 @@ if ( !isset($scale) )
$width_scale = ($scale<SCALE_SCALE)?SCALE_SCALE:$scale; $width_scale = ($scale<SCALE_SCALE)?SCALE_SCALE:$scale;
$height_scale = $scale; $height_scale = $scale;
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangWatch ?></title> <title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangWatch ?></title>

View File

@ -40,6 +40,7 @@ if ( !$result )
$monitor = mysql_fetch_assoc( $result ); $monitor = mysql_fetch_assoc( $result );
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangEvents ?></title> <title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangEvents ?></title>

View File

@ -55,6 +55,7 @@ header("Pragma: no-cache"); // HTTP/1.0
$image_src = ZM_PATH_ZMS."?mode=single&monitor=".$monitor['Id']."&scale=".$scale; $image_src = ZM_PATH_ZMS."?mode=single&monitor=".$monitor['Id']."&scale=".$scale;
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangFeed ?></title> <title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangFeed ?></title>

View File

@ -41,6 +41,7 @@ if ( !isset( $scale ) )
$scale = ZM_WEB_DEFAULT_SCALE; $scale = ZM_WEB_DEFAULT_SCALE;
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">

View File

@ -67,6 +67,7 @@ header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0 header("Pragma: no-cache"); // HTTP/1.0
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">

View File

@ -46,6 +46,7 @@ else
} }
$new_zone = $zone; $new_zone = $zone;
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangZone ?> <?= $zone['Name'] ?></title> <title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangZone ?> <?= $zone['Name'] ?></title>

View File

@ -44,6 +44,7 @@ while( $row = mysql_fetch_assoc( $result ) )
$image = $monitor['Name']."-Zones.jpg"; $image = $monitor['Name']."-Zones.jpg";
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangZones ?></title> <title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangZones ?></title>