?? updated.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1129585422', 'name' => 'admin/products/groupcontrol/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 27 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "\n Update group access controls for "; #line 26 "template\en\default\admin\products\groupcontrol\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; }); $output .= "\n"; #line 29 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => $stash->get('title') }); $output .= "\n<p>"; #line 39 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" if ($stash->get(['removed_na', 0, 'size', 0]) > 0) { #line 38 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('removed_na'); unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) { $_tt_list = Template::Config->iterator($_tt_list) || die $Template::Config::ERROR, "\n"; } ($_tt_value, $_tt_error) = $_tt_list->get_first(); eval { $_tt_oldloop = $stash->get('loop') }; $stash->set('loop', $_tt_list); eval { LOOP: while (! $_tt_error) { $stash->{'g'} = $_tt_value; $output .= "\n Removing "; #line 35 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " from group '"; #line 35 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['g', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "' which\n no longer applies to this product<p>"; #line 37 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['g', 0, 'bug_count', 0]); &$_tt_filter($output); }; $output .= " "; #line 37 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " removed<p>";; ($_tt_value, $_tt_error) = $_tt_list->get_next(); } }; $stash->set('loop', $_tt_oldloop); die $@ if $@; $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE; die $_tt_error if $_tt_error; }; } $output .= "\n"; #line 47 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" if ($stash->get(['added_mandatory', 0, 'size', 0]) > 0) { #line 46 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('added_mandatory'); unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) { $_tt_list = Template::Config->iterator($_tt_list) || die $Template::Config::ERROR, "\n"; } ($_tt_value, $_tt_error) = $_tt_list->get_first(); eval { $_tt_oldloop = $stash->get('loop') }; $stash->set('loop', $_tt_list); eval { LOOP: while (! $_tt_error) { $stash->{'g'} = $_tt_value; $output .= "\n Adding "; #line 43 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " to group '"; #line 43 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['g', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "' which is \n mandatory for this product<p>"; #line 45 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['g', 0, 'bug_count', 0]); &$_tt_filter($output); }; $output .= " "; #line 45 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " added<p>";; ($_tt_value, $_tt_error) = $_tt_list->get_next(); } }; $stash->set('loop', $_tt_oldloop); die $@ if $@; $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE; die $_tt_error if $_tt_error; }; } $output .= "\n\nGroup control updates done<p>\n"; #line 51 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" $output .= $context->process('admin/products/footer.html.tmpl'); $output .= "\n"; #line 53 "template\en\default\admin\products\groupcontrol\updated.html.tmpl" $output .= $context->process('global/footer.html.tmpl'); $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 + -