?? userdata.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1200138114', 'name' => 'admin/users/userdata.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<tr>\n <th><label for=\"login\">Login name:</label></th>\n <td>"; #line 39 "template\en\default\admin\users\userdata.html.tmpl" if ($stash->get('editusers')) { $output .= "\n <input size=\"64\" maxlength=\"255\" name=\"login\" \n id=\"login\" value=\""; #line 29 "template\en\default\admin\users\userdata.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['otheruser', 0, 'login', 0]); &$_tt_filter($output); }; $output .= "\" />"; #line 36 "template\en\default\admin\users\userdata.html.tmpl" if ($stash->get('editform')) { #line 35 "template\en\default\admin\users\userdata.html.tmpl" if (! $stash->get(['otheruser', 0, 'groups', 0, 'bz_sudo_protect', 0])) { $output .= "\n <br />\n <a href=\"relogin.cgi?action=prepare-sudo&target_login="; #line 34 "template\en\default\admin\users\userdata.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get(['otheruser', 0, 'login', 0]); &$_tt_filter($output); }; $output .= "\">Impersonate this user</a>"; } } } else { #line 38 "template\en\default\admin\users\userdata.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['otheruser', 0, 'login', 0]); &$_tt_filter($output); }; } $output .= "\n </td>\n</tr>\n<tr>\n <th><label for=\"name\">Real name:</label></th>\n <td>"; #line 51 "template\en\default\admin\users\userdata.html.tmpl" if ($stash->get('editusers')) { $output .= "\n <input size=\"64\" maxlength=\"255\" name=\"name\"\n autocomplete=\"off\"\n id=\"name\" value=\""; #line 48 "template\en\default\admin\users\userdata.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['otheruser', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "\" />"; } else { #line 50 "template\en\default\admin\users\userdata.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['otheruser', 0, 'name', 0]); &$_tt_filter($output); }; } $output .= "\n </td>\n</tr>"; #line 91 "template\en\default\admin\users\userdata.html.tmpl" if ($stash->get('editusers')) { $output .= "\n <tr>\n <th><label for=\"password\">Password:</label></th>\n <td>\n <input type=\"password\" size=\"16\" maxlength=\"16\" name=\"password\"\n autocomplete=\"off\"\n id=\"password\" value=\"\" />"; #line 63 "template\en\default\admin\users\userdata.html.tmpl" if ($stash->get('editform')) { $output .= "<br />\n (Enter new password to change.)"; } $output .= "\n </td>\n </tr>\n <tr>\n <th><label for=\"disable_mail\">"; #line 67 "template\en\default\admin\users\userdata.html.tmpl" $output .= $stash->get(['terms', 0, 'Bug', 0]); $output .= "mail Disabled:</label></th>\n <td>\n <input type=\"checkbox\" name=\"disable_mail\" id=\"disable_mail\" value=\"1\" "; #line 70 "template\en\default\admin\users\userdata.html.tmpl" if ($stash->get(['otheruser', 0, 'email_disabled', 0])) { $output .= " checked=\"checked\" "; } $output .= " />\n (This affects "; #line 71 "template\en\default\admin\users\userdata.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= "mail and whinemail, not password-reset or other \n non-"; #line 72 "template\en\default\admin\users\userdata.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= "-related emails)\n </td>\n </tr>\n <tr>\n <th><label for=\"disabledtext\">Disable text:</label></th>\n <td>"; #line 78 "template\en\default\admin\users\userdata.html.tmpl" $output .= $context->include('global/textarea.html.tmpl', { 'name' => 'disabledtext', 'id' => 'disabledtext', 'minrows' => 2, 'maxrows' => 10, 'defaultrows' => 10, 'cols' => 60, 'defaultcontent' => $stash->get(['otheruser', 0, 'disabledtext', 0]) }); $output .= "<br>\n (If non-empty, then the account will be disabled, and this text should\n explain why.)\n </td>\n </tr>"; } $output .= "\n"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_error->type eq 'return'; } return $output; }, DEFBLOCKS => { },});
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -