📄 remove.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1160858928', 'name' => 'admin/groups/remove.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\n"; #line 43 "template\en\default\admin\groups\remove.html.tmpl" if ($stash->get('remove_all')) { #line 38 "template\en\default\admin\groups\remove.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "\n Removing All Explicit Group Memberships from '"; #line 37 "template\en\default\admin\groups\remove.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; }); } else { #line 42 "template\en\default\admin\groups\remove.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "\n Removing All Explicit Group Memberships Matching Group RegExp from '"; #line 41 "template\en\default\admin\groups\remove.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; }); } $output .= "\n"; #line 45 "template\en\default\admin\groups\remove.html.tmpl" $output .= $context->process('global/header.html.tmpl'); $output .= "\n"; #line 52 "template\en\default\admin\groups\remove.html.tmpl" if ($stash->get('remove_all')) { $output .= "\n <p><b>Removing explicit membership</b></p>"; } else { $output .= "\n <p><b>Removing explicit memberships of users matching\n '"; #line 51 "template\en\default\admin\groups\remove.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 .= "'...</b></p>"; } $output .= "\n "; #line 56 "template\en\default\admin\groups\remove.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('users'); 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->{'user'} = $_tt_value; #line 55 "template\en\default\admin\groups\remove.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['user', 0, 'login', 0]); &$_tt_filter($output); }; $output .= " removed<br>";; ($_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\n<p><b>Done</b>.</p>\n\n<p>Back to the <a href=\"editgroups.cgi\">group list</a>.</p>\n"; #line 62 "template\en\default\admin\groups\remove.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 + -