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

📄 edit.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
📖 第 1 页 / 共 3 页
字号:
    #line 284 "template\en\default\bug\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'milestoneurl', 0]);                &$filter($output);    };        $output .=  "\">";    }        $output .=  "\n            Target Milestone";    #line 287 "template\en\default\bug\edit.html.tmpl"    if ($stash->get(['bug', 0, 'milestoneurl', 0])) {    $output .=  '</a>';    }        $output .=  ":\n          </b>\n        </td>";    #line 291 "template\en\default\bug\edit.html.tmpl"    $output .=  $context->process('select', { 'selname' => 'target_milestone' });    }    else {    $output .=  "\n        <td colspan=\"3\">&nbsp;</td>";    }        $output .=  "\n    </tr>\n\n";    $output .=  "\n";    #line 311 "template\en\default\bug\edit.html.tmpl"    if ($stash->get(['Param', [ 'useqacontact' ]])) {    $output .=  "\n     <tr>\n       <td align=\"right\">\n       <b><u>Q</u>A Contact:</b>\n       </td>\n       <td colspan=\"7\">\n         <input name=\"qa_contact\" accesskey=\"q\"\n                value=\"";    #line 307 "template\en\default\bug\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'qa_contact', 0, 'login', 0]);                &$filter($output);    };        $output .=  "\" size=\"60\">\n       </td>\n     </tr>";    }        $output .=  "\n\n  <tr>\n    <td align=\"right\">\n      <b>";    #line 324 "template\en\default\bug\edit.html.tmpl"    if ($stash->get(['bug', 0, 'bug_file_loc', 0]) && ! $stash->get(['bug', 0, 'bug_file_loc', 0, 'match', [ '^(javascript|data)' ]])) {    $output .=  "\n          <a href=\"";    #line 319 "template\en\default\bug\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'bug_file_loc', 0]);                &$filter($output);    };        $output .=  "\"><u>U</u>RL</a>:";    }    else {    $output .=  "\n          <u>U</u>RL:";    }        $output .=  "\n      </b>\n    </td>\n    <td colspan=\"5\">\n      <input name=\"bug_file_loc\" accesskey=\"u\"\n             value=\"";    #line 329 "template\en\default\bug\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'bug_file_loc', 0]);                &$filter($output);    };        $output .=  "\" size=\"60\">\n    </td>\n    <td rowspan=\"4\" colspan=\"2\" valign=\"top\">";    #line 335 "template\en\default\bug\edit.html.tmpl"    if ($stash->get(['bug', 0, 'flag_types', 0, 'size', 0]) > 0) {    #line 333 "template\en\default\bug\edit.html.tmpl"    $output .=  $context->process('flag/list.html.tmpl', { 'flag_types' => $stash->get(['bug', 0, 'flag_types', 0]), 'any_flags_requesteeble' => $stash->get(['bug', 0, 'any_flags_requesteeble', 0]) });    }        $output .=  "\n    </td>\n  </tr>\n\n  <tr>\n    <td align=\"right\">\n      <b><u>S</u>ummary:</b>\n    </td>\n    <td colspan=\"5\">\n      <input name=\"short_desc\" accesskey=\"s\"\n             value=\"";    #line 345 "template\en\default\bug\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'short_desc', 0]);                &$filter($output);    };        $output .=  "\" size=\"60\">\n    </td>\n  </tr>\n";    #line 361 "template\en\default\bug\edit.html.tmpl"    if ($stash->get(['Param', [ 'usestatuswhiteboard' ]])) {    $output .=  "\n    <tr>\n      <td align=\"right\">\n        <b>Status <u>W</u>hiteboard:</b>\n      </td>\n      <td colspan=\"5\">\n        <input name=\"status_whiteboard\" accesskey=\"w\"\n               value=\"";    #line 357 "template\en\default\bug\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'status_whiteboard', 0]);                &$filter($output);    };        $output .=  "\" size=\"60\">\n      </td>\n    </tr>";    }        $output .=  "\n";    #line 376 "template\en\default\bug\edit.html.tmpl"    if ($stash->get(['bug', 0, 'use_keywords', 0])) {    $output .=  "\n    <tr>\n      <td align=\"right\">\n        <b>\n          <a href=\"describekeywords.cgi\"><u>K</u>eywords</a>:\n        </b>\n      <td colspan=\"5\">\n        <input name=\"keywords\" accesskey=\"k\"\n               value=\"";    #line 372 "template\en\default\bug\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'keywords', 0, 'join', [ ', ' ]]);                &$filter($output);    };        $output .=  "\" size=\"60\">\n      </td>\n    </tr>";    }        $output .=  "\n  </table>\n";    #line 439 "template\en\default\bug\edit.html.tmpl"    if ($stash->get(['UserInGroup', [ $stash->get(['Param', [ 'timetrackinggroup' ]]) ]])) {    $output .=  "\n    <br>\n    <table cellspacing=\"0\" cellpadding=\"4\" border=\"1\">\n      <tr>\n        <th align=\"center\" bgcolor=\"#cccccc\">\n          Orig. Est.\n        </th>\n        <th align=\"center\" bgcolor=\"#cccccc\">\n          Current Est.\n        </th>\n        <th align=\"center\" bgcolor=\"#cccccc\">\n          Hours Worked\n        </th>\n        <th align=\"center\" bgcolor=\"#cccccc\">\n          Hours Left\n        </th>\n        <th align=\"center\" bgcolor=\"#cccccc\">\n          %Complete\n        </th>\n        <th align=\"center\" bgcolor=\"#cccccc\">\n          Gain\n        </th>\n      </tr>\n      <tr>\n        <td align=\"center\">\n          <input name=\"estimated_time\"\n                 value=\"";    #line 406 "template\en\default\bug\edit.html.tmpl"    $output .=  $context->process('formattimeunit', { 'time_unit' => $stash->get(['bug', 0, 'estimated_time', 0]) });    $output .=  "\"\n                 size=\"6\" maxlength=\"6\">\n        </td>\n        <td align=\"center\">";    #line 412 "template\en\default\bug\edit.html.tmpl"    $output .=  $context->process('formattimeunit', { 'time_unit' => ($stash->get(['bug', 0, 'actual_time', 0]) + $stash->get(['bug', 0, 'remaining_time', 0])) });    $output .=  "\n        </td>\n        <td align=\"center\">";    #line 417 "template\en\default\bug\edit.html.tmpl"    $output .=  $context->process('formattimeunit', { 'time_unit' => $stash->get(['bug', 0, 'actual_time', 0]) });    $output .=  " +\n          <input name=\"work_time\" value=\"0\" size=\"3\" maxlength=\"6\"\n                 onchange=\"adjustRemainingTime();\">\n        </td>\n        <td align=\"center\">\n          <input name=\"remaining_time\"\n                 value=\"";    #line 423 "template\en\default\bug\edit.html.tmpl"    $output .=  $context->process('formattimeunit', { 'time_unit' => $stash->get(['bug', 0, 'remaining_time', 0]) });    $output .=  "\"\n                 size=\"6\" maxlength=\"6\" onchange=\"updateRemainingTime();\">\n        </td>\n        <td align=\"center\">";    #line 429 "template\en\default\bug\edit.html.tmpl"    $output .=  $context->process('calculatepercentage', { 'act' => $stash->get(['bug', 0, 'actual_time', 0]), 'rem' => $stash->get(['bug', 0, 'remaining_time', 0]) });    $output .=  "\n        </td>\n        <td align=\"center\">";    #line 434 "template\en\default\bug\edit.html.tmpl"    $output .=  $context->process('formattimeunit', { 'time_unit' => $stash->get(['bug', 0, 'estimated_time', 0]) - ($stash->get(['bug', 0, 'actual_time', 0]) + $stash->get(['bug', 0, 'remaining_time', 0])) });    $output .=  "\n        </td>\n      </tr>\n    </table>";    }        $output .=  "\n\n";    $output .=  "\n";    #line 444 "template\en\default\bug\edit.html.tmpl"    $output .=  $context->process('attachment/list.html.tmpl', { 'attachments' => $stash->get(['bug', 0, 'attachments', 0]), 'bugid' => $stash->get(['bug', 0, 'bug_id', 0]), 'num_attachment_flag_types' => $stash->get(['bug', 0, 'num_attachment_flag_types', 0]), 'show_attachment_flags' => $stash->get(['bug', 0, 'show_attachment_flags', 0]) });    $output .=  "\n\n";    $output .=  "\n\n  <table>\n    <tr>";    #line 456 "template\en\default\bug\edit.html.tmpl"    $output .=  $context->process('dependencies', { 'dep' => { 'title' => 'depends on', 'fieldname' => 'dependson'  } });    $output .=  "\n      <td rowspan=\"2\">\n        <a href=\"showdependencytree.cgi?id=";    #line 459 "template\en\default\bug\edit.html.tmpl"    $output .=  $stash->get(['bug', 0, 'bug_id', 0]);    $output .=  "\">Show\n        dependency tree</a>\n";    #line 468 "template\en\default\bug\edit.html.tmpl"    if ($stash->get(['Param', [ 'webdotbase' ]])) {    $output .=  "\n          <br>\n          <a href=\"showdependencygraph.cgi?id=";    #line 465 "template\en\default\bug\edit.html.tmpl"    $output .=  $stash->get(['bug', 0, 'bug_id', 0]);    $output .=  "\">Show\n          dependency graph</a>";    }        $output .=  "\n      </td>\n    </tr>\n\n    <tr>";    #line 474 "template\en\default\bug\edit.html.tmpl"    $output .=  $context->process('dependencies', { 'accesskey' => 'b', 'dep' => { 'title' => '<u>b</u>locks', 'fieldname' => 'blocked'  } });    $output .=  "\n    </tr>\n  </table>\n";    #line 497 "template\en\default\bug\edit.html.tmpl"    if ($stash->get(['bug', 0, 'use_votes', 0])) {    $output .=  "\n  <table>\n    <tr>\n      <th>\n        <a href=\"page.cgi?id=voting.html\">Votes</a>:\n      </th>\n      <td>";    #line 488 "template\en\default\bug\edit.html.tmpl"    $output .=  $stash->get(['bug', 0, 'votes', 0]);    $output .=  "&nbsp;&nbsp;&nbsp;\n        <a href=\"votes.cgi?action=show_bug&amp;bug_id=";    #line 489 "template\en\default\bug\edit.html.tmpl"    $output .=  $stash->get(['bug', 0, 'bug_id', 0]);    $output .=  "\">Show\n        votes for this ";    #line 490 "template\en\default\bug\edit.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  "</a>&nbsp;&nbsp;&nbsp;\n        <a href=\"votes.cgi?action=show_user&amp;bug_id=";    #line 491 "template\en\default\bug\edit.html.tmpl"    $output .=  $stash->get(['bug', 0, 'bug_id', 0]);    $output .=  "\">Vote\n        for this ";    #line 492 "template\en\default\bug\edit.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  "</a>\n      </td>\n    </tr>\n  </table>";    }        $output .=  "\n\n";    $output .=  "\n\n  <br>\n  <b>Additional <u>C</u>omments:</b>";    #line 508 "template\en\default\bug\edit.html.tmpl"    if ($stash->get(['Param', [ 'insidergroup' ]]) && $stash->get(['UserInGroup', [ $stash->get(['Param', [ 'insidergroup' ]]) ]])) {    $output .=  "\n    <input type=\"checkbox\" name=\"commentprivacy\" value=\"1\"\n           id=\"newcommentprivacy\"> Private";    }        $output .=  "\n  <br>\n  <a name=\"add_comment\"></a>\n  <textarea wrap=\"hard\" name=\"comment\" id=\"comment\" rows=\"10\" cols=\"80\"\n            accesskey=\"c\"></textarea>\n  <br>\n";    #line 577 "template\en\default\bug\edit.html.tmpl"    if ($stash->get(['bug', 0, 'groups', 0, 'size', 0]) > 0) {    #line 516 "template\en\default\bug\edit.html.tmpl"    $stash->set('inallgroups', 1);        #line 516 "template\en\default\bug\edit.html.tmpl"    $stash->set('inagroup', 0);        #line 539 "template\en\default\bug\edit.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get(['bug', 0, 'groups', 0]);                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->{'group'} = $value;    #line 516 "template\en\default\bug\edit.html.tmpl"    if (! $stash->get(['group', 0, 'ingroup', 0])) {    $stash->set('inallgroups', 0);        }        #line 516 "template\en\default\bug\edit.html.tmpl"    if ($stash->get(['group', 0, 'ison', 0])) {    $stash->set('inagroup', 1);        }        $output .=  "\n";    #line 539 "template\en\default\bug\edit.html.tmpl"    if (! $stash->get(['group', 0, 'mandatory', 0])) {    #line 529 "template\en\default\bug\edit.html.tmpl"    if (! $stash->get('emitted_description')) {    #line 519 "template\en\default\bug\edit.html.tmpl"    $stash->set('emitted_description', 1);        $output .=  "\n          <br>\n          <b>Only users in all of the selected groups can view this ";    #line 521 "template\en\default\bug\edit.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  ":</b>\n          <br>\n          <font size=\"-1\">\n            (Unchecking all boxes makes this a more public ";    #line 524 "template\en\default\bug\edit.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  ".)\n          </font>\n          <br>\n          <br>";    }        $output .=  "\n\n      &nbsp;&nbsp;&nbsp;&nbsp;\n      <input type=\"checkbox\" name=\"bit-";    #line 532 "template\en\default\bug\edit.html.tmpl"    $output .=  $stash->get(['group', 0, 'bit', 0]);

⌨️ 快捷键说明

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