?? forgotten-password.txt.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1161379376', 'name' => 'account/password/forgotten-password.txt.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\password\forgotten-password.txt.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 24 "template\en\default\account\password\forgotten-password.txt.tmpl" $stash->set('expiration_ts', $stash->get('token_ts') + ($stash->get('max_token_age') * 86400)); $output .= "\nFrom: "; #line 25 "template\en\default\account\password\forgotten-password.txt.tmpl" $output .= $stash->get(['Param', [ 'mailfrom' ]]); $output .= "\nTo: "; #line 26 "template\en\default\account\password\forgotten-password.txt.tmpl" $output .= $stash->get('emailaddress'); $output .= "\nSubject: "; #line 27 "template\en\default\account\password\forgotten-password.txt.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " Change Password Request\nX-Bugzilla-Type: admin\n\nYou have (or someone impersonating you has) requested to change your \n"; #line 31 "template\en\default\account\password\forgotten-password.txt.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " password. To complete the change, visit the following link:\n\n"; #line 33 "template\en\default\account\password\forgotten-password.txt.tmpl" $output .= $stash->get(['Param', [ 'urlbase' ]]); $output .= "token.cgi?t="; #line 33 "template\en\default\account\password\forgotten-password.txt.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get('token'); &$_tt_filter($output); }; $output .= "&a=cfmpw\n\nIf you are not the person who made this request, or you wish to cancel\nthis request, visit the following link:\n\n"; #line 38 "template\en\default\account\password\forgotten-password.txt.tmpl" $output .= $stash->get(['Param', [ 'urlbase' ]]); $output .= "token.cgi?t="; #line 38 "template\en\default\account\password\forgotten-password.txt.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get('token'); &$_tt_filter($output); }; $output .= "&a=cxlpw\n\nIf you do nothing, the request will lapse after "; #line 40 "template\en\default\account\password\forgotten-password.txt.tmpl" $output .= $stash->get('max_token_age'); $output .= " days (at \nprecisely "; #line 41 "template\en\default\account\password\forgotten-password.txt.tmpl" $output .= $stash->get(['time2str', [ '%H:%M on the %o of %B, %Y', $stash->get('expiration_ts') ]]); $output .= ") or when you \nlog in successfully.\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 + -