?? login-small.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1179771590', 'name' => 'account/auth/login-small.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\account\auth\login-small.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n\n"; $output .= "\n"; #line 27 "template\en\default\account\auth\login-small.html.tmpl" $stash->set('script_name', $stash->get(['cgi', 0, 'url', [ { 'Relative' => 1 } ]])); #line 30 "template\en\default\account\auth\login-small.html.tmpl" if (! $stash->get('script_name')) { #line 29 "template\en\default\account\auth\login-small.html.tmpl" $stash->set('script_name', 'index.cgi'); } $output .= "\n\n"; #line 37 "template\en\default\account\auth\login-small.html.tmpl" if ($stash->get(['Param', [ 'sslbase' ]]) ne '' && $stash->get(['Param', [ 'ssl' ]]) ne 'never') { #line 34 "template\en\default\account\auth\login-small.html.tmpl" $stash->set('script_name', $stash->get(['Param', [ 'sslbase' ]]) . $stash->get('script_name')); } else { #line 36 "template\en\default\account\auth\login-small.html.tmpl" $stash->set('script_name', $stash->get(['Param', [ 'urlbase' ]]) . $stash->get('script_name')); } $output .= "\n\n<form name=\"login\" action=\""; #line 39 "template\en\default\account\auth\login-small.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 .= "\" method=\"POST\">\n <table id=\"login-small\">\n <tr>\n <th align=\"right\"><label for=\"Bugzilla_login\">Login:</label></th>\n <td><input size=\"20\" id=\"Bugzilla_login\" name=\"Bugzilla_login\">"; #line 44 "template\en\default\account\auth\login-small.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 .= "</td>\n </tr>\n <tr>\n <th align=\"right\"><label for=\"Bugzilla_password\">Password:</label></th>\n <td>\n <input type=\"password\" size=\"20\" id=\"Bugzilla_password\" name=\"Bugzilla_password\">\n </td>\n </tr>\n"; #line 63 "template\en\default\account\auth\login-small.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 59 "template\en\default\account\auth\login-small.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 75 "template\en\default\account\auth\login-small.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\n <tr>\n <td><input type=\"submit\" name=\"GoAheadAndLogIn\" value=\"Login\"\n id=\"log_in\"></td>\n\n "; $output .= "\n"; #line 86 "template\en\default\account\auth\login-small.html.tmpl" if ($stash->get(['user', 0, 'authorizer', 0, 'can_change_password', 0])) { $output .= "\n <td>[ <a href=\"index.cgi?GoAheadAndLogIn=1#forgot\">Forgot my Password</a> ]</td>"; } $output .= "\n </tr>\n </table>\n\n</form>\n\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
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -