Added alt tags to all stream images.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1323 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
cc07a6762f
commit
6bd262e887
|
@ -151,7 +151,7 @@ autostart="true">
|
|||
if ( canStreamNative() )
|
||||
{
|
||||
?>
|
||||
<img src="<?= $stream_src ?>" border="0" width="<?= reScale( $monitor['Width'], $scale ) ?>" height="<?= reScale( $monitor['Height'], $scale ) ?>">
|
||||
<img src="<?= $stream_src ?>" alt="<?= $monitor['Name'] ?>" border="0" width="<?= reScale( $monitor['Width'], $scale ) ?>" height="<?= reScale( $monitor['Height'], $scale ) ?>">
|
||||
<?php
|
||||
}
|
||||
else
|
||||
|
@ -165,7 +165,7 @@ autostart="true">
|
|||
else
|
||||
{
|
||||
?>
|
||||
<img name="zmImage" src="<?= $image_src ?>" border="0" width="<?= reScale( $monitor['Width'], $scale ) ?>" height="<?= reScale( $monitor['Height'], $scale ) ?>">
|
||||
<img name="zmImage" src="<?= $image_src ?>" alt="<?= $monitor['Name'] ?>" border="0" width="<?= reScale( $monitor['Width'], $scale ) ?>" height="<?= reScale( $monitor['Height'], $scale ) ?>">
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -148,7 +148,7 @@ autostart="true">
|
|||
if ( canStreamNative() )
|
||||
{
|
||||
?>
|
||||
<img src="<?= $stream_src ?>" border="0" width="<?= reScale( $monitor['Width'], $scale ) ?>" height="<?= reScale( $monitor['Height'], $scale ) ?>">
|
||||
<img src="<?= $stream_src ?>" alt="<?= $monitor['Name'] ?>" border="0" width="<?= reScale( $monitor['Width'], $scale ) ?>" height="<?= reScale( $monitor['Height'], $scale ) ?>">
|
||||
<?php
|
||||
}
|
||||
else
|
||||
|
@ -162,7 +162,7 @@ autostart="true">
|
|||
else
|
||||
{
|
||||
?>
|
||||
<img name="zmImage" src="<?= $image_src ?>" border="0" width="<?= reScale( $monitor['Width'], $scale ) ?>" height="<?= reScale( $monitor['Height'], $scale ) ?>">
|
||||
<img name="zmImage" src="<?= $image_src ?>" alt="<?= $monitor['Name'] ?>" border="0" width="<?= reScale( $monitor['Width'], $scale ) ?>" height="<?= reScale( $monitor['Height'], $scale ) ?>">
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -57,7 +57,7 @@ foreach( $monitors as $monitor )
|
|||
|
||||
$image_src = getStreamSrc( array( "mode=single", "monitor=".$monitor['Id'], "scale=".$scale ) );
|
||||
?>
|
||||
<a href="<?= $PHP_SELF ?>?view=watch&mid=<?= $monitor['Id'] ?>"><img src="<?= $image_src ?>" style="border: 0" width="<?= reScale( $monitor['Width'], $scale ) ?>" height="<?= reScale( $monitor['Height'], $scale ) ?>" alt="<?= $monitor['Name'] ?>"></a>
|
||||
<a href="<?= $PHP_SELF ?>?view=watch&mid=<?= $monitor['Id'] ?>"><img src="<?= $image_src ?>" alt="<?= $monitor['Name'] ?>" style="border: 0" width="<?= reScale( $monitor['Width'], $scale ) ?>" height="<?= reScale( $monitor['Height'], $scale ) ?>"></a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -102,7 +102,7 @@ $image_src = getStreamSrc( array( "mode=single", "monitor=".$monitor['Id'], "sca
|
|||
</head>
|
||||
<body>
|
||||
<p class="<?= $class ?>" align="center"><?= makeLink( "$PHP_SELF?view=events&page=1&filter=1&trms=1&attr1=MonitorId&op1=%3d&val1=".$monitor['Id']."&&sort_field=Id&sort_desc=1", $monitor['Name'], canView( 'Events' ) ) ?>: <?= $status_string ?> - <?= $fps_string ?> fps</p>
|
||||
<p align="center"><a href="<?= $PHP_SELF ?>?view=<?= $view ?>&mid=<?= $monitor['Id'] ?>"><img src="<?= $image_src ?>" style="border: 0" width="<?= reScale( $monitor['Width'], $scale ) ?>" height="<?= reScale( $monitor['Height'], $scale ) ?>" alt="<?= $monitor['Name'] ?>"></a></p>
|
||||
<p align="center"><a href="<?= $PHP_SELF ?>?view=<?= $view ?>&mid=<?= $monitor['Id'] ?>"><img src="<?= $image_src ?>" alt="<?= $monitor['Name'] ?>" style="border: 0" width="<?= reScale( $monitor['Width'], $scale ) ?>" height="<?= reScale( $monitor['Height'], $scale ) ?>"></a></p>
|
||||
<?php
|
||||
if ( $next_mod != $mid || $prev_mid != $mid )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue