📄 change.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1150741624', 'name' => 'admin/groups/change.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 43 "template\en\default\admin\groups\change.html.tmpl" if (($stash->get('action') eq 1)) { #line 38 "template\en\default\admin\groups\change.html.tmpl" $stash->set('title', 'Confirm: Remove All Explicit Members?'); } elsif (($stash->get('action') eq 2)) { #line 40 "template\en\default\admin\groups\change.html.tmpl" $stash->set('title', 'Confirm: Remove Explicit Members in the Regular Expression?'); } else { #line 42 "template\en\default\admin\groups\change.html.tmpl" $stash->set('title', 'Updating group hierarchy'); } $output .= "\n"; #line 45 "template\en\default\admin\groups\change.html.tmpl" $output .= $context->process('global/header.html.tmpl'); $output .= "\n\n<p>\n Checking....\n"; #line 52 "template\en\default\admin\groups\change.html.tmpl" if ($stash->get('changes')) { $output .= "\n changed."; } $output .= "\n</p>\n "; #line 109 "template\en\default\admin\groups\change.html.tmpl" if (($stash->get('action') eq 1) || ($stash->get('action') eq 2)) { #line 58 "template\en\default\admin\groups\change.html.tmpl" if ($stash->get('changes')) { $output .= "\n <p>Group updated, please confirm removal:</p>"; } $output .= "\n"; #line 70 "template\en\default\admin\groups\change.html.tmpl" if (($stash->get('action') eq 1)) { $output .= "\n <p>This option will remove all explicitly defined users"; } elsif ($stash->get('regexp')) { $output .= "\n <p>This option will remove all users included in the regular expression:"; #line 64 "template\en\default\admin\groups\change.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('regexp'); &$_tt_filter($output); }; } else { $output .= "\n <p>\n <b>There is no regular expression defined.</b>\n No users will be removed.\n </p>"; } $output .= "\n "; #line 94 "template\en\default\admin\groups\change.html.tmpl" if ((($stash->get('action') eq 1) || $stash->get('regexp'))) { $output .= "\n from group "; #line 73 "template\en\default\admin\groups\change.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 .= ".</p>\n \n <p>\n Generally, you will only need to do this when upgrading groups\n created with "; #line 77 "template\en\default\admin\groups\change.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " versions 2.16 and prior. Use\n this option with <b>extreme care</b> and consult the documentation\n for further information.\n </p>\n \n <form method=\"post\" action=\"editgroups.cgi\">\n <input type=\"hidden\" name=\"group\" value=\""; #line 83 "template\en\default\admin\groups\change.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('gid'); &$_tt_filter($output); }; $output .= "\">\n "; #line 89 "template\en\default\admin\groups\change.html.tmpl" if (($stash->get('action') eq 2)) { $output .= "\n <input type=\"hidden\" name=\"action\" value=\"remove_all_regexp\">"; } else { $output .= "\n <input type=\"hidden\" name=\"action\" value=\"remove_all\">"; } $output .= "\n \n <input name=\"confirm\" type=\"submit\" value=\"Confirm\">\n <p>Or <a href=\"editgroups.cgi\">return to the Edit Groups page</a>.</p>\n </form>"; } } else { $output .= "\n "; $output .= "\n"; #line 106 "template\en\default\admin\groups\change.html.tmpl" if ($stash->get('changes')) { $output .= "\n <p>Done.</p>"; } else { $output .= "\n <p>\n You didn't change anything! If you really meant it, hit the <b>Back</b>\n button and try again.\n </p>"; } $output .= "\n \n <p>Back to the <a href=\"editgroups.cgi\">group list</a>.</p>"; } $output .= "\n"; #line 111 "template\en\default\admin\groups\change.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 + -