?? help-header.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1123637442', 'name' => 'global/help-header.html.tmpl', }, BLOCK => sub { my $context = shift || die "template sub called without context\n"; my $stash = $context->stash; my $output = ''; my $_tt_error; eval { BLOCK: { $output .= "\n"; $output .= "\n"; #line 22 "template\en\default\global\help-header.html.tmpl" # USE $stash->set('Bugzilla', $context->plugin('Bugzilla')); #line 23 "template\en\default\global\help-header.html.tmpl" $stash->set('cgi', $stash->get(['Bugzilla', 0, 'cgi', 0])); $output .= "\n"; #line 90 "template\en\default\global\help-header.html.tmpl" if ($stash->get(['cgi', 0, 'param', [ 'help' ]])) { #line 82 "template\en\default\global\help-header.html.tmpl" if ($stash->get(['cgi', 0, 'user_agent', [ 'Mozilla/5' ]])) { $output .= "\n <style type=\"text/css\">\n .help {\n border-style: solid;\n border-color: #F0A000;\n background-color: #FFFFFF;\n padding: 5;\n position: absolute;\n }\n </style>\n\n <script type=\"text/javascript\">\n var currentHelp;\n\n function initHelp() {\n for (var i = 0; i < document.forms.length; i++) {\n for (var j = 0; j < document.forms[i].elements.length; j++) {\n "; $output .= "\n if (document.forms[i].elements[j].tagName != 'FIELDSET') {\n document.forms[i].elements[j].onmouseover = showHelp;\n }\n }\n }\n\n document.body.onclick = hideHelp;\n }\n\n function showHelp() { \n hideHelp();\n var newHelp = document.getElementById(this.name + '_help');\n if (newHelp) {\n currentHelp = newHelp;\n\n var mytop = this.offsetTop;\n var myleft = this.offsetLeft;\n var myparent = this.offsetParent;\n while (myparent.tagName != 'BODY') {\n mytop = mytop + myparent.offsetTop;\n myleft = myleft + myparent.offsetLeft;\n myparent = myparent.offsetParent;\n }\n\n currentHelp.style.top = mytop + this.offsetHeight + 5 + \"px\";\n currentHelp.style.left = myleft + \"px\";\n currentHelp.style.display='';\n }\n }\n\n function hideHelp() {\n if (currentHelp) {\n currentHelp.style.display='none';\n }\n }\n </script>"; } } else { $output .= "\n <script type=\"text/javascript\">\n <!--\n "; $output .= "\n function initHelp() {}\n // -->\n </script>"; } $output .= "\n\n"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_error->type eq 'return'; } return $output; }, DEFBLOCKS => { },});
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -