?? confirm-new.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1174896022', 'name' => 'account/email/confirm-new.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"; #line 23 "template\en\default\account\email\confirm-new.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "Create a new user account for '"; #line 23 "template\en\default\account\email\confirm-new.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('email'); &$_tt_filter($output); }; $output .= "'"; $output; }); #line 24 "template\en\default\account\email\confirm-new.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => $stash->get('title'), 'onload' => 'document.forms[\'confirm_account_form\'].realname.focus();' }); $output .= "\n"; #line 28 "template\en\default\account\email\confirm-new.html.tmpl" $stash->set('expiration_ts', $stash->get('date') + ('3' * 86400)); $output .= "\n<div>\n To complete the creation of your user account, you must choose a password in the\n form below. You can also enter your real name, which is optional.<p>\n If you don't fill this form before\n <u>"; #line 33 "template\en\default\account\email\confirm-new.html.tmpl" $output .= $stash->get(['time2str', [ '%B %o, %Y at %H:%M %Z', $stash->get('expiration_ts') ]]); $output .= "</u>,\n the creation of this account will be automatically canceled.\n</div>\n\n<form id=\"confirm_account_form\" method=\"post\" action=\"token.cgi\">\n <input type=\"hidden\" name=\"t\" value=\""; #line 38 "template\en\default\account\email\confirm-new.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('token'); &$_tt_filter($output); }; $output .= "\">\n <input type=\"hidden\" name=\"a\" value=\"confirm_new_account\">\n <table>\n <tr>\n <th align=\"right\">Email Address:</th>\n <td>"; #line 43 "template\en\default\account\email\confirm-new.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('email'); &$_tt_filter($output); }; $output .= "</td>\n </tr>\n <tr>\n <th align=\"right\"><label for=\"realname\">Real Name</label>:</th>\n <td><input type=\"text\" id=\"realname\" name=\"realname\" value=\"\"></td>\n </tr>\n <tr>\n <th align=\"right\"><label for=\"passwd1\">Type your password</label>:</th>\n <td><input type=\"password\" id=\"passwd1\" name=\"passwd1\" value=\"\"></td>\n </tr>\n <tr>\n <th align=\"right\"><label for=\"passwd1\">Re-type your password</label>:</th>\n <td><input type=\"password\" id=\"passwd2\" name=\"passwd2\" value=\"\"></td>\n </tr>\n <tr>\n <th align=\"right\"> </th>\n <td><input type=\"submit\" id=\"confirm\" value=\"Send\"></td>\n </tr>\n </table>\n</form>\n"; #line 64 "template\en\default\account\email\confirm-new.html.tmpl" $output .= $context->process('global/footer.html.tmpl'); $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 + -