?? sudo.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1131120706', 'name' => 'pages/sudo.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"; #line 22 "template\en\default\pages\sudo.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); #line 23 "template\en\default\pages\sudo.html.tmpl" $output .= $context->include('global/header.html.tmpl', { 'title' => 'sudo: User Impersonation' }); $output .= "\n\n<p>\n "; #line 26 "template\en\default\pages\sudo.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " includes the ability to have one user impersonate \nanother, in something called a <i>sudo session</i>, so long as the person \ndoing the impersonating has the appropriate privileges.\n</p>\n\n<p>\n While a session is in progress, "; #line 32 "template\en\default\pages\sudo.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " will act as if the \n impersonated user is doing everything. This is especially useful for testing,\n and for doing critical work when the impersonated user is unavailable. The \n impersonated user will receive an email from "; #line 35 "template\en\default\pages\sudo.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " when the \n session begins; they will not be told anything else.\n</p>\n\n<p>\n To use this feature, you must be a member of the appropriate group. The group \n includes all administrators by default. Other users, and members of other \n groups, can be given access to this feature on a case-by-case basis. To \n request access, contact the maintainer of this installation: \n <a href=\"mailto:"; #line 44 "template\en\default\pages\sudo.html.tmpl" $output .= $stash->get(['Param', [ 'maintainer' ]]); $output .= "\">"; #line 45 "template\en\default\pages\sudo.html.tmpl" $output .= $stash->get(['Param', [ 'maintainer' ]]); $output .= "</a>.\n</p>\n\n<p>\n If you would like to be protected from impersonation, you should contact the \n maintainer of this installation to see if that is possible. People with \n access to this feature are protected automatically.\n</p>\n\n<p id=\"message\">"; #line 61 "template\en\default\pages\sudo.html.tmpl" if ($stash->get(['user', 0, 'groups', 0, 'bz_sudoers', 0])) { $output .= "\n You are a member of the <b>bz_sudoers</b> group. You may use this \n feature to impersonate others."; } else { $output .= "\n You are not a member of an appropriate group. You may not use this \n feature."; } #line 66 "template\en\default\pages\sudo.html.tmpl" if ($stash->get(['user', 0, 'groups', 0, 'bz_sudo_protect', 0])) { $output .= "\n <br>\n You are a member of the <b>bz_sudo_protect</b> group. Other people will \n not be able to use this feature to impersonate you."; } $output .= "\n</p>\n"; #line 69 "template\en\default\pages\sudo.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 + -