?? login.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1179771590', 'name' => 'account/auth/login.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 29 "template\en\default\account\auth\login.html.tmpl" if (! $stash->get('target')) { #line 28 "template\en\default\account\auth\login.html.tmpl" $stash->set('target', 'index.cgi'); } $output .= "\n "; #line 31 "template\en\default\account\auth\login.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 0 "template\en\default\account\auth\login.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => ("Log in to " . $stash->get(['terms', 0, 'Bugzilla', 0])), 'onload' => 'document.forms[\'login\'].Bugzilla_login.focus()' }); $output .= "\n"; #line 38 "template\en\default\account\auth\login.html.tmpl" # USE $stash->set('Bugzilla', $context->plugin('Bugzilla')); $output .= "\n\n<p>\n I need a legitimate login and password to continue.\n</p>\n\n<form name=\"login\" action=\""; #line 44 "template\en\default\account\auth\login.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('target'); &$_tt_filter($output); }; $output .= "\" method=\"POST\""; #line 45 "template\en\default\account\auth\login.html.tmpl" if ($stash->get(['Bugzilla', 0, 'cgi', 0, 'param', [ 'data' ]])) { $output .= " enctype=\"multipart/form-data\""; } $output .= ">\n <table>\n <tr>\n <th align=\"right\"><label for=\"Bugzilla_login\">Login:</label></th>\n <td>\n <input size=\"35\" id=\"Bugzilla_login\" name=\"Bugzilla_login\">"; #line 51 "template\en\default\account\auth\login.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['Param', [ 'emailsuffix' ]]); &$_tt_filter($output); }; $output .= "\n </td>\n </tr>\n <tr>\n <th align=\"right\"><label for=\"Bugzilla_password\">Password:</label></th>\n <td>\n <input type=\"password\" size=\"35\" id=\"Bugzilla_password\" name=\"Bugzilla_password\">\n </td>\n </tr>\n"; #line 71 "template\en\default\account\auth\login.html.tmpl" if ($stash->get(['Param', [ 'rememberlogin' ]]) eq 'defaulton' || $stash->get(['Param', [ 'rememberlogin' ]]) eq 'defaultoff') { $output .= "\n <tr>\n <th> </th>\n <td>\n <input type=\"checkbox\" id=\"Bugzilla_remember\" name=\"Bugzilla_remember\" value=\"on\""; #line 67 "template\en\default\account\auth\login.html.tmpl" if ($stash->get(['Param', [ 'rememberlogin' ]]) eq 'defaulton') { $output .= 'checked'; } $output .= ">\n <label for=\"Bugzilla_remember\">Remember my Login</label>\n </td>\n </tr>"; } $output .= "\n"; #line 83 "template\en\default\account\auth\login.html.tmpl" if ($stash->get(['Param', [ 'loginnetmask' ]]) < 32) { $output .= "\n <tr>\n <th> </th>\n <td>\n <input type=\"checkbox\" id=\"Bugzilla_restrictlogin\" name=\"Bugzilla_restrictlogin\"\n checked=\"checked\">\n <label for=\"Bugzilla_restrictlogin\">Restrict this session to this IP address\n (using this option improves security)</label>\n </td>\n </tr>"; } $output .= "\n </table>\n"; #line 86 "template\en\default\account\auth\login.html.tmpl" $output .= $context->process('global/hidden-fields.html.tmpl', { 'exclude' => ('' . "^Bugzilla_(login|password|restrictlogin)") }); $output .= "\n\n <input type=\"submit\" name=\"GoAheadAndLogIn\" value=\"Log in\" id=\"log_in\">\n \n <p>\n (Note: you should make sure cookies are enabled for this site. \n Otherwise, you will be required to log in frequently.)\n </p>\n</form>\n\n"; $output .= "\n"; #line 108 "template\en\default\account\auth\login.html.tmpl" if ($stash->get(['Param', [ 'createemailregexp' ]]) && $stash->get(['user', 0, 'authorizer', 0, 'user_can_create_account', 0])) { $output .= "\n <hr>\n\n <p>\n If you don't have a "; #line 105 "template\en\default\account\auth\login.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " account, you can\n <a href=\"createaccount.cgi\">create a new account</a>.\n </p>"; } $output .= "\n"; #line 122 "template\en\default\account\auth\login.html.tmpl" if ($stash->get(['user', 0, 'authorizer', 0, 'can_change_password', 0])) { $output .= "\n <hr>\n\n <a name=\"forgot\"></a>\n <form method=\"get\" action=\"token.cgi\">\n <input type=\"hidden\" name=\"a\" value=\"reqpw\">\n If you have an account, but have forgotten your password,\n enter your login name below and submit a request\n to change your password.<br>\n <input size=\"35\" name=\"loginname\">\n <input type=\"submit\" id=\"request\" value=\"Submit Request\">\n </form>"; } $output .= "\n"; #line 124 "template\en\default\account\auth\login.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 + -