⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1089072406',        '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 $error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n\n";    $output .=  "\n";    #line 31 "template\en\default\account\auth\login.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 34 "template\en\default\account\auth\login.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => 'Login' });    $output .=  "\n\n<p>\n  I need a legitimate login and password to continue.\n</p>\n\n<form action=\"";    #line 42 "template\en\default\account\auth\login.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('target');                &$filter($output);    };        $output .=  "\" method=\"POST\">\n  <table>\n    <tr>\n      <td align=\"right\">\n        <b>Login:</b>\n      </td>\n      <td>\n        <input size=\"35\" name=\"Bugzilla_login\">\n      </td>\n    </tr>\n    <tr>\n      <td align=\"right\">\n        <b>Password:</b>\n      </td>\n      <td>\n        <input type=\"password\" size=\"35\" name=\"Bugzilla_password\">\n      </td>\n    </tr>\n";    #line 74 "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        <td>&nbsp;</td>\n        <td>\n          <input type=\"checkbox\" name=\"Bugzilla_remember\" value=\"on\"";    #line 69 "template\en\default\account\auth\login.html.tmpl"    if ($stash->get(['Param', [ 'rememberlogin' ]]) eq 'defaulton') {    $output .=  'checked';    }        $output .=  ">\n          Remember my Login\n        </td>\n      </tr>";    }        $output .=  "\n";    #line 92 "template\en\default\account\auth\login.html.tmpl"    if ($stash->get(['Param', [ 'loginnetmask' ]]) < 32) {    $output .=  "\n      <tr>\n        <td align=\"right\">\n          <b>\n             Restrict this session<br>\n             to this IP address:\n          </b>\n        </td>\n        <td>\n          <input type=\"checkbox\" name=\"Bugzilla_restrictlogin\"\n                 checked=\"checked\">\n          (Using this option improves security)\n        </td>\n      </tr>";    }        $output .=  "\n  </table>\n";    #line 96 "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=\"Login\">\n  \n  <p>\n    (Note: you should make sure cookies are enabled for this site. \n    Otherwise, you will frequently be required to re-login.)\n  </p>\n</form>\n\n";    $output .=  "\n";    #line 135 "template\en\default\account\auth\login.html.tmpl"    if ($stash->get('caneditaccount')) {    $output .=  "\n  <hr>\n";    #line 122 "template\en\default\account\auth\login.html.tmpl"    if ($stash->get(['Param', [ 'createemailregexp' ]])) {    $output .=  "\n    <p>\n      If you don't have a ";    #line 118 "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\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\" value=\"Submit Request\">\n  </form>\n\n  <hr>";    }        $output .=  "\n";    #line 138 "template\en\default\account\auth\login.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\n";        } };        if ($@) {            $error = $context->catch($@, \$output);            die $error unless $error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {    },});

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -