delete_reason.txt.tmpl

来自「buzilla软件」· TMPL 代码 · 共 62 行

TMPL
62 行
字号
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1145305176',        'name' => 'attachment/delete_reason.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\n";    $output .=  "\n\nThe content of attachment ";    #line 23 "template\en\default\attachment\delete_reason.txt.tmpl"    $output .=  $stash->get('attachid');    $output .=  " has been deleted by\n    ";    #line 24 "template\en\default\attachment\delete_reason.txt.tmpl"    $output .=  $stash->get(['user', 0, 'identity', 0]);    #line 31 "template\en\default\attachment\delete_reason.txt.tmpl"    if ($stash->get('reason')) {    $output .=  "\nwho provided the following reason:\n\n";    #line 28 "template\en\default\attachment\delete_reason.txt.tmpl"    $output .=  $stash->get('reason');    }    else {    $output .=  "\nwithout providing any reason.";    }        $output .=  "\n\nThe token used to delete this attachment was generated at ";    #line 33 "template\en\default\attachment\delete_reason.txt.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('time')                  || $context->throw($context->error);        $output .=  $stash->get('date');                &$_tt_filter($output);    };        $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 + =
减小字号Ctrl + -
显示快捷键?