?? editparams.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1174788676', 'name' => 'admin/params/editparams.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"; $output .= "\n"; #line 28 "template\en\default\admin\params\editparams.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 30 "template\en\default\admin\params\editparams.html.tmpl" $stash->set('curpanel', -1); #line 31 "template\en\default\admin\params\editparams.html.tmpl" $stash->set('panels', $stash->get(['panels', 0, 'sort', [ 'sortkey' ]])); $output .= "\n"; #line 40 "template\en\default\admin\params\editparams.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('panels'); unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) { $_tt_list = Template::Config->iterator($_tt_list) || die $Template::Config::ERROR, "\n"; } ($_tt_value, $_tt_error) = $_tt_list->get_first(); eval { $_tt_oldloop = $stash->get('loop') }; $stash->set('loop', $_tt_list); eval { LOOP: while (! $_tt_error) { $stash->{'panel'} = $_tt_value; #line 0 "template\en\default\admin\params\editparams.html.tmpl" $output .= $context->process(("admin/params/" . $stash->get(['panel', 0, 'name', 0]) . ".html.tmpl"), { 'params' => $stash->get(['panel', 0, 'param_list', 0]) }); #line 36 "template\en\default\admin\params\editparams.html.tmpl" $stash->set(['panel', 0, 'title', 0], $stash->get('title')); #line 37 "template\en\default\admin\params\editparams.html.tmpl" $stash->set(['panel', 0, 'desc', 0], $stash->get('desc')); #line 38 "template\en\default\admin\params\editparams.html.tmpl" $stash->set(['panel', 0, 'param_descs', 0], $stash->get('param_descs')); #line 39 "template\en\default\admin\params\editparams.html.tmpl" if ($stash->get(['panel', 0, 'current', 0])) { #line 39 "template\en\default\admin\params\editparams.html.tmpl" $stash->set('curpanel', $stash->get(['loop', 0, 'index', 0])); } ; ($_tt_value, $_tt_error) = $_tt_list->get_next(); } }; $stash->set('loop', $_tt_oldloop); die $@ if $@; $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE; die $_tt_error if $_tt_error; }; $output .= "\n"; #line 42 "template\en\default\admin\params\editparams.html.tmpl" $stash->set('current_panel', $stash->get(['panels', 0, $stash->get('curpanel'), 0])); $output .= "\n\n"; $output .= "\n"; #line 54 "template\en\default\admin\params\editparams.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; #line 53 "template\en\default\admin\params\editparams.html.tmpl" if ($stash->get('curpanel') eq -1) { $output .= "\n Parameters: Index"; } else { $output .= "\n Configuration:\n "; #line 52 "template\en\default\admin\params\editparams.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['current_panel', 0, 'title', 0]); &$_tt_filter($output); }; } $output; }); $output .= "\n"; #line 56 "template\en\default\admin\params\editparams.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => $stash->get('title'), 'message' => $stash->get('message'), 'style_urls' => [ 'skins/standard/params.css' ] }); $output .= "\n\n<table border=\"0\" width=\"100%\">\n <tr>\n <td>\n "; $output .= "\n <table id=\"menu\">\n <tr>\n <td class=\"index\">\n <a href=\"editparams.cgi?section=index\" title=\"Show all parameters\">Index</a>\n </td>\n </tr>"; #line 85 "template\en\default\admin\params\editparams.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('panels'); unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) { $_tt_list = Template::Config->iterator($_tt_list) || die $Template::Config::ERROR, "\n"; } ($_tt_value, $_tt_error) = $_tt_list->get_first(); eval { $_tt_oldloop = $stash->get('loop') }; $stash->set('loop', $_tt_list); eval { LOOP: while (! $_tt_error) { $stash->{'panel'} = $_tt_value; $output .= "\n <tr>"; #line 83 "template\en\default\admin\params\editparams.html.tmpl" if ($stash->get(['panel', 0, 'current', 0])) { $output .= "\n <td class=\"selected_section\">\n <span title=\""; #line 76 "template\en\default\admin\params\editparams.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['panel', 0, 'desc', 0]); &$_tt_filter($output); }; $output .= "\">"; #line 76 "template\en\default\admin\params\editparams.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['panel', 0, 'title', 0]); &$_tt_filter($output); }; $output .= "</span>\n </td>"; } else { $output .= "\n <td>\n <a href=\"editparams.cgi?section="; #line 80 "template\en\default\admin\params\editparams.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get(['panel', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "\"\n title=\""; #line 81 "template\en\default\admin\params\editparams.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['panel', 0, 'desc', 0]); &$_tt_filter($output); }; $output .= "\">"; #line 81 "template\en\default\admin\params\editparams.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['panel', 0, 'title', 0]); &$_tt_filter($output); }; $output .= "</a>\n </td>"; } $output .= "\n </tr>";; ($_tt_value, $_tt_error) = $_tt_list->get_next(); } }; $stash->set('loop', $_tt_oldloop); die $@ if $@; $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE; die $_tt_error if $_tt_error; }; $output .= "\n </table>\n </td>\n <td>"; #line 116 "template\en\default\admin\params\editparams.html.tmpl" if ($stash->get('curpanel') eq -1) { #line 90 "template\en\default\admin\params\editparams.html.tmpl" $output .= $context->process('admin/params/index.html.tmpl', { 'panels' => $stash->get('panels') }); } else { $output .= "\n\n <div class=\"contribute\"><strong>Note:</strong>\n "; #line 94 "template\en\default\admin\params\editparams.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " is developed entirely by volunteers. The\n best way to give back to the "; #line 95 "template\en\default\admin\params\editparams.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " project is\n to <a href=\"http://www.bugzilla.org/contribute/\">contribute</a>\n yourself! You don't have to be a programmer to contribute, there are\n lots of things that we need.\n </div>\n\n <p>\n This lets you edit the basic operating parameters of "; #line 102 "template\en\default\admin\params\editparams.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= ".\n Be careful!<br>\n Any item you check \"Reset\" on will get reset to its default value.\n </p>\n\n "; $output .= "\n <form method=\"post\" action=\"editparams.cgi\">"; #line 109 "template\en\default\admin\params\editparams.html.tmpl" $output .= $context->process('admin/params/common.html.tmpl', { 'panel' => $stash->get('current_panel') }); $output .= "\n <input type=\"hidden\" name=\"section\" value=\""; #line 110 "template\en\default\admin\params\editparams.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['current_panel', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "\">\n <input type=\"hidden\" name=\"action\" value=\"save\">\n <input type=\"hidden\" name=\"token\" value=\""; #line 112 "template\en\default\admin\params\editparams.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=\"reset\" value=\"Reset form\">\n <input type=\"submit\" name=\"action\" value=\"Save Changes\">\n </form>"; } $output .= "\n </td>\n </tr>\n</table>\n"; #line 121 "template\en\default\admin\params\editparams.html.tmpl" $output .= $context->include('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 + -