📄 textarea.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1178553162', 'name' => 'global/textarea.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<textarea "; #line 36 "template\en\default\global\textarea.html.tmpl" if ($stash->get('name')) { $output .= "name=\""; #line 36 "template\en\default\global\textarea.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= "\""; } #line 37 "template\en\default\global\textarea.html.tmpl" if ($stash->get('id')) { $output .= " id=\""; #line 37 "template\en\default\global\textarea.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('id'); &$_tt_filter($output); }; $output .= "\""; } #line 38 "template\en\default\global\textarea.html.tmpl" if ($stash->get('accesskey')) { $output .= " accesskey=\""; #line 38 "template\en\default\global\textarea.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('accesskey'); &$_tt_filter($output); }; $output .= "\""; } #line 39 "template\en\default\global\textarea.html.tmpl" if ($stash->get('style')) { $output .= " style=\""; #line 39 "template\en\default\global\textarea.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('style'); &$_tt_filter($output); }; $output .= "\""; } #line 40 "template\en\default\global\textarea.html.tmpl" if ($stash->get('wrap')) { $output .= " wrap=\""; #line 40 "template\en\default\global\textarea.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('wrap'); &$_tt_filter($output); }; $output .= "\""; } #line 45 "template\en\default\global\textarea.html.tmpl" if ($stash->get('defaultrows') && $stash->get(['user', 0, 'settings', 0, 'zoom_textareas', 0, 'value', 0]) eq 'off') { $output .= "\n rows=\""; #line 42 "template\en\default\global\textarea.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('defaultrows'); &$_tt_filter($output); }; $output .= "\""; } else { $output .= "\n rows=\""; #line 44 "template\en\default\global\textarea.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('minrows'); &$_tt_filter($output); }; $output .= "\""; } $output .= "\n cols=\""; #line 46 "template\en\default\global\textarea.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('cols'); &$_tt_filter($output); }; $output .= "\""; #line 49 "template\en\default\global\textarea.html.tmpl" if ($stash->get('maxrows') && $stash->get(['user', 0, 'settings', 0, 'zoom_textareas', 0, 'value', 0]) eq 'on') { $output .= "\n onFocus=\"this.rows="; #line 48 "template\en\default\global\textarea.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('maxrows'); &$_tt_filter($output); }; $output .= "\""; } $output .= ">"; #line 49 "template\en\default\global\textarea.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('defaultcontent'); &$_tt_filter($output); }; $output .= "</textarea>\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 + -