add.html.tmpl

来自「buzilla软件」· TMPL 代码 · 共 57 行

TMPL
57 行
字号
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1160863330',        'name' => 'admin/classifications/add.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";    #line 22 "template\en\default\admin\classifications\add.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => 'Add new classification' });    $output .=  "\n\n<form method=post action=\"editclassifications.cgi\">\n  <table border=0 cellpadding=4 cellspacing=0>\n    <tr>\n      <th align=\"right\">Classification:</th>\n      <td><input size=64 maxlength=64 name=\"classification\"></td>\n    </tr>\n    <tr>\n      <th align=\"right\">Description:</th>\n      <td>";    #line 35 "template\en\default\admin\classifications\add.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=\"sortkey\">Sortkey:</label></th>\n      <td><input id=\"sortkey\" size=\"20\" maxlength=\"20\" name=\"sortkey\" \n                 value=\"\"></td>\n    </tr>\n  </table>\n  <hr>\n  <input type=submit value=\"Add\">\n  <input type=hidden name=\"action\" value=\"new\">\n  <input type=\"hidden\" name=\"token\" value=\"";    #line 52 "template\en\default\admin\classifications\add.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\n<p>Back to the <a href=\"./\">main ";    #line 55 "template\en\default\admin\classifications\add.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " page</a>\nor <a href=\"editclassifications.cgi\"> edit</a> more classifications.\n";    #line 58 "template\en\default\admin\classifications\add.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 + =
减小字号Ctrl + -
显示快捷键?