function js() { header("content-type: application/x-javascript"); $tpl = new templates(); $page = CurrentPageName(); $t = time(); $tpl = new templates(); $suffix = suffix(); $title = title(); $at_the_end = at_the_end(); echo "\n\tfunction Start{$t}(){\t\n\t\tRTMMail('800','{$page}?popup=yes{$suffix}','{$title}');\n\t}\n\tStart{$t}();"; }
function js() { header("content-type: application/x-javascript"); $tpl = new templates(); $page = CurrentPageName(); $t = time(); $tpl = new templates(); $compile_squid_ask = $tpl->javascript_parse_text("{compile_squid_ask}"); if ($_GET["ask"] == "yes") { $warn = "if(!confirm('{$compile_squid_ask}')){return;}"; } if (isset($_GET["CheckCaches"])) { $warn = $tpl->javascript_parse_text("{check_caches_warning}"); $warn = "if(!confirm('{$warn}')){return;}"; } $suffix = suffix(); $title = title(); $at_the_end = at_the_end(); echo "\n\tfunction Start{$t}(){\t\n\t\t{$warn}\n\t\tRTMMail('800','{$page}?popup=yes{$suffix}','{$title}');\n\t}\n\tStart{$t}();"; }
function js(){ header("content-type: application/x-javascript"); $tpl=new templates(); $page=CurrentPageName(); $t=time(); $tpl=new templates(); $suffix=suffix(); $title=title(); $at_the_end=at_the_end(); echo " function Start$t(){ RTMMail('800','$page?popup=yes$suffix','$title'); } Start$t();"; }