?? sudo.html.tmpl
字號(hào):
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1161115116', 'name' => 'admin/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\admin\sudo.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 24 "template\en\default\admin\sudo.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => 'Begin sudo session', 'style_urls' => [ 'skins/standard/admin.css' ] }); $output .= "\n "; #line 29 "template\en\default\admin\sudo.html.tmpl" $stash->set('target_login', '', 1); $output .= "\n\n<p>\n The <b>sudo</b> feature of "; #line 32 "template\en\default\admin\sudo.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " allows you to impersonate a \n user for a short time While an sudo session is in progress, every action you \n perform will be taking place as if you had logged in as the user whom will be \n impersonating.\n</p>\n\n<p class=\"areyoureallyreallysure\">\n This is a very powerful feature; you should be very careful while using it. \n Your actions may be logged more carefully than normal.\n</p>\n\n<form action=\"relogin.cgi\" method=\"POST\">\n <p>\n To begin, "; #line 50 "template\en\default\admin\sudo.html.tmpl" if ($stash->get(['Param', [ 'usemenuforusers' ]])) { $output .= "\n select "; } else { $output .= "\n enter the login of "; } $output .= "\n <label for=\"target_login\">the <u>u</u>ser to impersonate</label>:"; #line 0 "template\en\default\admin\sudo.html.tmpl" $output .= $context->include('global/userselect.html.tmpl', { 'id' => 'target_login', 'name' => 'target_login', 'value' => ('' . $stash->get('target_login_default')), 'accesskey' => 'u', 'size' => 30, 'multiple' => 5 }); $output .= "\n </p>\n "; #line 66 "template\en\default\admin\sudo.html.tmpl" if (! $stash->get(['Param', [ 'usemenuforusers' ]])) { $output .= "\n <p>\n The username must be entered exactly. No matching will be performed.\n </p>"; } $output .= "\n \n <p>\n Next, please take a moment to explain <label for=\"reason\">why you are doing\n this:<br>\n <input type=\"text\" id=\"reason\" name=\"reason\" size=\"80\" maxlength=\"200\"\n value=\""; #line 72 "template\en\default\admin\sudo.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('reason_default'); &$_tt_filter($output); }; $output .= "\">\n </p>\n \n <p>\n The message you enter here will be sent to the impersonated user by email.\n You may leave this empty if you wish, but they will still know that you \n are impersonating them.\n </p>\n "; #line 95 "template\en\default\admin\sudo.html.tmpl" if ($stash->get(['user', 0, 'authorizer', 0, 'can_login', 0])) { $output .= "\n <p>\n Finally, enter <label for=\"Bugzilla_password\">your "; #line 83 "template\en\default\admin\sudo.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= "\n password</label>:\n <input type=\"hidden\" name=\"Bugzilla_login\" value=\""; #line 86 "template\en\default\admin\sudo.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 .= "\">\n <input type=\"password\" id=\"Bugzilla_password\" name=\"Bugzilla_password\"\n maxlength=\"20\" size=\"20\">\n <br>\n This is done for two reasons. First of all, it is done to reduce \n the chances of someone doing large amounts of damage using your \n already-logged-in account. Second, it is there to force you to take the \n time to consider if you really need to use this feature.\n </p>"; } $output .= "\n \n <p>\n Click the button to begin the session:\n <input type=\"submit\" value=\"Begin Session\">\n <input type=\"hidden\" name=\"action\" value=\"begin-sudo\">\n <input type=\"hidden\" name=\"token\" value=\""; #line 101 "template\en\default\admin\sudo.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\n</form>\n"; #line 106 "template\en\default\admin\sudo.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 => { },});
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -