📄 confirm-action.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1160863330', 'name' => 'admin/confirm-action.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 26 "template\en\default\admin\confirm-action.html.tmpl" $output .= $context->process('global/field-descs.none.tmpl'); $output .= "\n"; #line 28 "template\en\default\admin\confirm-action.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => 'Suspicious Action', 'style_urls' => [ 'skins/standard/global.css' ] }); $output .= "\n"; #line 95 "template\en\default\admin\confirm-action.html.tmpl" if ($stash->get('abuser')) { $output .= "\n <div class=\"throw_error\">\n <p>When you view an administrative form in "; #line 33 "template\en\default\admin\confirm-action.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= ", a token string\n is randomly generated and stored both in the database and in the form you loaded,\n to make sure that the requested changes are being made as a result of submitting\n a form generated by "; #line 36 "template\en\default\admin\confirm-action.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= ". Unfortunately, the token used right now\n is incorrect, meaning that it looks like you didn't come from the right page.\n The following token has been used :</p>\n\n <table border=\"0\" cellpadding=\"5\" cellspacing=\"0\">"; #line 52 "template\en\default\admin\confirm-action.html.tmpl" if ($stash->get('token_action') ne $stash->get('expected_action')) { $output .= "\n <tr>\n <th>Action stored:</th>\n <td>"; #line 44 "template\en\default\admin\confirm-action.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('token_action'); &$_tt_filter($output); }; $output .= "</td>\n </tr>\n <tr>\n <th> </th>\n <td>\n This action doesn't match the one expected ("; #line 49 "template\en\default\admin\confirm-action.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('expected_action'); &$_tt_filter($output); }; $output .= ").\n </td>\n </tr>"; } $output .= "\n"; #line 66 "template\en\default\admin\confirm-action.html.tmpl" if ($stash->get('abuser') ne $stash->get(['user', 0, 'identity', 0])) { $output .= "\n <tr>\n <th>Generated by:</th>\n <td>"; #line 57 "template\en\default\admin\confirm-action.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('abuser'); &$_tt_filter($output); }; $output .= "</td>\n </tr>\n <tr>\n <th> </th>\n <td>\n This token has not been generated by you. It is possible that someone\n tried to trick you!\n </td>\n </tr>"; } $output .= "\n </table>\n\n <p>Please report this problem to "; #line 69 "template\en\default\admin\confirm-action.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['Param', [ 'maintainer' ]]); &$_tt_filter($output); }; $output .= ".</p>\n </div>"; } else { $output .= "\n <div class=\"throw_error\">\n It looks like you didn't come from the right page (you have no valid token for\n the <em>"; #line 74 "template\en\default\admin\confirm-action.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('expected_action'); &$_tt_filter($output); }; $output .= "</em> action while processing the\n '"; #line 75 "template\en\default\admin\confirm-action.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('script_name'); &$_tt_filter($output); }; $output .= "' script). The reason could be one of:<br>\n <ul>\n <li>You clicked the \"Back\" button of your web browser after having successfully\n submitted changes, which is generally not a good idea (but harmless).</li>\n <li>You entered the URL in the address bar of your web browser directly,\n which should be safe.</li>\n <li>You clicked on a URL which redirected you here <b>without your consent</b>,\n in which case this action is much more critical.</li>\n </ul>\n Are you sure you want to commit these changes anyway? This may result in\n unexpected and undesired results.\n </div>\n\n <form name=\"check\" id=\"check\" method=\"post\" action=\""; #line 88 "template\en\default\admin\confirm-action.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('script_name'); &$_tt_filter($output); }; $output .= "\">"; #line 89 "template\en\default\admin\confirm-action.html.tmpl" $output .= $context->process('global/hidden-fields.html.tmpl', { 'exclude' => ('' . "^(Bugzilla_login|Bugzilla_password)") }); $output .= "\n <input type=\"submit\" id=\"confirm\" value=\"Confirm Changes\">\n </form>\n <p>Or throw away these changes and go back to <a href=\""; #line 93 "template\en\default\admin\confirm-action.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('script_name'); &$_tt_filter($output); }; $output .= "\">"; #line 94 "template\en\default\admin\confirm-action.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('script_name'); &$_tt_filter($output); }; $output .= "</a>.</p>"; } $output .= "\n"; #line 97 "template\en\default\admin\confirm-action.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 + -