📄 edit.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1074451156', 'name' => 'admin/keywords/edit.html.tmpl', }, BLOCK => sub { my $context = shift || die "template sub called without context\n"; my $stash = $context->stash; my $output = ''; my $error; eval { BLOCK: { $output .= "\n"; $output .= "\n\n"; $output .= "\n"; #line 31 "template\en\default\admin\keywords\edit.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 34 "template\en\default\admin\keywords\edit.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => 'Edit keyword' }); $output .= "\n\n<form method=\"post\" action=\"editkeywords.cgi\">\n <table border=\"0\" cellpadding=\"4\" cellspacing=\"0\">\n <tr>\n <th align=\"right\">Name:</th>\n <td><input size=\"64\" maxlength=\"64\" name=\"name\" value=\""; #line 42 "template\en\default\admin\keywords\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$filter($output); }; $output .= "\"></td>\n </tr>\n <tr>\n <th align=\"right\">Description:</th>\n <td>\n <textarea rows=\"4\" cols=\"64\" wrap=\"virtual\"\n name=\"description\">"; #line 48 "template\en\default\admin\keywords\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('description'); &$filter($output); }; $output .= "</textarea>\n </td>\n </tr>\n <tr>\n <th align=\"right\">"; #line 52 "template\en\default\admin\keywords\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= ":</th>\n <td>"; #line 58 "template\en\default\admin\keywords\edit.html.tmpl" if ($stash->get('bug_count')) { #line 55 "template\en\default\admin\keywords\edit.html.tmpl" $output .= $stash->get('bug_count'); } else { $output .= "\n none"; } $output .= "\n </td>\n </tr>\n </table>\n\n <input type=\"submit\" value=\"Update\">\n <input type=\"hidden\" name=\"action\" value=\"update\">\n <input type=\"hidden\" name=\"id\" value=\""; #line 65 "template\en\default\admin\keywords\edit.html.tmpl" $output .= $stash->get('keyword_id'); $output .= "\">\n</form>\n\n<p><a href=\"editkeywords.cgi\">Edit other keywords</a>.</p>\n"; #line 71 "template\en\default\admin\keywords\edit.html.tmpl" $output .= $context->process('global/footer.html.tmpl'); $output .= "\n"; } }; if ($@) { $error = $context->catch($@, \$output); die $error unless $error->type eq 'return'; } return $output; }, DEFBLOCKS => { },});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -