📄 user-error.html.tmpl
字号:
elsif ($stash->get('error') eq 'missing_subcategory') { #line 496 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Missing Subcategory'); $output .= "\n You did not specify a subcategory for this series.\n "; } elsif ($stash->get('error') eq 'need_component') { #line 500 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Component Required'); $output .= "\n You must specify a component to help determine the new owner of these "; #line 503 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= ".\n"; } elsif ($stash->get('error') eq 'need_product') { #line 506 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Product Required'); $output .= "\n You must specify a product to help determine the new owner of these "; #line 507 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= ".\n"; } elsif ($stash->get('error') eq 'need_quip') { #line 510 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Quip Required'); $output .= "\n Please enter a quip in the text field.\n"; } elsif ($stash->get('error') eq 'new_password_missing') { #line 514 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'New Password Missing'); $output .= "\n You must enter a new password.\n"; } elsif ($stash->get('error') eq 'no_axes_defined') { #line 518 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'No Axes Defined'); $output .= "\n You didn't define any axes to plot.\n"; } elsif ($stash->get('error') eq 'no_bugs_chosen') { #line 522 "template\en\default\global\user-error.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "No "; #line 522 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= " Chosen"; $output; }); $output .= "\n You apparently didn't choose any "; #line 523 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " to modify.\n"; } elsif ($stash->get('error') eq 'no_component_change_for_multiple_products') { #line 526 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Action Not Permitted'); $output .= "\n You cannot change the component for a list of "; #line 527 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " covering more than\n one product.\n"; } elsif ($stash->get('error') eq 'no_components') { #line 531 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'No Components'); $output .= "\n Sorry; there needs to be at least one component for this product in order\n to create a new "; #line 533 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= "."; #line 543 "template\en\default\global\user-error.html.tmpl" if ($stash->get(['UserInGroup', [ 'editcomponents' ]])) { $output .= "\n <a href=\"editcomponents.cgi?product="; #line 536 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get('product'); &$filter($output); }; $output .= "\">Create\n a new component</a>."; } else { $output .= "\n Please contact "; #line 540 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['Param', [ 'maintainer' ]]); $output .= ", giving the name of\n the product in which you tried to create a new "; #line 541 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= "."; } $output .= "\n"; } elsif ($stash->get('error') eq 'no_dupe_stats') { #line 546 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Cannot Find Duplicate Statistics'); $output .= "\n There are no duplicate statistics for today ("; #line 547 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('today'); &$filter($output); }; $output .= ") \n or yesterday.\n"; } elsif ($stash->get('error') eq 'no_dupe_stats_error_today') { #line 551 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Error Reading Today\'s Dupes File'); $output .= "\n An error occurred opening today's dupes file: "; #line 552 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('error_msg'); &$filter($output); }; $output .= ".\n"; } elsif ($stash->get('error') eq 'no_dupe_stats_error_whenever') { #line 555 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Error Reading Previous Dupes File'); $output .= "\n An error occurred opening "; #line 556 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('changedsince'); &$filter($output); }; $output .= " days ago\n ("; #line 557 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('whenever'); &$filter($output); }; $output .= ")'s dupes file:"; #line 559 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('error_msg'); &$filter($output); }; $output .= ".\n"; } elsif ($stash->get('error') eq 'no_dupe_stats_error_yesterday') { #line 562 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Error Reading Yesterday\'s Dupes File'); $output .= "\n There are no duplicate statistics for today ("; #line 563 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('today'); &$filter($output); }; $output .= "), \n and an error\n occurred opening yesterday's dupes file: "; #line 565 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('error_msg'); &$filter($output); }; $output .= ".\n"; } elsif ($stash->get('error') eq 'no_html_in_quips') { #line 568 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'No HTML In Quips'); $output .= "\n Sorry - for security reasons, support for HTML tags has been turned off\n in quips.\n"; } elsif ($stash->get('error') eq 'no_new_quips') { #line 573 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'No New Quips'); $output .= "\n This site does not permit the addition of new quips.\n"; } elsif ($stash->get('error') eq 'no_page_specified') { #line 577 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'No Page Specified'); $output .= "\n You did not specify the id of a page to display.\n"; } elsif ($stash->get('error') eq 'no_products') { #line 581 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'No Products'); $output .= "\n Either no products have been defined to enter "; #line 582 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " against or you have not\n been given access to any.\n"; } elsif ($stash->get('error') eq 'number_not_numeric') { #line 586 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Numeric Value Required'); $output .= "\n The value '"; #line 587 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('num'); &$filter($output); }; $output .= "' in the \n <em>"; #line 588 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['field_descs', 0, $stash->get('field'), 0]); &$filter($output); }; $output .= "</em> field \n is not a numeric value.\n"; } elsif ($stash->get('error') eq 'number_too_large') { #line 592 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Number Too Large'); $output .= "\n The value '"; #line 593 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('num'); &$filter($output); }; $output .= "' in the \n <em>"; #line 594 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['field_descs', 0, $stash->get('field'), 0]); &$filter($output); }; $output .= "</em> field \n is more than the maximum allowable value of '"; #line 595 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('max_num'); &$filter($output); }; $output .= "'.\n"; } elsif ($stash->get('error') eq 'number_too_small') { #line 598 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Number Too Small'); $output .= "\n The value '"; #line 599 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('num'); &$filter($output); }; $output .= "' \n in the <em>"; #line 600 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['field_descs', 0, $stash->get('field'), 0]); &$filter($output); }; $output .= "</em> field \n is less than the minimum allowable value of
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -