?? change-new.txt.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1166185802', 'name' => 'account/email/change-new.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\email\change-new.txt.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 24 "template\en\default\account\email\change-new.txt.tmpl" $stash->set('expiration_ts', $stash->get('token_ts') + ($stash->get('max_token_age') * 86400)); $output .= "\nFrom: "; #line 25 "template\en\default\account\email\change-new.txt.tmpl" $output .= $stash->get(['Param', [ 'mailfrom' ]]); $output .= "\nTo: "; #line 26 "template\en\default\account\email\change-new.txt.tmpl" $output .= $stash->get('emailaddress'); $output .= "\nSubject: "; #line 27 "template\en\default\account\email\change-new.txt.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " Change Email Address Request\nX-Bugzilla-Type: admin\n\n"; #line 30 "template\en\default\account\email\change-new.txt.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " has received a request to change the email address\nfor the account "; #line 31 "template\en\default\account\email\change-new.txt.tmpl" $output .= $stash->get('oldemailaddress'); $output .= " to your address.\n\nTo confirm the change, visit the following link:\n\n"; #line 35 "template\en\default\account\email\change-new.txt.tmpl" $output .= $stash->get(['Param', [ 'urlbase' ]]); $output .= "token.cgi?t="; #line 35 "template\en\default\account\email\change-new.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=cfmem\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 40 "template\en\default\account\email\change-new.txt.tmpl" $output .= $stash->get(['Param', [ 'urlbase' ]]); $output .= "token.cgi?t="; #line 40 "template\en\default\account\email\change-new.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=cxlem\n\nIf you do nothing, the request will lapse after "; #line 42 "template\en\default\account\email\change-new.txt.tmpl" $output .= $stash->get('max_token_age'); $output .= " days\n(on "; #line 43 "template\en\default\account\email\change-new.txt.tmpl" $output .= $stash->get(['time2str', [ '%B %o, %Y at %H:%M %Z', $stash->get('expiration_ts') ]]); $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 + -