Added custom window title in ZM_WEB_TITLE_PREFIX

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1403 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2005-05-06 12:24:57 +00:00
parent 06d95ece51
commit 8f77a3643e
55 changed files with 63 additions and 55 deletions

View File

@ -24,7 +24,7 @@ $new_bandwidth = $bandwidth;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangBandwidth ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangBandwidth ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
function closeWindow() function closeWindow()

View File

@ -89,7 +89,7 @@ $montage_height = ZM_WEB_MONTAGE_HEIGHT?ZM_WEB_MONTAGE_HEIGHT:$max_height;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangConsole ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangConsole ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<link rel="shortcut icon" href="favicon.ico"> <link rel="shortcut icon" href="favicon.ico">
<link rel="icon" type="image/ico" href="favicon.ico"> <link rel="icon" type="image/ico" href="favicon.ico">

View File

@ -33,7 +33,7 @@ $monitor = mysql_fetch_assoc( $result );
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangControl ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangControl ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
window.focus(); window.focus();

View File

@ -61,7 +61,7 @@ if ( !isset( $new_control ) )
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangControl ?> - <?= $control['Name'] ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangControl ?> - <?= $control['Name'] ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
<?php <?php

View File

@ -38,7 +38,7 @@ while( $row = mysql_fetch_assoc( $result ) )
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangControlCaps ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangControlCaps ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
//window.resizeTo( <?= $jws['console']['w'] ?>, <?= $jws['console']['h']+(25*(count($controls)>6?count($controls):6)) ?> ); //window.resizeTo( <?= $jws['console']['w'] ?>, <?= $jws['console']['h']+(25*(count($controls)>6?count($controls):6)) ?> );

View File

@ -38,7 +38,7 @@ $cmds = getControlCommands( $monitor );
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangEvents ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $monitor['Name'] ?> - <?= $zmSlangEvents ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
function newWindow(Url,Name,Width,Height) function newWindow(Url,Name,Width,Height)

View File

@ -38,7 +38,7 @@ for ( $i = 1; $i <= $monitor['NumPresets']; $i++ )
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangSetPreset ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangSetPreset ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
<?php <?php

View File

@ -86,7 +86,7 @@ header("Pragma: no-cache"); // HTTP/1.0
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangCycleWatch ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangCycleWatch ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
function newWindow(Url,Name,Width,Height) function newWindow(Url,Name,Width,Height)

View File

@ -22,7 +22,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangError ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangError ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
function closeWindow() function closeWindow()

View File

@ -88,7 +88,7 @@ $paged = $event['Frames'] > $frames_per_page;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangEvent ?> - <?= $event['Name'] ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangEvent ?> - <?= $event['Name'] ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
<?php <?php

View File

@ -69,7 +69,7 @@ elseif ( !empty( $limit ) )
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangEvents ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangEvents ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
function newWindow(Url,Name,Width,Height) function newWindow(Url,Name,Width,Height)

View File

@ -121,7 +121,7 @@ $sort_dirns = array(
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangEventFilter ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangEventFilter ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
function newWindow(Url,Name,Width,Height) function newWindow(Url,Name,Width,Height)

View File

@ -27,7 +27,7 @@ if ( !canEdit( 'Events' ) )
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangSaveFilter ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangSaveFilter ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
function closeWindow() function closeWindow()

View File

@ -67,7 +67,7 @@ $img_class = $alarm_frame?"alarm":"normal";
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangFrame ?> <?= $eid."-".$fid ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangFrame ?> <?= $eid."-".$fid ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
window.focus(); window.focus();

View File

@ -42,7 +42,7 @@ while ( $row = mysql_fetch_assoc( $result ) )
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangFrames ?> <?= $eid ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangFrames ?> <?= $eid ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
window.focus(); window.focus();

View File

@ -32,7 +32,7 @@ $monitor = mysql_fetch_assoc( $result );
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangFunction ?> - <?= $monitor['Name'] ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangFunction ?> - <?= $monitor['Name'] ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
<?php <?php

View File

@ -36,7 +36,7 @@ while ( $row = mysql_fetch_assoc( $result ) )
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangGroups ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangGroups ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
function closeWindow() function closeWindow()

View File

@ -22,7 +22,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangLogin ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangLogin ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
window.resizeTo( <?= $jws['login']['w'] ?>, <?= $jws['login']['h'] ?> ); window.resizeTo( <?= $jws['login']['w'] ?>, <?= $jws['login']['h'] ?> );

View File

@ -22,7 +22,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangLogout ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangLogout ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
function closeWindow() function closeWindow()

View File

@ -110,7 +110,7 @@ $orientations = array( $zmSlangNormal=>'0', $zmSlangRotateRight=>'90', $zmSlangI
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangMonitor ?> - <?= $monitor['Name'] ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangMonitor ?> - <?= $monitor['Name'] ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
<?php <?php

View File

@ -72,7 +72,7 @@ $row_spec = join( ',', $heights );
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <!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_WEB_TITLE_PREFIX ?> - <?= $zmSlangMontage ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
window.focus(); window.focus();

View File

@ -69,7 +69,7 @@ $image_src = getStreamSrc( array( "mode=single", "monitor=".$monitor['Id'], "sca
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangFeed ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $monitor['Name'] ?> - <?= $zmSlangFeed ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
<?php <?php

View File

@ -25,7 +25,7 @@ $option_help_text = $$option_help_var?$$option_help_var:$config[$option]['Help']
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangOptionHelp ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangOptionHelp ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
function closeWindow() function closeWindow()

View File

@ -49,7 +49,7 @@ if ( !isset($tab) )
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangOptions ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangOptions ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
<?php <?php

View File

@ -22,7 +22,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangLoggingIn ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangLoggingIn ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
//window.resizeTo( <?= $jws['login']['w'] ?>, <?= $jws['login']['h'] ?> ); //window.resizeTo( <?= $jws['login']['w'] ?>, <?= $jws['login']['h'] ?> );

View File

@ -22,7 +22,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - Restarting</title> <title><?= ZM_WEB_TITLE_PREFIX ?> - Restarting</title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
function closeWindow() function closeWindow()

View File

@ -41,7 +41,7 @@ $monitor['Colour'] = $colour;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangSettings ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $monitor['Name'] ?> - <?= $zmSlangSettings ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
<?php <?php

View File

@ -38,7 +38,7 @@ while( $state = mysql_fetch_assoc( $result ) )
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangState ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangState ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
<?php <?php

View File

@ -43,7 +43,7 @@ while ( $row = mysql_fetch_assoc( $result ) )
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangStats ?> <?= $eid."-".$fid ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangStats ?> <?= $eid."-".$fid ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
window.focus(); window.focus();

View File

@ -37,7 +37,7 @@ if ( !($row = mysql_fetch_assoc( $result )) )
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangUser ?> - <?= $row['Username'] ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangUser ?> - <?= $row['Username'] ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
<?php <?php

View File

@ -41,7 +41,7 @@ if ( ZM_DYN_CURR_VERSION != ZM_DYN_LAST_VERSION )
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangVersion ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangVersion ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
window.focus(); window.focus();

View File

@ -39,7 +39,7 @@ ob_start();
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangVideo ?> - <?= $event['Name'] ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangVideo ?> - <?= $event['Name'] ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
</head> </head>
<body> <body>

View File

@ -37,7 +37,7 @@ $height_scale = $scale;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <!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_WEB_TITLE_PREFIX ?> - <?= $monitor['Name'] ?> - <?= $zmSlangWatch ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
window.resizeTo( <?= reScale($monitor['Width'],$width_scale)+$jws['watch']['w'] ?>, <?= reScale($monitor['Height'],$height_scale)+$jws['watch']['h'] ?> ); window.resizeTo( <?= reScale($monitor['Width'],$width_scale)+$jws['watch']['w'] ?>, <?= reScale($monitor['Height'],$height_scale)+$jws['watch']['h'] ?> );

View File

@ -48,7 +48,7 @@ $monitor = mysql_fetch_assoc( $result );
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangEvents ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $monitor['Name'] ?> - <?= $zmSlangEvents ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
function newWindow(Url,Name,Width,Height) function newWindow(Url,Name,Width,Height)

View File

@ -59,7 +59,7 @@ $image_src = getStreamSrc( array( "mode=single", "monitor=".$mid, "scale=".$scal
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangFeed ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $monitor['Name'] ?> - <?= $zmSlangFeed ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
<?php <?php

View File

@ -49,7 +49,7 @@ $new_zone = $zone;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangZone ?> <?= $zone['Name'] ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $monitor['Name'] ?> - <?= $zmSlangZone ?> <?= $zone['Name'] ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
<?php <?php

View File

@ -47,7 +47,7 @@ $image = $monitor['Name']."-Zones.jpg";
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangZones ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $monitor['Name'] ?> - <?= $zmSlangZones ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
window.focus(); window.focus();

View File

@ -53,7 +53,7 @@ while( $row = mysql_fetch_assoc( $result ) )
} }
?> ?>
<wml> <wml>
<card id="zmConsole" title="ZM - <?= $zmSlangConsole ?>" ontimer="<?= $PHP_SELF ?>?view=<?= $view ?>"> <card id="zmConsole" title="<?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangConsole ?>" ontimer="<?= $PHP_SELF ?>?view=<?= $view ?>">
<timer value="<?= REFRESH_MAIN*10 ?>"/> <timer value="<?= REFRESH_MAIN*10 ?>"/>
<p align="center"> <p align="center">
<?= date( "H:i" ) ?> - <?= makeLink( "$PHP_SELF?view=state", $status, canEdit( 'System' ) ) ?> - <?= getLoad() ?> / <?= getDiskPercent() ?>% <?= date( "H:i" ) ?> - <?= makeLink( "$PHP_SELF?view=state", $status, canEdit( 'System' ) ) ?> - <?= getLoad() ?> / <?= getDiskPercent() ?>%

View File

@ -20,7 +20,7 @@
?> ?>
<wml> <wml>
<card id="zmError" title="ZM - <?= $zmSlangError ?>"> <card id="zmError" title="<?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangError ?>">
<table columns="1" align="C"> <table columns="1" align="C">
<tr><td>ZoneMinder <?= $zmSlangError ?></td></tr> <tr><td>ZoneMinder <?= $zmSlangError ?></td></tr>
<tr><td>&nbsp;</td></tr> <tr><td>&nbsp;</td></tr>

View File

@ -38,9 +38,9 @@ chdir( '..' );
?> ?>
<wml> <wml>
<card id="zmFeed" title="ZM - <?= $monitor['Name'] ?>" ontimer="<?= $PHP_SELF ?>?view=<?= $view ?>&amp;mid=<?= $mid ?>"> <card id="zmFeed" title="<?= ZM_WEB_TITLE_PREFIX ?> - <?= $monitor['Name'] ?>" ontimer="<?= $PHP_SELF ?>?view=<?= $view ?>&amp;mid=<?= $mid ?>">
<timer value="<?= ZM_WEB_REFRESH_IMAGE*10 ?>"/> <timer value="<?= ZM_WEB_REFRESH_IMAGE*10 ?>"/>
<p mode="nowrap" align="center"><strong>ZM - <?= $monitor['Name'] ?></strong></p> <p mode="nowrap" align="center"><strong><?= $monitor['Name'] ?></strong></p>
<p mode="nowrap" align="center"><img src="<?= ZM_DIR_IMAGES.'/'.$browser_image ?>" alt="<?= $monitor['Name'] ?>" hspace="0" vspace="0" align="middle"/></p> <p mode="nowrap" align="center"><img src="<?= ZM_DIR_IMAGES.'/'.$browser_image ?>" alt="<?= $monitor['Name'] ?>" hspace="0" vspace="0" align="middle"/></p>
</card> </card>
</wml> </wml>

View File

@ -20,7 +20,7 @@
?> ?>
<wml> <wml>
<card id="zmLogin" title="ZM - <?= $zmSlangLogin ?>"> <card id="zmLogin" title="<?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangLogin ?>">
<p align="center">ZoneMinder <?= $zmSlangLogin ?></p> <p align="center">ZoneMinder <?= $zmSlangLogin ?></p>
<p align="center"> <p align="center">
<input title="<?= $zmSlangUsername ?>" type="text" name="Username" value="<?= isset($username)?$username:"" ?>" size="12"/><br/> <input title="<?= $zmSlangUsername ?>" type="text" name="Username" value="<?= isset($username)?$username:"" ?>" size="12"/><br/>

View File

@ -20,7 +20,7 @@
?> ?>
<wml> <wml>
<card id="zmLoggingIn" title="ZM - <?= $zmSlangLoggingIn ?>" ontimer="<?= $PHP_SELF ?>?view=console"> <card id="zmLoggingIn" title="<?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangLoggingIn ?>" ontimer="<?= $PHP_SELF ?>?view=console">
<timer value="25"/> <timer value="25"/>
<p align="center"><br/>ZoneMinder - <?= $zmSlangLogin ?></p> <p align="center"><br/>ZoneMinder - <?= $zmSlangLogin ?></p>
<p align="center"><br/><strong><?= $zmSlangLoggingIn ?></strong><br/><br/> <p align="center"><br/><strong><?= $zmSlangLoggingIn ?></strong><br/><br/>

View File

@ -64,7 +64,7 @@ while( $row = mysql_fetch_assoc( $result ) )
?> ?>
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangConsole ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangConsole ?></title>
<link rel="stylesheet" href="zm_xhtml_styles.css" type="text/css"/> <link rel="stylesheet" href="zm_xhtml_styles.css" type="text/css"/>
</head> </head>
<body> <body>

View File

@ -21,7 +21,7 @@
?> ?>
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangError ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangError ?></title>
<link rel="stylesheet" href="zm_xhtml_styles.css" type="text/css"> <link rel="stylesheet" href="zm_xhtml_styles.css" type="text/css">
<body> <body>
<table align="center" border="0" cellspacing="2" cellpadding="2" width="96%"> <table align="center" border="0" cellspacing="2" cellpadding="2" width="96%">

View File

@ -96,7 +96,7 @@ $paged = $event['Frames'] > $frames_per_page;
?> ?>
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangEvent ?> - <?= $event['Name'] ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangEvent ?> - <?= $event['Name'] ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
</head> </head>
<body> <body>

View File

@ -105,7 +105,7 @@ elseif ( !empty( $limit ) )
?> ?>
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangEvents ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangEvents ?></title>
<link rel="stylesheet" href="zm_xhtml_styles.css" type="text/css"> <link rel="stylesheet" href="zm_xhtml_styles.css" type="text/css">
<?php <?php
if ( !($result = mysql_query( $count_sql )) ) if ( !($result = mysql_query( $count_sql )) )

View File

@ -35,7 +35,7 @@ while ( $row = mysql_fetch_assoc( $result ) )
?> ?>
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangEventFilter ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangEventFilter ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
</head> </head>
<body> <body>

View File

@ -107,7 +107,7 @@ else
?> ?>
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangFrame ?> <?= $eid."-".$fid ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangFrame ?> <?= $eid."-".$fid ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
</head> </head>
<body> <body>

View File

@ -41,7 +41,7 @@ while ( $row = mysql_fetch_assoc( $result ) )
?> ?>
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangFrames ?> <?= $eid ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangFrames ?> <?= $eid ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
<script type="text/javascript"> <script type="text/javascript">
window.focus(); window.focus();

View File

@ -31,7 +31,7 @@ $monitor = mysql_fetch_assoc( $result );
?> ?>
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangFunction ?> - <?= $monitor['Name'] ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangFunction ?> - <?= $monitor['Name'] ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
</head> </head>
<body> <body>

View File

@ -21,7 +21,7 @@
?> ?>
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangLogin ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangLogin ?></title>
<link rel="stylesheet" href="zm_xhtml_styles.css" type="text/css"/> <link rel="stylesheet" href="zm_xhtml_styles.css" type="text/css"/>
</head> </head>
<body> <body>

View File

@ -47,7 +47,7 @@ while( $row = mysql_fetch_assoc( $result ) )
?> ?>
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangMontage ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangMontage ?></title>
<link rel="stylesheet" href="zm_xhtml_styles.css" type="text/css"> <link rel="stylesheet" href="zm_xhtml_styles.css" type="text/css">
</head> </head>
<body> <body>

View File

@ -36,7 +36,7 @@ while( $state = mysql_fetch_assoc( $result ) )
?> ?>
<html> <html>
<head> <head>
<title>ZM - <?= $zmSlangState ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangState ?></title>
<link rel="stylesheet" href="zm_html_styles.css" type="text/css"> <link rel="stylesheet" href="zm_html_styles.css" type="text/css">
</head> </head>
<body> <body>

View File

@ -97,7 +97,7 @@ $image_src = getStreamSrc( array( "mode=single", "monitor=".$monitor['Id'], "sca
?> ?>
<html> <html>
<head> <head>
<title>ZM - <?= $monitor['Name'] ?> - <?= $zmSlangWatch ?></title> <title><?= ZM_WEB_TITLE_PREFIX ?> - <?= $monitor['Name'] ?> - <?= $zmSlangWatch ?></title>
<link rel="stylesheet" href="zm_xhtml_styles.css" type="text/css"> <link rel="stylesheet" href="zm_xhtml_styles.css" type="text/css">
</head> </head>
<body> <body>

View File

@ -522,6 +522,14 @@ my @options =
type => $types{string}, type => $types{string},
category => 'video', category => 'video',
}, },
{
name => "ZM_WEB_TITLE_PREFIX",
default => "ZM",
description => "The title prefix displayed on each window",
help => "If you have more than one installation of ZoneMinder it can be helpful to display different titles for each one. Changing this option allows you to customise the window titles to include further information to aid identification.",
type => $types{string},
category => 'web',
},
{ {
name => "ZM_WEB_RESIZE_CONSOLE", name => "ZM_WEB_RESIZE_CONSOLE",
default => "yes", default => "yes",