diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/search/search-advanced.html.tmpl | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/template/en/default/search/search-advanced.html.tmpl b/template/en/default/search/search-advanced.html.tmpl index 0afa1437f..ef7fa769a 100644 --- a/template/en/default/search/search-advanced.html.tmpl +++ b/template/en/default/search/search-advanced.html.tmpl @@ -36,12 +36,11 @@ var queryform = "queryform" [% PROCESS global/header.html.tmpl title = "Search for $terms.bugs" - onload = "doOnSelectProduct(0); enableHelp();" + onload = "doOnSelectProduct(0);" javascript = js_data yui = [ 'autocomplete', 'calendar' ] - javascript_urls = [ "js/productform.js", "js/util.js", - "js/help.js" , "js/TUI.js", "js/field.js"] - style_urls = [ "skins/standard/help.css" , "skins/standard/search_form.css" ] + javascript_urls = [ "js/productform.js", "js/util.js", "js/TUI.js", "js/field.js"] + style_urls = [ "skins/standard/search_form.css" ] doc_section = "query.html" style = "dl.bug_changes dt { margin-top: 15px; @@ -52,19 +51,7 @@ var queryform = "queryform" [% button_name = "Search" %] -[%# The decent help requires Javascript %] -<script type="text/javascript"> <!-- -[% IF NOT cgi.param("help") %] - document.write("<p><a href='query.cgi?help=1&format=advanced'>Give me some help<\/a> (reloads page).<\/p>"); -[% ELSE %] - [% PROCESS "bug/field-help.none.tmpl" %] - if (generateHelp()) - document.write("<p>For help, mouse over the page elements.<\/p>"); - else - document.write("<p>Help initialization failed, no help available.<\/p>"); -[% END %] -// --> -</script> +<p id="search_help">Hover your mouse over each field label to get help for that field.</p> <form method="post" action="buglist.cgi" name="queryform" id="queryform"> |