📄 edit.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1168213598', 'name' => 'admin/fieldvalues/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 23 "template\en\default\admin\fieldvalues\edit.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 26 "template\en\default\admin\fieldvalues\edit.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "Edit Value '"; #line 25 "template\en\default\admin\fieldvalues\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('value'); &$_tt_filter($output); }; $output .= "' '"; #line 26 "template\en\default\admin\fieldvalues\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('field'); &$_tt_filter($output); }; $output .= "'"; $output; }); #line 27 "template\en\default\admin\fieldvalues\edit.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => $stash->get('title') }); $output .= "\n\n<form method=\"post\" action=\"editvalues.cgi\">\n <table border=\"0\" cellpadding=\"4\" cellspacing=\"0\">\n\n <tr>\n <th valign=\"top\"><label for=\"value\">Field Value:</label></th>\n <td>"; #line 43 "template\en\default\admin\fieldvalues\edit.html.tmpl" if ($stash->get('is_static')) { $output .= "\n <input type=\"hidden\" name=\"value\" value=\""; #line 38 "template\en\default\admin\fieldvalues\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('value'); &$_tt_filter($output); }; $output .= "\">"; #line 39 "template\en\default\admin\fieldvalues\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('value'); &$_tt_filter($output); }; } else { $output .= "\n <input id=\"value\" size=\"20\" maxlength=\"60\" name=\"value\" value=\""; #line 42 "template\en\default\admin\fieldvalues\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('value'); &$_tt_filter($output); }; $output .= "\">"; } $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\" value=\""; #line 49 "template\en\default\admin\fieldvalues\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('sortkey'); &$_tt_filter($output); }; $output .= "\"></td>\n </tr>\n\n </table>\n\n <input type=\"hidden\" name=\"valueold\" value=\""; #line 54 "template\en\default\admin\fieldvalues\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('value'); &$_tt_filter($output); }; $output .= "\">\n <input type=\"hidden\" name=\"sortkeyold\" value=\""; #line 55 "template\en\default\admin\fieldvalues\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('sortkey'); &$_tt_filter($output); }; $output .= "\">\n <input type=\"hidden\" name=\"action\" value=\"update\">\n <input type=\"hidden\" name=\"field\" value=\""; #line 57 "template\en\default\admin\fieldvalues\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('field'); &$_tt_filter($output); }; $output .= "\">\n <input type=\"hidden\" name=\"token\" value=\""; #line 58 "template\en\default\admin\fieldvalues\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\" id=\"update\" value=\"Update\">\n</form>\n"; #line 62 "template\en\default\admin\fieldvalues\edit.html.tmpl" $output .= $context->process('admin/fieldvalues/footer.html.tmpl', { 'no_edit_link' => 1 }); $output .= "\n"; #line 65 "template\en\default\admin\fieldvalues\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 + -