📄 choose.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1168288416', 'name' => 'attachment/choose.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"; #line 22 "template\en\default\attachment\choose.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 24 "template\en\default\attachment\choose.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => 'Locate attachment', 'onload' => 'document.forms[\'choose-id\'].id.focus()' }); $output .= "\n\n<form name=\"choose-id\" method=\"get\" action=\"attachment.cgi\">\n <p>Access an attachment by entering its ID into the form below:</p>\n <p>Attachment ID: <input name=\"id\" size=\"6\">\n <button name=\"action\" value=\"edit\" id=\"edit\">Details</button>\n <button name=\"action\" value=\"view\" id=\"view\">View</button>\n </p>\n</form>\n\n<form method=\"get\" action=\"show_bug.cgi\">\n <p>Or, access it from the list of attachments in its associated "; #line 38 "template\en\default\attachment\choose.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " report:</p>\n <p>"; #line 39 "template\en\default\attachment\choose.html.tmpl" $output .= $stash->get(['terms', 0, 'Bug', 0]); $output .= " ID: <input name=\"id\" size=\"6\">\n <input type=\"submit\" name=\"action\" value=\"View\" id=\"action\">\n </p>\n</form>\n"; #line 44 "template\en\default\attachment\choose.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 + -