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

📄 edit.html.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1178828194',        'name' => 'admin/components/edit.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\n";    $output .=  "\n";    #line 30 "template\en\default\admin\components\edit.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 34 "template\en\default\admin\components\edit.html.tmpl"        # CAPTURE    $stash->set('title', do {        my $output = '';    $output .=  "\n  Edit component '";    #line 33 "template\en\default\admin\components\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['comp', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "' of product '";    #line 33 "template\en\default\admin\components\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['product', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "'";        $output;    });        #line 35 "template\en\default\admin\components\edit.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => $stash->get('title') });    $output .=  "\n\n<form method=\"post\" action=\"editcomponents.cgi\">\n  <table border=\"0\" cellpadding=\"4\" cellspacing=\"0\">\n\n    <tr>\n      <td valign=\"top\">Component:</td>\n      <td><input size=\"64\" maxlength=\"64\" name=\"component\" value=\"";    #line 45 "template\en\default\admin\components\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['comp', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\"></td>\n    </tr>\n    <tr>\n      <td valign=\"top\">Component Description:</td>\n      <td>";    #line 50 "template\en\default\admin\components\edit.html.tmpl"    $output .=  $context->include('global/textarea.html.tmpl', { 'name' => 'description', 'minrows' => 4, 'cols' => 64, 'wrap' => 'virtual', 'defaultcontent' => $stash->get(['comp', 0, 'description', 0]) });    $output .=  "\n      </td>\n    </tr>\n    <tr>\n      <td valign=\"top\"><label for=\"initialowner\">Default Assignee:</label></td>\n      <td>";    #line 62 "template\en\default\admin\components\edit.html.tmpl"    $output .=  $context->include('global/userselect.html.tmpl', { 'name' => 'initialowner', 'id' => 'initialowner', 'value' => $stash->get(['comp', 0, 'default_assignee', 0, 'login', 0]), 'size' => 64, 'emptyok' => 1 });    $output .=  "\n      </td>\n  ";    #line 84 "template\en\default\admin\components\edit.html.tmpl"    if ($stash->get(['Param', [ 'useqacontact' ]])) {    $output .=  "\n    </tr>\n    <tr>\n      <td valign=\"top\"><label for=\"initialqacontact\">Default QA contact:</label></td>\n      <td>";    #line 76 "template\en\default\admin\components\edit.html.tmpl"    $output .=  $context->include('global/userselect.html.tmpl', { 'name' => 'initialqacontact', 'id' => 'initialqacontact', 'value' => $stash->get(['comp', 0, 'default_qa_contact', 0, 'login', 0]), 'size' => 64, 'emptyok' => 1 });    $output .=  "\n      </td>";    }        $output .=  "\n  \n    </tr>\n    <tr>\n      <td valign=\"top\">\n        <label for=\"initialcc\">Default CC List:</label>\n      </td>\n      <td>";    #line 92 "template\en\default\admin\components\edit.html.tmpl"    $output .=  $context->include('global/userselect.html.tmpl', { 'name' => 'initialcc', 'id' => 'initialcc', 'value' => $stash->get('initial_cc_names'), 'size' => 64, 'multiple' => 5 });    $output .=  "\n        <br>";    #line 102 "template\en\default\admin\components\edit.html.tmpl"    if (! $stash->get(['Param', [ 'usemenuforusers' ]])) {    $output .=  "\n          <em>Enter user names for the CC list as a comma-separated list.</em>";    }        $output .=  "\n      </td>\n    </tr>\n    <tr>\n      <td>";    #line 106 "template\en\default\admin\components\edit.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugs', 0]);    $output .=  ":</td>\n      <td>";    #line 115 "template\en\default\admin\components\edit.html.tmpl"    if ($stash->get(['comp', 0, 'bug_count', 0]) > 0) {    $output .=  "\n        <a title=\"";    #line 109 "template\en\default\admin\components\edit.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugs', 0]);    $output .=  " in component '";    #line 109 "template\en\default\admin\components\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['comp', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "'\"\n           href=\"buglist.cgi?component=";    #line 111 "template\en\default\admin\components\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['comp', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "&amp;product=";    #line 112 "template\en\default\admin\components\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['product', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\">";    #line 112 "template\en\default\admin\components\edit.html.tmpl"    $output .=  $stash->get(['comp', 0, 'bug_count', 0]);    $output .=  "</a>";    }    else {    $output .=  "\n        None";    }        $output .=  "\n      </td>\n    </tr>\n\n  </table>\n\n   <input type=\"hidden\" name=\"action\" value=\"update\">\n   <input type=\"hidden\" name=\"componentold\" value=\"";    #line 122 "template\en\default\admin\components\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['comp', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\">\n   <input type=\"hidden\" name=\"product\" value=\"";    #line 123 "template\en\default\admin\components\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['product', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\">\n   <input type=\"hidden\" name=\"token\" value=\"";    #line 124 "template\en\default\admin\components\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('token');                &$_tt_filter($output);    };        $output .=  "\">\n   <input type=\"submit\" value=\"Update\" id=\"update\"> or <a \n        href=\"editcomponents.cgi?action=del&amp;product=";    #line 127 "template\en\default\admin\components\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['product', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "&amp;component=";    #line 128 "template\en\default\admin\components\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['comp', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\">Delete</a> this component.\n\n</form>\n";    #line 132 "template\en\default\admin\components\edit.html.tmpl"    $output .=  $context->process('admin/components/footer.html.tmpl', { 'no_edit_component_link' => 1 });    $output .=  "\n";    #line 136 "template\en\default\admin\components\edit.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\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 + -