?? series.html.tmpl
字號(hào):
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1157386910', 'name' => 'reports/series.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"; #line 30 "template\en\default\reports\series.html.tmpl" $output .= $context->process('reports/series-common.html.tmpl', { 'newtext' => 'New (name below)' }); $output .= "\n \n<table cellpadding=\"2\" cellspacing=\"2\" border=\"0\"\n style=\"text-align: left; margin-left: 20px\">\n <tbody>\n <tr>\n <th>Category:</th>\n <th></th>\n <th>Sub-category:</th>\n <th>Name:</th>\n <td></td>\n </tr>\n <tr>"; #line 45 "template\en\default\reports\series.html.tmpl" $output .= $context->process('series_select', { 'sel' => { 'name' => 'category', 'size' => 5, 'onchange' => 'catSelected()' } }); $output .= "\n <td>\n <noscript>\n <input type=\"submit\" name=\"action-edit\" value=\"Update -->\"\n id=\"action-edit\">\n </noscript>\n </td>\n "; #line 55 "template\en\default\reports\series.html.tmpl" $output .= $context->process('series_select', { 'sel' => { 'name' => 'subcategory', 'size' => 5, 'onchange' => 'checkNewState()' } }); $output .= "\n \n <td valign=\"top\" name=\"name\">\n <input type=\"text\" name=\"name\" maxlength=\"64\" \n value=\""; #line 61 "template\en\default\reports\series.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['default', 0, 'name', 0, 0, 0]); &$_tt_filter($output); }; $output .= "\" size=\"25\">\n </td>\n\n <td valign=\"top\">\n <span style=\"font-weight: bold;\">Run every</span> \n <input type=\"text\" size=\"2\" name=\"frequency\"\n value=\""; #line 67 "template\en\default\reports\series.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= ($stash->get(['default', 0, 'frequency', 0, 0, 0]) || 7); &$_tt_filter($output); }; $output .= "\">\n <span style=\"font-weight: bold;\"> day(s)</span><br>\n "; #line 76 "template\en\default\reports\series.html.tmpl" if ($stash->get(['user', 0, 'in_group', [ 'admin' ]])) { $output .= " \n <input type=\"checkbox\" name=\"public\""; #line 73 "template\en\default\reports\series.html.tmpl" if ($stash->get(['default', 0, 'public', 0, 0, 0])) { $output .= 'checked=\'checked\''; } $output .= ">\n <span style=\"font-weight: bold;\">Visible to all<br>\n (within group restrictions)</span> "; } $output .= "\n </td>\n </tr>\n\n <tr>\n <td>\n <input type=\"text\" style=\"width: 100%\" name=\"newcategory\" \n maxlength=\"64\" value=\""; #line 83 "template\en\default\reports\series.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['default', 0, 'newcategory', 0, 0, 0]); &$_tt_filter($output); }; $output .= "\">\n </td>\n <td></td>\n <td>\n <input type=\"text\" style=\"width: 100%\" name=\"newsubcategory\"\n maxlength=\"64\" \n value=\""; #line 89 "template\en\default\reports\series.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['default', 0, 'newsubcategory', 0, 0, 0]); &$_tt_filter($output); }; $output .= "\">\n </td>\n <td></td>\n <td>\n <input type=\"submit\" name=\"submit-button\" id=\"submit-button\"\n value=\""; #line 94 "template\en\default\reports\series.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('button_name'); &$_tt_filter($output); }; $output .= "\">\n </td>\n </tr>\n </tbody>\n</table>\n"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_error->type eq 'return'; } return $output; }, DEFBLOCKS => { },});
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -