📄 updated.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1168217556', 'name' => 'admin/products/updated.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 54 "template\en\default\admin\products\updated.html.tmpl" if ($stash->get('classification')) { #line 50 "template\en\default\admin\products\updated.html.tmpl" # CAPTURE $stash->set('classification_url_part', do { my $output = ''; $output .= "&classification="; #line 49 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get(['classification', 0, 'name', 0]); &$_tt_filter($output); }; $output; }); #line 53 "template\en\default\admin\products\updated.html.tmpl" # CAPTURE $stash->set('classification_text', do { my $output = ''; $output .= " \n of classification '"; #line 52 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['classification', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "'"; $output; }); } $output .= "\n"; #line 57 "template\en\default\admin\products\updated.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "Updating Product '"; #line 56 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['product', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "' "; #line 57 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('none') || $context->throw($context->error); $output .= $stash->get('classification_text'); &$_tt_filter($output); }; $output; }); #line 58 "template\en\default\admin\products\updated.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => $stash->get('title'), 'style_urls' => [ 'skins/standard/admin.css' ] }); #line 62 "template\en\default\admin\products\updated.html.tmpl" $stash->set('updated', 0); $output .= "\n"; #line 72 "template\en\default\admin\products\updated.html.tmpl" if ($stash->get(['product', 0, 'name', 0]) ne $stash->get(['old_product', 0, 'name', 0])) { $output .= "\n <p>\n Updated product name from '"; #line 66 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['old_product', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "' to \n <a href=\"editproducts.cgi?action=edit&product="; #line 68 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get(['product', 0, 'name', 0]); &$_tt_filter($output); }; #line 69 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('none') || $context->throw($context->error); $output .= $stash->get('classification_url_part'); &$_tt_filter($output); }; $output .= "\">"; #line 69 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['product', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "</a>.\n </p>"; #line 71 "template\en\default\admin\products\updated.html.tmpl" $stash->set('updated', 1); } $output .= "\n\n"; #line 81 "template\en\default\admin\products\updated.html.tmpl" if ($stash->get(['product', 0, 'description', 0]) ne $stash->get(['old_product', 0, 'description', 0])) { $output .= "\n <p>\n Updated description to:\n </p>\n <p style=\"margin: 1em 3em 1em 3em\">"; #line 79 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html_light') || $context->throw($context->error); $output .= $stash->get(['product', 0, 'description', 0]); &$_tt_filter($output); }; $output .= "</p>"; #line 80 "template\en\default\admin\products\updated.html.tmpl" $stash->set('updated', 1); } $output .= "\n"; #line 94 "template\en\default\admin\products\updated.html.tmpl" if ($stash->get(['product', 0, 'disallow_new', 0]) ne $stash->get(['old_product', 0, 'disallow_new', 0])) { $output .= "\n <p>\n Product is now"; #line 90 "template\en\default\admin\products\updated.html.tmpl" if ($stash->get(['product', 0, 'disallow_new', 0])) { $output .= "\n closed to"; } else { $output .= "\n open for "; } $output .= "\n new "; #line 91 "template\en\default\admin\products\updated.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= ".\n </p>"; #line 93 "template\en\default\admin\products\updated.html.tmpl" $stash->set('updated', 1); } $output .= "\n"; #line 112 "template\en\default\admin\products\updated.html.tmpl" if ($stash->get(['product', 0, 'milestone_url', 0]) ne $stash->get(['old_product', 0, 'milestone_url', 0])) { $output .= "\n <p>\n Updated milestone URL "; #line 102 "template\en\default\admin\products\updated.html.tmpl" if ($stash->get(['old_product', 0, 'milestone_url', 0]) ne '') { $output .= "\n from<br> <a href=\""; #line 100 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['old_product', 0, 'milestone_url', 0]); &$_tt_filter($output); }; $output .= "\">'"; #line 101 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['old_product', 0, 'milestone_url', 0]); &$_tt_filter($output); }; $output .= "'</a>"; } $output .= "\n to"; #line 109 "template\en\default\admin\products\updated.html.tmpl" if ($stash->get(['product', 0, 'milestone_url', 0]) ne '') { $output .= "\n <br><a href=\""; #line 105 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['product', 0, 'milestone_url', 0]); &$_tt_filter($output); }; $output .= "\">'"; #line 106 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['product', 0, 'milestone_url', 0]); &$_tt_filter($output); }; $output .= "'</a>."; } else { $output .= "\n be empty."; } $output .= "\n </p>"; #line 111 "template\en\default\admin\products\updated.html.tmpl" $stash->set('updated', 1); } $output .= "\n"; #line 120 "template\en\default\admin\products\updated.html.tmpl" if ($stash->get(['product', 0, 'default_milestone', 0]) ne $stash->get(['old_product', 0, 'default_milestone', 0])) { $output .= "\n <p>\n Updated default milestone from '"; #line 116 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['old_product', 0, 'default_milestone', 0]); &$_tt_filter($output); }; $output .= "' to\n '"; #line 117 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['product', 0, 'default_milestone', 0]); &$_tt_filter($output); }; $output .= "'.\n </p>"; #line 119 "template\en\default\admin\products\updated.html.tmpl" $stash->set('updated', 1); } $output .= "\n "; #line 129 "template\en\default\admin\products\updated.html.tmpl" if ($stash->get(['product', 0, 'votes_per_user', 0]) ne $stash->get(['old_product', 0, 'votes_per_user', 0])) { $output .= "\n <p>\n Updated votes per user from\n "; #line 125 "template\en\default\admin\products\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['old_product', 0, 'votes_per_user', 0]); &$_tt_filter($output); }; $output .= " to \n ";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -