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

📄 account.html.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1147401676',        'name' => 'account/prefs/account.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\n<table>\n  <tr>\n    <td colspan=\"3\">\n      Please enter your existing password to confirm account changes.\n    </td>\n  </tr>\n  <tr>\n    <th align=\"right\">Password:</th>\n    <td>\n      <input type=\"hidden\" name=\"Bugzilla_login\" \n             value=\"";    #line 38 "template\en\default\account\prefs\account.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\" name=\"Bugzilla_password\">\n    </td>\n  </tr>              \n  <tr>\n    <td colspan=\"2\"><hr></td>\n  </tr>";    #line 59 "template\en\default\account\prefs\account.html.tmpl"    if ($stash->get(['user', 0, 'authorizer', 0, 'can_change_password', 0])) {    $output .=  "\n    <tr>\n      <th align=\"right\">New password:</th>\n      <td>\n        <input type=\"password\" name=\"new_password1\">\n      </td>\n    </tr>              \n\n    <tr>\n      <th align=\"right\">Re-enter new password:</th>\n      <td>\n        <input type=\"password\" name=\"new_password2\">\n      </td>\n    </tr>              ";    }        $output .=  "\n\n  <tr>\n    <th align=\"right\">Your real name (optional, but encouraged):</th>\n    <td>\n      <input size=\"35\" name=\"realname\" value=\"";    #line 64 "template\en\default\account\prefs\account.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('realname');                &$_tt_filter($output);    };        $output .=  "\">\n    </td>\n  </tr>  \n";    #line 97 "template\en\default\account\prefs\account.html.tmpl"    if ($stash->get(['user', 0, 'authorizer', 0, 'can_change_email', 0]) && $stash->get(['Param', [ 'allowemailchange' ]])) {    #line 96 "template\en\default\account\prefs\account.html.tmpl"    if ($stash->get('login_change_date')) {    #line 88 "template\en\default\account\prefs\account.html.tmpl"    if ($stash->get('new_login_name')) {    $output .=  "\n        <tr>\n          <th align=\"right\">Pending email address:</th>\n          <td>";    #line 73 "template\en\default\account\prefs\account.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('new_login_name');                &$_tt_filter($output);    };        $output .=  "</td>\n        </tr>\n        <tr>\n          <th align=\"right\">Change request expires:</th>\n          <td>";    #line 77 "template\en\default\account\prefs\account.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('time')                  || $context->throw($context->error);        $output .=  $stash->get('login_change_date');                &$_tt_filter($output);    };        $output .=  "</td>\n        </tr>";    }    else {    $output .=  "\n        <tr>\n          <th align=\"right\">Confirmed email address:</th>\n          <td>";    #line 82 "template\en\default\account\prefs\account.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 .=  "</td>\n        </tr>\n        <tr>\n          <th align=\"right\">Completion date:</th>\n          <td>";    #line 86 "template\en\default\account\prefs\account.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('time')                  || $context->throw($context->error);        $output .=  $stash->get('login_change_date');                &$_tt_filter($output);    };        $output .=  "</td>\n        </tr>";    }        }    else {    $output .=  "\n      <tr>\n        <th align=\"right\">New email address:</th>\n        <td>\n          <input size=\"35\" name=\"new_login_name\">\n        </td>\n      </tr>";    }        }        $output .=  "\n  \n</table>\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 + -