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

📄 create.html.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1167330008',        'name' => 'admin/components/create.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 28 "template\en\default\admin\components\create.html.tmpl"        # CAPTURE    $stash->set('title', do {        my $output = '';    $output .=  "Add component to Product '";    #line 28 "template\en\default\admin\components\create.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 30 "template\en\default\admin\components\create.html.tmpl"        # CAPTURE    $stash->set('subheader', do {        my $output = '';    $output .=  "This page allows you to add a new component to product\n                '";    #line 30 "template\en\default\admin\components\create.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 31 "template\en\default\admin\components\create.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => $stash->get('title'), 'subheader' => $stash->get('subheader') });    $output .=  "\n\n<form method=\"post\" action=\"editcomponents.cgi\">\n  <table border=\"0\" cellpadding=\"4\" cellspacing=\"0\">\n    <tr>\n      <th align=\"right\">Component:</th>\n      <td><input size=\"64\" maxlength=\"64\" name=\"component\" value=\"\"></td>\n    </tr>\n    <tr>\n      <th align=\"right\">Description:</th>\n      <td>";    #line 45 "template\en\default\admin\components\create.html.tmpl"    $output .=  $context->include('global/textarea.html.tmpl', { 'name' => 'description', 'minrows' => 4, 'cols' => 64, 'wrap' => 'virtual' });    $output .=  "\n      </td>\n    </tr>\n    <tr>\n      <th align=\"right\"><label for=\"initialowner\">Default Assignee:</label></th>\n      <td>";    #line 56 "template\en\default\admin\components\create.html.tmpl"    $output .=  $context->include('global/userselect.html.tmpl', { 'name' => 'initialowner', 'id' => 'initialowner', 'value' => '', 'size' => 64, 'emptyok' => 1 });    $output .=  "\n      </td>\n    </tr>";    #line 79 "template\en\default\admin\components\create.html.tmpl"    if ($stash->get(['Param', [ 'useqacontact' ]])) {    $output .=  "\n    <tr>\n      <th align=\"right\">\n        <label for=\"initialqacontact\">Default QA Contact:</label></th>\n      <td>";    #line 70 "template\en\default\admin\components\create.html.tmpl"    $output .=  $context->include('global/userselect.html.tmpl', { 'name' => 'initialqacontact', 'id' => 'initialqacontact', 'value' => '', 'size' => 64, 'emptyok' => 1 });    $output .=  "\n      </td>\n    </tr>";    }        $output .=  "\n    <tr>\n      <th align=\"right\">\n        <label for=\"initialcc\">Default CC List:</label>\n      </th>\n      <td>";    #line 85 "template\en\default\admin\components\create.html.tmpl"    $output .=  $context->include('global/userselect.html.tmpl', { 'name' => 'initialcc', 'id' => 'initialcc', 'value' => '', 'size' => 64, 'multiple' => 5 });    $output .=  "\n        <br>";    #line 95 "template\en\default\admin\components\create.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  </table>\n  <hr>\n  <input type=\"submit\" id=\"create\" value=\"Add\">\n  <input type=\"hidden\" name=\"action\" value=\"new\">\n  <input type=\"hidden\" name='open_name' value='All Open'>\n  <input type=\"hidden\" name='nonopen_name' value='All Closed'>\n  <input type=\"hidden\" name='product' value=\"";    #line 104 "template\en\default\admin\components\create.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 105 "template\en\default\admin\components\create.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</form>\n";    #line 108 "template\en\default\admin\components\create.html.tmpl"    $output .=  $context->process('admin/components/footer.html.tmpl');    $output .=  "\n";    #line 110 "template\en\default\admin\components\create.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 + -