This contribution inserts a <param> tag into the HTML code that is passed on to the web browser. It tells the browser specifically what icons to show.
I created a php file called teddy_config.php. I put this file in the same directory as the zm files on the webserver. This is the content of the teddy_config.php file:
Code: Select all
<?php
/*
This page has customized control settings for the camboloza toolset.
The following pages must be altered altered to include this page:
zm_html_view_montagefeed.php, line 190
zm_html_view_cycle.php, line 137
zm_html_view_event.php, line 342
zm_html_view_watchfeed.php, line 180
These pages must be altered so that some lines of code are inserted before the "</applet>" HTML tag. The code appears after the last "<param ... />" HTML tag.
The code is this:
// <?php
// include("teddy_config.php");
// echo $teddy_echo;
// ?>
*/
// array to hold desired controls
// $teddy_change = array("Home","ZoomIn","ZoomOut","Pan","ChangeStream","Info","WWWHelp");
$teddy_change = array("Home","ZoomIn","ZoomOut","Pan","Info");
// variable to echo in HTML pages
$teddy_echo = '<param name="accessories" value="';
for ($teddy_counter=0;$teddy_counter<count($teddy_change);$teddy_counter++) {
$teddy_echo .= $teddy_change[$teddy_counter];
$teddy_echo .= ",";
}
$teddy_echo .= '"/>';
?>
Code: Select all
<?php
include("teddy_config.php");
echo $teddy_echo;
?>