linkify.html.tmpl

来自「bugzilla的安装文件」· TMPL 代码 · 共 45 行

TMPL
45
字号
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1074451170',        'name' => 'pages/linkify.html.tmpl',    },    BLOCK => sub {        my $context = shift || die "template sub called without context\n";        my $stash   = $context->stash;        my $output  = '';        my $error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n";    #line 24 "template\en\default\pages\linkify.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    #line 24 "template\en\default\pages\linkify.html.tmpl"    $output .=  $context->include('global/header.html.tmpl', { 'title' => 'Linkify Text' });    $output .=  "\n\n<p>\n  If you enter some text, this form will return it marked up like a\n  standard ";    #line 28 "template\en\default\pages\linkify.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugzilla', 0]);    $output .=  " comment. That is, valid ";    #line 28 "template\en\default\pages\linkify.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " numbers,\n  URLs, email addresses and so on will be replaced with appropriate HTML links.\n</p>\n\n<form action=\"page.cgi\" method=\"post\">\n  <textarea cols=\"80\" rows=\"20\" name=\"text\" wrap=\"hard\"></textarea>\n  <br>\n  <input type=\"hidden\" name=\"id\" value=\"linked.html\">\n  <input value=\"Linkify\" type=\"submit\">\n</form>\n";    #line 40 "template\en\default\pages\linkify.html.tmpl"    $output .=  $context->include('global/footer.html.tmpl');    $output .=  "\n";        } };        if ($@) {            $error = $context->catch($@, \$output);            die $error unless $error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {    },});

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?