📄 delete_reason.txt.tmpl
字号:
#------------------------------------------------------------------------# 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -