⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
📖 第 1 页 / 共 4 页
字号:
    $output .=  $stash->get('thisformat');                &$filter($output);    };        $output .=  "\">\n\n";    $output .=  "\n\n<table>\n  <tr>\n    <th align=\"right\"><u>S</u>ummary:</th>\n    <td>\n      <select name=\"short_desc_type\">";    #line 362 "template\en\default\search\form.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get('query_variants');                unless (UNIVERSAL::isa($list, 'Template::Iterator')) {            $list = Template::Config->iterator($list)                || die $Template::Config::ERROR, "\n";         }            ($value, $error) = $list->get_first();        eval { $oldloop = $stash->get('loop') };        $stash->set('loop', $list);        eval {    LOOP:   while (! $error) {                $stash->{'qv'} = $value;    $output .=  "\n        <option value=\"";    #line 358 "template\en\default\search\form.html.tmpl"    $output .=  $stash->get(['qv', 0, 'value', 0]);    $output .=  "\"";    #line 360 "template\en\default\search\form.html.tmpl"    if ($stash->get(['default', 0, 'short_desc_type', 0, 0, 0]) eq $stash->get(['qv', 0, 'value', 0])) {    $output .=  ' selected';    }        $output .=  ">";    #line 360 "template\en\default\search\form.html.tmpl"    $output .=  $stash->get(['qv', 0, 'description', 0]);    $output .=  "</option>";;                ($value, $error) = $list->get_next();            }        };        $stash->set('loop', $oldloop);        die $@ if $@;        $error = 0 if $error && $error eq Template::Constants::STATUS_DONE;        die $error if $error;    };        $output .=  "\n      </select>\n    </td>\n    <td>\n      <input name=\"short_desc\" size=\"40\" accesskey=\"s\"\n             value=\"";    #line 367 "template\en\default\search\form.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['default', 0, 'short_desc', 0, 0, 0]);                &$filter($output);    };        $output .=  "\">\n      <script language=\"JavaScript\" type=\"text/javascript\"> <!--\n          document.forms['queryform'].short_desc.focus(); \n      // -->\n      </script>\n    </td>\n    <td>";    #line 378 "template\en\default\search\form.html.tmpl"    if ($stash->get('button_name')) {    $output .=  "\n        <input type=\"submit\" value=\"";    #line 376 "template\en\default\search\form.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('button_name');                &$filter($output);    };        $output .=  "\">";    }        $output .=  "\n    </td>\n  </tr>\n\n";    $output .=  "\n\n  <tr>\n    <td colspan=\"4\">\n      <table>\n        <tr>\n          <td valign=\"top\">\n            <table>\n              <tr valign=\"bottom\">\n                <th align=\"left\"><u>P</u>roduct:</th>\n              </tr>\n              <tr valign=\"top\">\n                ";    $output .=  "\n                <td align=\"left\">\n                  <label for=\"product\" accesskey=\"p\">\n                    <select name=\"product\" multiple=\"multiple\" size=\"5\" id=\"product\"\n                            onchange=\"selectProduct(this.form);\">";    #line 407 "template\en\default\search\form.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get('product');                unless (UNIVERSAL::isa($list, 'Template::Iterator')) {            $list = Template::Config->iterator($list)                || die $Template::Config::ERROR, "\n";         }            ($value, $error) = $list->get_first();        eval { $oldloop = $stash->get('loop') };        $stash->set('loop', $list);        eval {    LOOP:   while (! $error) {                $stash->{'p'} = $value;    $output .=  "\n                      <option value=\"";    #line 401 "template\en\default\search\form.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['p', 0, 'name', 0]);                &$filter($output);    };        $output .=  "\"";    #line 403 "template\en\default\search\form.html.tmpl"    if ($stash->get(['lsearch', [ $stash->get(['default', 0, 'product', 0]), $stash->get(['p', 0, 'name', 0]) ]]) ne -1) {    $output .=  ' selected';    }        $output .=  ">";    #line 405 "template\en\default\search\form.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['p', 0, 'name', 0]);                &$filter($output);    };        $output .=  "</option>";;                ($value, $error) = $list->get_next();            }        };        $stash->set('loop', $oldloop);        die $@ if $@;        $error = 0 if $error && $error eq Template::Constants::STATUS_DONE;        die $error if $error;    };        $output .=  "\n                    </select>\n                  </label>\n                </td>\n              </tr>\n            </table>\n          </td>\n          <td valign=\"top\">\n            <table>\n              <tr valign=\"bottom\">\n                <th align=\"left\">\n                  <a href=\"describecomponents.cgi\">Co<u>m</u>ponent</a>:\n                </th>\n              </tr>\n              <tr valign=\"top\">\n                ";    $output .=  "\n                <td align=\"left\">\n                  <label for=\"component\" accesskey=\"m\">\n                    <select name=\"component\" id=\"component\"\n                            multiple=\"multiple\" size=\"5\">";    #line 436 "template\en\default\search\form.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get('component_');                unless (UNIVERSAL::isa($list, 'Template::Iterator')) {            $list = Template::Config->iterator($list)                || die $Template::Config::ERROR, "\n";         }            ($value, $error) = $list->get_first();        eval { $oldloop = $stash->get('loop') };        $stash->set('loop', $list);        eval {    LOOP:   while (! $error) {                $stash->{'c'} = $value;    $output .=  "\n                      <option value=\"";    #line 430 "template\en\default\search\form.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('c');                &$filter($output);    };        $output .=  "\"";    #line 432 "template\en\default\search\form.html.tmpl"    if ($stash->get(['lsearch', [ $stash->get(['default', 0, 'component', 0]), $stash->get('c') ]]) ne -1) {    $output .=  ' selected';    }        $output .=  ">";    #line 434 "template\en\default\search\form.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('c');                &$filter($output);    };        $output .=  "</option>";;                ($value, $error) = $list->get_next();            }        };        $stash->set('loop', $oldloop);        die $@ if $@;        $error = 0 if $error && $error eq Template::Constants::STATUS_DONE;        die $error if $error;    };        $output .=  "\n                    </select>\n                  </label>\n                </td>\n              </tr>\n            </table>\n          </td>\n          <td valign=\"top\">\n            <table>\n              <tr valign=\"bottom\">\n                <th align=\"left\"><u>V</u>ersion:</th>\n              </tr>\n              <tr valign=\"top\">";    #line 450 "template\en\default\search\form.html.tmpl"    $output .=  $context->process('select', { 'sel' => { 'name' => 'version', 'size' => 5, 'accesskey' => 'v'  } });    $output .=  "\n              </tr>\n            </table>\n          </td>";    #line 472 "template\en\default\search\form.html.tmpl"    if ($stash->get(['Param', [ 'usetargetmilestone' ]])) {    $output .=  "\n          <td valign=\"top\">\n            <table>\n              <tr valign=\"bottom\">\n                <th align=\"left\"><u>T</u>arget:</th>\n              </tr>\n              <tr valign=\"top\">";    #line 465 "template\en\default\search\form.html.tmpl"    $output .=  $context->process('select', { 'sel' => { 'name' => 'target_milestone', 'size' => 5, 'accesskey' => 't'  } });    $output .=  "\n              </tr>\n            </table>\n          </td>";    }        $output .=  "\n        </tr>\n      </table>\n    </td>\n  </tr>\n\n";    $output .=  "\n";    #line 511 "template\en\default\search\form.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = [ { 'name' => 'long_desc', 'description' => 'A&nbsp;<u>C</u>omment', 'accesskey' => 'c'  }, { 'name' => 'bug_file_loc', 'description' => 'The&nbsp;<u>U</u>RL', 'accesskey' => 'u'  }, { 'name' => 'status_whiteboard', 'description' => '<u>W</u>hiteboard', 'accesskey' => 'w'  } ];                unless (UNIVERSAL::isa($list, 'Template::Iterator')) {            $list = Template::Config->iterator($list)                || die $Template::Config::ERROR, "\n";         }            ($value, $error) = $list->get_first();        eval { $oldloop = $stash->get('loop') };        $stash->set('loop', $list);        eval {    LOOP:   while (! $error) {                $stash->{'field'} = $value;    $output .=  "\n";    #line 511 "template\en\default\search\form.html.tmpl"    if (!($stash->get(['field', 0, 'name', 0]) eq 'status_whiteboard' && ! $stash->get(['Param', [ 'usestatuswhiteboard' ]]))) {    $output .=  "\n    <tr>\n      <th align=\"right\">";    #line 492 "template\en\default\search\form.html.tmpl"    $output .=  $stash->get(['field', 0, 'description', 0]);    $output .=  ":</th>\n      <td>\n        <select name=\"";    #line 494 "template\en\default\search\form.html.tmpl"    $output .=  $stash->get(['field', 0, 'name', 0]);    $output .=  "_type\">";    #line 501 "template\en\default\search\form.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get('query_variants');                unless (UNIVERSAL::isa($list, 'Template::Iterator')) {            $list = Template::Config->iterator($list)                || die $Template::Config::ERROR, "\n";         }            ($value, $error) = $list->get_first();        eval { $oldloop = $stash->get('loop') };        $stash->set('loop', $list);        eval {    LOOP:   while (! $error) {                $stash->{'qv'} = $value;    #line 0 "template\en\default\search\form.html.tmpl"    $stash->set('type', ($stash->get(['field', 0, 'name', 0]) . "_type"));        $output .=  "\n          <option value=\"";    #line 497 "template\en\default\search\form.html.tmpl"    $output .=  $stash->get(['qv', 0, 'value', 0]);    $output .=  "\"";    #line 499 "template\en\default\search\form.html.tmpl"    if ($stash->get(['default', 0, $stash->get('type'), 0, 0, 0]) eq $stash->get(['qv', 0, 'value', 0])) {    $output .=  ' selected';    }        $output .=  ">";    #line 499 "template\en\default\search\form.html.tmpl"    $output .=  $stash->get(['qv', 0, 'description', 0]);    $output .=  "</option>";;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -