IE6 Workaround
HDR_PART1;
//**********************************************
//* Function definition *
//**********************************************
/*
* Our HTML 'header generator'. This function generates the code which should be placed
* between HTML and tags.
*
* Usage:
* $head_html = mapview_GenHdrCode ($translation_tbl);
*
* Where
* - $translation_tbl is an associative array containing parameter<->English text pairs.
* This is used in popups to do a dynamic translation between a ZKL instance parameter
* to human readable text.
*
* The English strings are fed through i18n, so it is not necessary to do this before
* entering this function.
*
* Example: say we have a parameter called 'gps_lon' for GPS coordinate longitude. To
* translate this into human readable form, make sure thi sis in the code somewhere:
* translation_tbl['gps_lon'] = "GPS Longitude:";
*/
function mapview_GenHdrCode($translation_tbl) {
// Generate JavaScript version of the translation table
$js_trans_tbl = ''."\n";
// Assemble the different parts, and return the assembly
return "\n".
$GLOBALS['hdr_part1'].
$js_trans_tbl.
"\n";
}
?>