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

📄 edit-multiple.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
                &$_tt_filter($output);    };        $output .=  "</b>)\n  </label><br>";    }        $output .=  "\n\n";    #line 318 "template\en\default\list\edit-multiple.html.tmpl"    if (! $stash->get(['bugstatuses', 0, 'containsany', [ $stash->get('closedstates') ]])) {    #line 294 "template\en\default\list\edit-multiple.html.tmpl"    $stash->set('knum', $stash->get('knum') + 1);        $output .=  "\n  <input id=\"knob-accept\" type=\"radio\" name=\"knob\" value=\"accept\">\n  <label for=\"knob-accept\">\n    Accept ";    #line 297 "template\en\default\list\edit-multiple.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " (change status to <b>";    #line 297 "template\en\default\list\edit-multiple.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['status_descs', 0, 'ASSIGNED', 0]);                &$_tt_filter($output);    };        $output .=  "</b>)\n  </label><br>\n";    #line 300 "template\en\default\list\edit-multiple.html.tmpl"    $stash->set('knum', $stash->get('knum') + 1);        $output .=  "\n  <input id=\"knob-clearresolution\" type=\"radio\" name=\"knob\" value=\"clearresolution\">\n  <label for=\"knob-clearresolution\">Clear the resolution</label><br>\n";    #line 304 "template\en\default\list\edit-multiple.html.tmpl"    $stash->set('knum', $stash->get('knum') + 1);        $output .=  "\n  <input id=\"knob-resolve\" type=\"radio\" name=\"knob\" value=\"resolve\">\n  <label for=\"knob-resolve\">\n    Resolve ";    #line 307 "template\en\default\list\edit-multiple.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  ", changing <a href=\"page.cgi?id=fields.html#resolution\">resolution</a> to\n  </label>\n  <select name=\"resolution\" onchange=\"document.forms.changeform.knob[";    #line 309 "template\en\default\list\edit-multiple.html.tmpl"    $output .=  $stash->get('knum');    $output .=  "].checked=true\">";    #line 315 "template\en\default\list\edit-multiple.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('resolutions');                unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) {            $_tt_list = Template::Config->iterator($_tt_list)                || die $Template::Config::ERROR, "\n";         }            ($_tt_value, $_tt_error) = $_tt_list->get_first();        eval { $_tt_oldloop = $stash->get('loop') };        $stash->set('loop', $_tt_list);        eval {    LOOP:   while (! $_tt_error) {                $stash->{'resolution'} = $_tt_value;    #line 311 "template\en\default\list\edit-multiple.html.tmpl"    if (! $stash->get('resolution')) {    ($_tt_value, $_tt_error) = $_tt_list->get_next();    next LOOP;        }        $output .=  "\n      <option value=\"";    #line 312 "template\en\default\list\edit-multiple.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('resolution');                &$_tt_filter($output);    };        $output .=  "\">";    #line 313 "template\en\default\list\edit-multiple.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['get_resolution', [ $stash->get('resolution') ]]);                &$_tt_filter($output);    };        $output .=  "\n      </option>";;                ($_tt_value, $_tt_error) = $_tt_list->get_next();            }        };        $stash->set('loop', $_tt_oldloop);        die $@ if $@;        $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;        die $_tt_error if $_tt_error;    };        $output .=  "\n  </select><br>\n";    }        $output .=  "\n\n";    #line 325 "template\en\default\list\edit-multiple.html.tmpl"    if (! $stash->get(['bugstatuses', 0, 'containsany', [ $stash->get('openstates') ]])) {    #line 322 "template\en\default\list\edit-multiple.html.tmpl"    $stash->set('knum', $stash->get('knum') + 1);        $output .=  "\n  <input id=\"knob-reopen\" type=\"radio\" name=\"knob\" value=\"reopen\">\n  <label for=\"knob-reopen\">Reopen ";    #line 324 "template\en\default\list\edit-multiple.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  "</label><br>";    }        $output .=  "\n";    #line 333 "template\en\default\list\edit-multiple.html.tmpl"    if ($stash->get(['bugstatuses', 0, 'size', 0]) eq 1) {    #line 332 "template\en\default\list\edit-multiple.html.tmpl"    if ($stash->get(['bugstatuses', 0, 'contains', [ 'RESOLVED' ]])) {    #line 329 "template\en\default\list\edit-multiple.html.tmpl"    $stash->set('knum', $stash->get('knum') + 1);        $output .=  "\n    <input id=\"knob-verify\" type=\"radio\" name=\"knob\" value=\"verify\">\n    <label for=\"knob-verify\">Mark ";    #line 331 "template\en\default\list\edit-multiple.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " as <b>";    #line 331 "template\en\default\list\edit-multiple.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['status_descs', 0, 'VERIFIED', 0]);                &$_tt_filter($output);    };        $output .=  "</b></label><br>";    }        }        $output .=  "\n";    #line 339 "template\en\default\list\edit-multiple.html.tmpl"    if (! $stash->get(['bugstatuses', 0, 'containsany', [ $stash->get('openstates') ]]) && ! $stash->get(['bugstatuses', 0, 'contains', [ 'CLOSED' ]])) {    #line 336 "template\en\default\list\edit-multiple.html.tmpl"    $stash->set('knum', $stash->get('knum') + 1);        $output .=  "\n  <input id=\"knob-close\" type=\"radio\" name=\"knob\" value=\"close\">\n  <label for=\"knob-close\">Mark ";    #line 338 "template\en\default\list\edit-multiple.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " as <b>";    #line 338 "template\en\default\list\edit-multiple.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['status_descs', 0, 'CLOSED', 0]);                &$_tt_filter($output);    };        $output .=  "</b></label><br>";    }        $output .=  "\n";    #line 341 "template\en\default\list\edit-multiple.html.tmpl"    $stash->set('knum', $stash->get('knum') + 1);        $output .=  "\n<input id=\"knob-reassign\" type=\"radio\" name=\"knob\" value=\"reassign\">\n<label for=\"knob-reassign\"><a href=\"page.cgi?id=fields.html#assigned_to\">\n  Reassign</a> ";    #line 344 "template\en\default\list\edit-multiple.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " to\n</label>";    #line 0 "template\en\default\list\edit-multiple.html.tmpl"    $output .=  $context->include('global/userselect.html.tmpl', { 'name' => 'assigned_to', 'value' => $stash->get(['user', 0, 'login', 0]), 'size' => 32, 'onchange' => ("document.forms.changeform.knob[" . $stash->get('knum') . "].checked=true;") });    $output .=  "<br>\n";    #line 353 "template\en\default\list\edit-multiple.html.tmpl"    $stash->set('knum', $stash->get('knum') + 1);        $output .=  "\n<input id=\"knob-reassignbycomponent\"\n       type=\"radio\"\n       name=\"knob\"\n       value=\"reassignbycomponent\">\n<label for=\"knob-reassignbycomponent\">\n  Reassign ";    #line 359 "template\en\default\list\edit-multiple.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " to default assignee of selected component\n</label><br>\n\n<input type=\"submit\" id=\"commit\" value=\"Commit\">\n";    #line 366 "template\en\default\list\edit-multiple.html.tmpl"    if ($stash->get(['Param', [ 'move-enabled' ]]) && $stash->get(['user', 0, 'is_mover', 0])) {    $output .=  "\n  <input type=\"submit\" name=\"action\" id=\"action\" value=\"";    #line 365 "template\en\default\list\edit-multiple.html.tmpl"    $output .=  $stash->get(['Param', [ 'move-button-text' ]]);    $output .=  "\">";    }        $output .=  "\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";        $output .=  "\n";        } };        if ($@) {            $_tt_error = $context->catch($@, \$output);            die $_tt_error unless $_tt_error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {        'selectmenu' => sub {            my $context = shift || die "template sub called without context\n";            my $stash   = $context->stash;            my $output  = '';            my $_tt_error;                        eval { BLOCK: {        $output .=  "\n  <select id=\"";        #line 373 "template\en\default\list\edit-multiple.html.tmpl"        $output .=  $stash->get('menuname');        $output .=  "\" name=\"";        #line 373 "template\en\default\list\edit-multiple.html.tmpl"        $output .=  $stash->get('menuname');        $output .=  "\">\n    <option value=\"";        #line 374 "template\en\default\list\edit-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get('dontchange');                        &$_tt_filter($output);        };                $output .=  "\" selected=\"selected\">";        #line 375 "template\en\default\list\edit-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get('dontchange');                        &$_tt_filter($output);        };                $output .=  "\n    </option>";        #line 380 "template\en\default\list\edit-multiple.html.tmpl"                # FOREACH         do {            my ($_tt_value, $_tt_error, $_tt_oldloop);            my $_tt_list = $stash->get('menuitems');                        unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) {                $_tt_list = Template::Config->iterator($_tt_list)                    || die $Template::Config::ERROR, "\n";             }                    ($_tt_value, $_tt_error) = $_tt_list->get_first();            eval { $_tt_oldloop = $stash->get('loop') };            $stash->set('loop', $_tt_list);            eval {        LOOP:   while (! $_tt_error) {                    $stash->{'menuitem'} = $_tt_value;        #line 378 "template\en\default\list\edit-multiple.html.tmpl"        if ($stash->get('property')) {        #line 378 "template\en\default\list\edit-multiple.html.tmpl"        $stash->set('menuitem', $stash->get(['menuitem', 0, $stash->get('property'), 0]));                }                $output .=  "\n      <option value=\"";        #line 379 "template\en\default\list\edit-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get('menuitem');                        &$_tt_filter($output);        };                $output .=  "\">";        #line 379 "template\en\default\list\edit-multiple.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get('menuitem');                        &$_tt_filter($output);        };                $output .=  "</option>";;                    ($_tt_value, $_tt_error) = $_tt_list->get_next();                }            };            $stash->set('loop', $_tt_oldloop);            die $@ if $@;            $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;            die $_tt_error if $_tt_error;        };                $output .=  "\n  </select>";            } };            if ($@) {                $_tt_error = $context->catch($@, \$output);                die $_tt_error unless $_tt_error->type eq 'return';            }                    return $output;        },    },});

⌨️ 快捷键说明

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