📄 edit.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1163177490', 'name' => 'admin/products/edit.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\admin\products\edit.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "Edit Product"; $output; }); $output .= "\n"; #line 32 "template\en\default\admin\products\edit.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => $stash->get('title'), 'style_urls' => [ 'skins/standard/admin.css' ] }); $output .= "\n\n<form method=\"post\" action=\"editproducts.cgi\">\n <table border=\"0\" cellpadding=\"4\" cellspacing=\"0\">\n"; #line 40 "template\en\default\admin\products\edit.html.tmpl" $output .= $context->process('admin/products/edit-common.html.tmpl'); $output .= "\n\n <tr>\n <th align=\"right\" valign=\"top\">\n <a href=\"editcomponents.cgi?product="; #line 44 "template\en\default\admin\products\edit.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); }; $output .= "\">\n Edit components:\n </a>\n </th>\n <td>"; #line 61 "template\en\default\admin\products\edit.html.tmpl" if ($stash->get(['product', 0, 'components', 0, 'size', 0])) { #line 58 "template\en\default\admin\products\edit.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get(['product', 0, 'components', 0]); 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->{'component'} = $_tt_value; $output .= "\n <b>"; #line 51 "template\en\default\admin\products\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['component', 0, 'name', 0]); &$_tt_filter($output); }; $output .= ":</b> "; #line 56 "template\en\default\admin\products\edit.html.tmpl" if ($stash->get(['component', 0, 'description', 0])) { #line 53 "template\en\default\admin\products\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html_light') || $context->throw($context->error); $output .= $stash->get(['component', 0, 'description', 0]); &$_tt_filter($output); }; } else { $output .= "\n <font color=\"red\">description missing</font>"; } $output .= "\n <br>";; ($_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; }; } else { $output .= "\n <font color=\"red\">missing</font>"; } $output .= "\n </td>\n </tr>\n <tr>\n <th align=\"right\" valign=\"top\">\n <a href=\"editversions.cgi?product="; #line 66 "template\en\default\admin\products\edit.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); }; $output .= "\">Edit\nversions:</a>\n </th>\n <td>"; #line 77 "template\en\default\admin\products\edit.html.tmpl" if ($stash->get(['product', 0, 'versions', 0, 'size', 0])) { #line 74 "template\en\default\admin\products\edit.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get(['product', 0, 'versions', 0]); 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->{'v'} = $_tt_value; #line 72 "template\en\default\admin\products\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['v', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "\n <br>";; ($_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; }; } else { $output .= "\n <font color=\"red\">missing</font>"; } $output .= "\n </td>\n </tr>"; #line 97 "template\en\default\admin\products\edit.html.tmpl" if ($stash->get(['Param', [ 'usetargetmilestone' ]])) { $output .= "\n <tr>\n <th align=\"right\" valign=\"top\">\n <a href=\"editmilestones.cgi?product="; #line 83 "template\en\default\admin\products\edit.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); }; $output .= "\">\n Edit milestones:</a>\n </th>\n <td>"; #line 94 "template\en\default\admin\products\edit.html.tmpl" if ($stash->get(['product', 0, 'milestones', 0, 'size', 0])) { #line 91 "template\en\default\admin\products\edit.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get(['product', 0, 'milestones', 0]); 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->{'m'} = $_tt_value; #line 89 "template\en\default\admin\products\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['m', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "\n <br>";; ($_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;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -