📄 edit.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1168214100', 'name' => 'admin/groups/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 44 "template\en\default\admin\groups\edit.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "Change Group: "; #line 44 "template\en\default\admin\groups\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output; }); $output .= "\n"; #line 46 "template\en\default\admin\groups\edit.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => $stash->get('title'), 'style' => 'tr.odd_row { background: #e9e9e9; } .permissions th { background: #000000; color: #ffffff; } ' }); $output .= "\n\n<form method=\"post\" action=\"editgroups.cgi\">\n <table border=\"1\" cellpadding=\"4\">\n <tr>\n <th>Group:</th>\n <td>"; #line 68 "template\en\default\admin\groups\edit.html.tmpl" if ($stash->get('isbuggroup')) { $output .= "\n <input type=\"hidden\" name=\"oldname\" value=\""; #line 64 "template\en\default\admin\groups\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= "\">\n <input type=\"text\" name=\"name\" size=\"60\" value=\""; #line 65 "template\en\default\admin\groups\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= "\">"; } else { #line 67 "template\en\default\admin\groups\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; } $output .= "\n </td>\n </tr>\n\n <tr>\n <th>Description:</th>\n <td>"; #line 80 "template\en\default\admin\groups\edit.html.tmpl" if ($stash->get('isbuggroup')) { $output .= "\n <input type=\"hidden\" name=\"olddesc\" value=\""; #line 76 "template\en\default\admin\groups\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('description'); &$_tt_filter($output); }; $output .= "\">\n <input type=\"text\" name=\"desc\" size=\"70\" value=\""; #line 77 "template\en\default\admin\groups\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('description'); &$_tt_filter($output); }; $output .= "\">"; } else { #line 79 "template\en\default\admin\groups\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('description'); &$_tt_filter($output); }; } $output .= "\n </td>\n </tr>\n\n <tr>\n <th>User Regexp:</th>\n <td>\n <input type=\"hidden\" name=\"oldregexp\" value=\""; #line 87 "template\en\default\admin\groups\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('regexp'); &$_tt_filter($output); }; $output .= "\">\n <input type=\"text\" name=\"regexp\" size=\"40\" value=\""; #line 88 "template\en\default\admin\groups\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('regexp'); &$_tt_filter($output); }; $output .= "\">\n </td>\n </tr>\n"; #line 100 "template\en\default\admin\groups\edit.html.tmpl" if ($stash->get('isbuggroup')) { $output .= "\n <tr>\n <th>Use For "; #line 94 "template\en\default\admin\groups\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= ":</th>\n <td>\n <input type=\"checkbox\" name=\"isactive\" value=\"1\" "; #line 96 "template\en\default\admin\groups\edit.html.tmpl" $output .= ($stash->get('isactive') eq 1) ? 'checked' : ''; $output .= ">\n <input type=\"hidden\" name=\"oldisactive\" value=\""; #line 97 "template\en\default\admin\groups\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('isactive'); &$_tt_filter($output); }; $output .= "\">\n </td>\n </tr>"; } $output .= "\n </table>\n\n <p>Users become members of this group in one of three ways:</p>\n <ul>\n <li> by being explicity included when the user is edited.\n <li> by matching the user regexp above.\n <li> by being a member of one of the groups included in this group\n by checking the boxes below.\n </ul>\n"; #line 111 "template\en\default\admin\groups\edit.html.tmpl" $stash->set('usevisibility', $stash->get(['Param', [ 'usevisibilitygroups' ]])); $output .= "\n\n <h4>Group Permissions</h4>\n <table class=\"permissions\" cellspacing=\"0\" cellpadding=\"2\">\n <tr> "; #line 120 "template\en\default\admin\groups\edit.html.tmpl" if ($stash->get('usevisibility')) { $output .= "\n <th>\n Visible\n </th>"; } $output .= "\n <th>\n Grant\n </th>\n <th>\n Inherit\n </th>\n <th>\n Group\n </th>\n <th>\n Description\n </th>\n </tr>"; #line 134 "template\en\default\admin\groups\edit.html.tmpl" $stash->set('row', 0); #line 175 "template\en\default\admin\groups\edit.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('groups'); 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->{'group'} = $_tt_value; #line 136 "template\en\default\admin\groups\edit.html.tmpl" $stash->set('row', $stash->get('row') + 1); $output .= "\n <tr "; #line 137 "template\en\default\admin\groups\edit.html.tmpl" if ($stash->get('row') % 2) { $output .= 'class="odd_row"'; } $output .= ">"; #line 145 "template\en\default\admin\groups\edit.html.tmpl" if ($stash->get('usevisibility')) { $output .= "\n <td align=\"center\">\n <input type=\"checkbox\" name=\"cansee-"; #line 140 "template\en\default\admin\groups\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('none') || $context->throw($context->error); $output .= $stash->get(['group', 0, 'grpid', 0]); &$_tt_filter($output); }; $output .= "\" "; #line 141 "template\en\default\admin\groups\edit.html.tmpl" $output .= $stash->get(['group', 0, 'membercansee', 0]) ? 'checked ' : ''; $output .= "value=\"1\">\n <input type=\"hidden\" name=\"oldcansee-"; #line 142 "template\en\default\admin\groups\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('none') || $context->throw($context->error); $output .= $stash->get(['group', 0, 'grpid', 0]); &$_tt_filter($output); }; $output .= "\"\n value=\""; #line 143 "template\en\default\admin\groups\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('none') || $context->throw($context->error); $output .= $stash->get(['group', 0, 'membercansee', 0]); &$_tt_filter($output); };
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -