📄 edit.html.tmpl
字号:
}; } else { $output .= "\n <font color=\"red\">missing</font>"; } $output .= "\n </td>\n </tr>"; } $output .= "\n <tr>\n <th align=\"right\" valign=\"top\">\n <a href=\"editproducts.cgi?action=editgroupcontrols&product="; #line 101 "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 .= "&classification="; #line 102 "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(['classification', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "\">\n Edit Group Access Controls:\n </a>\n </th>\n <td>"; #line 125 "template\en\default\admin\products\edit.html.tmpl" if ($stash->get(['group_controls', 0, 'size', 0])) { #line 122 "template\en\default\admin\products\edit.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get(['group_controls', 0, 'values', 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->{'g'} = $_tt_value; $output .= "\n <b>"; #line 109 "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(['g', 0, 'group', 0, 'name', 0]); &$_tt_filter($output); }; $output .= ":</b> "; #line 120 "template\en\default\admin\products\edit.html.tmpl" if ($stash->get(['g', 0, 'group', 0, 'isactive', 0])) { #line 111 "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(['g', 0, 'membercontrol', 0]); &$_tt_filter($output); }; $output .= "/"; #line 112 "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(['g', 0, 'othercontrol', 0]); &$_tt_filter($output); }; #line 113 "template\en\default\admin\products\edit.html.tmpl" if ($stash->get(['g', 0, 'entry', 0])) { $output .= ", ENTRY"; } #line 114 "template\en\default\admin\products\edit.html.tmpl" if ($stash->get(['g', 0, 'canedit', 0])) { $output .= ", CANEDIT"; } #line 115 "template\en\default\admin\products\edit.html.tmpl" if ($stash->get(['g', 0, 'editcomponents', 0])) { $output .= ", editcomponents"; } #line 116 "template\en\default\admin\products\edit.html.tmpl" if ($stash->get(['g', 0, 'canconfirm', 0])) { $output .= ", canconfirm"; } #line 117 "template\en\default\admin\products\edit.html.tmpl" if ($stash->get(['g', 0, 'editbugs', 0])) { $output .= ", editbugs"; } } else { $output .= "\n DISABLED"; } $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 no groups"; } $output .= "\n </td>\n </tr>\n <tr>\n <th align=\"right\">"; #line 129 "template\en\default\admin\products\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= ":</th>\n <td><a href=\"buglist.cgi?product="; #line 130 "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 .= "\">"; #line 131 "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(['product', 0, 'bug_count', 0]); &$_tt_filter($output); }; $output .= "</a></td>\n </tr>\n </table>\n \n <input type=\"hidden\" name=\"product_old_name\" \n value=\""; #line 136 "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(['product', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "\">\n <input type=\"hidden\" name=\"action\" value=\"update\">\n <input type=\"hidden\" name=\"token\" value=\""; #line 138 "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('token'); &$_tt_filter($output); }; $output .= "\">\n <input type=\"hidden\" name=\"classification\"\n value=\""; #line 140 "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(['classification', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "\">\n <input type=\"submit\" name=\"submit\" value=\"Update\">\n</form>\n "; #line 144 "template\en\default\admin\products\edit.html.tmpl" $output .= $context->process('admin/products/footer.html.tmpl', { 'no_add_product_link' => 1, 'no_edit_product_link' => 1 }); $output .= "\n"; #line 148 "template\en\default\admin\products\edit.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 + -