updatePageVars(array( 'title' => Lang::$maps['maps'], 'tab' => 1, 'reqCSS' => array( ['string' => 'zone-picker { margin-left: 4px }'], ['path' => 'static/css/Mapper.css'], ['path' => 'static/css/Mapper_ie6.css', 'ieCond' => 'lte IE 6'] ), 'reqJS' => array( 'static/js/maps.js', 'static/js/Mapper.js', '?data=zones' ) )); $smarty->assign('lang', array_merge(Lang::$main, Lang::$maps)); // load the page $smarty->display('maps.tpl'); ?>