?? delete.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1195548418', 'name' => 'admin/groups/delete.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 38 "template\en\default\admin\groups\delete.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => 'Delete group' }); $output .= "\n\n<table border=\"1\">\n <tr>\n <th>Id</th>\n <th>Name</th>\n <th>Description</th>\n </tr>\n <tr>\n <td>"; #line 49 "template\en\default\admin\groups\delete.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 .= "</td>\n <td>"; #line 50 "template\en\default\admin\groups\delete.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 .= "</td>\n <td>"; #line 51 "template\en\default\admin\groups\delete.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html_light') || $context->throw($context->error); $output .= $stash->get('description'); &$_tt_filter($output); }; $output .= "</td>\n </tr>\n</table>\n\n<form method=\"post\" action=\"editgroups.cgi\">"; #line 63 "template\en\default\admin\groups\delete.html.tmpl" if ($stash->get('hasusers')) { $output .= "\n <p><b>One or more users belong to this group. You cannot delete\n this group while there are users in it.</b>\n\n <br><a href=\"editusers.cgi?action=list&groupid="; #line 60 "template\en\default\admin\groups\delete.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 .= "&grouprestrict=1\">Show\n me which users</a> - <input type=\"checkbox\" name=\"removeusers\">Remove\n all users from this group for me.</p>"; } $output .= "\n"; #line 77 "template\en\default\admin\groups\delete.html.tmpl" if ($stash->get('hasbugs')) { $output .= "\n <p><b>One or more "; #line 66 "template\en\default\admin\groups\delete.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " reports are visible only to this group.\n You cannot delete this group while any "; #line 67 "template\en\default\admin\groups\delete.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " are using it.</b>\n\n <br><a href=\"buglist.cgi?bug_id="; #line 69 "template\en\default\admin\groups\delete.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('buglist'); &$_tt_filter($output); }; $output .= "\">Show me\n which "; #line 70 "template\en\default\admin\groups\delete.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= "</a> - <input type=\"checkbox\" name=\"removebugs\">Remove\n all "; #line 71 "template\en\default\admin\groups\delete.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " from this group restriction for me.</p>\n\n <p><b>NOTE:</b> It's quite possible to make confidential "; #line 73 "template\en\default\admin\groups\delete.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= "\n public by checking this box. It is <B>strongly</B> suggested\n that you review the "; #line 75 "template\en\default\admin\groups\delete.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " in this group before checking\n the box.</p>"; } $output .= "\n"; #line 85 "template\en\default\admin\groups\delete.html.tmpl" if ($stash->get('hasproduct')) { $output .= "\n <p><b>This group is tied to the <U>"; #line 80 "template\en\default\admin\groups\delete.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 .= "</U> product.\n You cannot delete this group while it is tied to a product.</b>\n\n <br><input type=\"checkbox\" name=\"unbind\">Delete this group anyway,\n and make the product <U>"; #line 84 "template\en\default\admin\groups\delete.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 .= "</U> publicly visible.</p>"; } $output .= "\n "; #line 94 "template\en\default\admin\groups\delete.html.tmpl" if ($stash->get('hasflags')) { $output .= "\n <p><b>This group restricts who can make changes to flags of certain types.\n You cannot delete this group while there are flag types using it.</b>\n\n <br><a href=\"editflagtypes.cgi?action=list&group="; #line 91 "template\en\default\admin\groups\delete.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 .= "\">Show\n me which types</a> - <input type=\"checkbox\" name=\"removeflags\">Remove all\n flag types from this group for me.</p>"; } $output .= "\n"; #line 113 "template\en\default\admin\groups\delete.html.tmpl" if ($stash->get('shared_queries')) { $output .= "\n <p>\n <b>There"; #line 103 "template\en\default\admin\groups\delete.html.tmpl" if ($stash->get('shared_queries') > 1) { $output .= "\n are "; #line 100 "template\en\default\admin\groups\delete.html.tmpl" $output .= $stash->get('shared_queries'); $output .= " saved searches"; } else { $output .= "\n is a saved search"; } $output .= "\n being shared with this group.</b>\n If you delete this group,"; #line 110 "template\en\default\admin\groups\delete.html.tmpl" if ($stash->get('shared_queries') > 1) { $output .= "\n these saved searches"; } else { $output .= "\n this saved search"; } $output .= "\n will fall back to being private again.\n </p>"; } $output .= "\n\n <h2>Confirmation</h2>\n\n <p>Do you really want to delete this group?</p>"; #line 121 "template\en\default\admin\groups\delete.html.tmpl" if (($stash->get('hasusers') || $stash->get('hasbugs') || $stash->get('hasproduct') || $stash->get('hasflags'))) { $output .= "\n <p><b>You must check all of the above boxes or correct the\n indicated problems first before you can proceed.</b></p>"; } $output .= "\n\n <p>\n <input type=\"submit\" id=\"delete\" value=\"Yes, delete\">\n <input type=\"hidden\" name=\"action\" value=\"delete\">\n <input type=\"hidden\" name=\"group\" value=\""; #line 126 "template\en\default\admin\groups\delete.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 <input type=\"hidden\" name=\"token\" value=\""; #line 127 "template\en\default\admin\groups\delete.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 </p>\n</form>\n\nGo back to the <a href=\"editgroups.cgi\">group list</a>.\n"; #line 133 "template\en\default\admin\groups\delete.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 + -