📄 user-error.html.tmpl
字号:
elsif ($stash->get('object') eq 'versions') { $output .= "\n versions"; } $output .= ".\n"; #line 203 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['Hook', 0, 'process', [ 'auth_failure' ]]); $output .= "\n"; } elsif ($stash->get('error') eq 'attachment_deletion_disabled') { #line 206 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Attachment Deletion Disabled'); $output .= "\n Attachment deletion is disabled on this installation.\n"; } elsif ($stash->get('error') eq 'attachment_removed') { #line 210 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Attachment Removed'); $output .= "\n The attachment you are attempting to access has been removed.\n"; } elsif ($stash->get('error') eq 'bug_access_denied') { #line 214 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Access Denied'); #line 215 "template\en\default\global\user-error.html.tmpl" $stash->set('admindocslinks', { 'groups.html' => 'Group Security' }); $output .= "\n You are not authorized to access "; #line 216 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " #"; #line 216 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('bug_id'); &$_tt_filter($output); }; $output .= ".\n"; } elsif ($stash->get('error') eq 'bug_access_query') { #line 219 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Access Denied'); #line 220 "template\en\default\global\user-error.html.tmpl" $stash->set('docslinks', { 'myaccount.html' => 'Creating an account' }); $output .= "\n You are not authorized to access "; #line 221 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " #"; #line 221 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('bug_id'); &$_tt_filter($output); }; $output .= ".\n To see this "; #line 222 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= ", you must\n first <a href=\"show_bug.cgi?id="; #line 224 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get('bug_id'); &$_tt_filter($output); }; $output .= "&GoAheadAndLogIn=1\">log\n in to an account</a> with the appropriate permissions.\n"; } elsif ($stash->get('error') eq 'buglist_parameters_required') { #line 228 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Parameters Required'); #line 0 "template\en\default\global\user-error.html.tmpl" $stash->set('docslinks', { 'query.html' => ("Searching for " . $stash->get(['terms', 0, 'bugs', 0])), 'query.html#list' => ($stash->get(['terms', 0, 'Bug', 0]) . " lists") }); $output .= "\n You may not search, or create saved searches, without any search terms.\n"; } elsif ($stash->get('error') eq 'bugs_not_changed') { #line 234 "template\en\default\global\user-error.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; #line 234 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= " Not Changed"; $output; }); $output .= "\n You do not seem to have made any changes in the selected "; #line 235 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= ",\n so there is nothing to Commit.\n"; } elsif ($stash->get('error') eq 'chart_too_large') { #line 239 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Chart Too Large'); $output .= "\n Sorry, but 2000 x 2000 is the maximum size for a chart.\n"; } elsif ($stash->get('error') eq 'comment_required') { #line 243 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Comment Required'); $output .= "\n You have to specify a <b>comment</b> on this change.\n Please explain your change.\n"; } elsif ($stash->get('error') eq 'comment_too_long') { #line 248 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Comment Too Long'); $output .= "\n Comments cannot be longer than 65,535 characters.\n"; } elsif ($stash->get('error') eq 'auth_classification_not_enabled') { #line 252 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Classification Not Enabled'); $output .= "\n Sorry, classification is not enabled.\n"; } elsif ($stash->get('error') eq 'bug_status_not_allowed') { #line 0 "template\en\default\global\user-error.html.tmpl" $stash->set('title', ($stash->get(['terms', 0, 'Bug', 0]) . " Status Not Allowed")); $output .= "\n You cannot mark open "; #line 257 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " as "; #line 257 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['status_descs', 0, $stash->get('status'), 0]); &$_tt_filter($output); }; $output .= ".\n You have to mark them as "; #line 258 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['status_descs', 0, 'RESOLVED', 0]); &$_tt_filter($output); }; $output .= " first.\n"; } elsif ($stash->get('error') eq 'classification_not_specified') { #line 261 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'You Must Supply A Classification Name'); $output .= "\n You must enter a classification name.\n"; } elsif ($stash->get('error') eq 'classification_already_exists') { #line 265 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Classification Already Exists'); $output .= "\n A classification with the name '"; #line 266 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= "' already exists.\n"; } elsif ($stash->get('error') eq 'classification_doesnt_exist') { #line 269 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Classification Does Not Exist'); $output .= "\n The classification '"; #line 270 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= "' does not exist.\n"; } elsif ($stash->get('error') eq 'classification_doesnt_exist_for_product') { #line 273 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Classification Does Not Exist For Product'); $output .= "\n The classification '"; #line 274 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('classification'); &$_tt_filter($output); }; $output .= "' does not exist\n for product '"; #line 275 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('product'); &$_tt_filter($output); }; $output .= "'.\n"; } elsif ($stash->get('error') eq 'classification_invalid_sortkey') { #line 278 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Invalid Sortkey for Classification'); $output .= "\n The sortkey <em>"; #line 279 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('sortkey'); &$_tt_filter($output); }; $output .= "</em> for the '"; #line 279 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= "'\n classification is invalid. It must be a positive integer.\n"; } elsif ($stash->get('error') eq 'classification_not_deletable') { #line 283 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Default Classification Can Not Be Deleted'); $output .= "\n You can not delete the default classification\n"; } elsif ($stash->get('error') eq 'classification_has_products') { $output .= "\n Sorry, there are products for this classification. You\n must reassign those products to another classification before you\n can delete this one.\n"; } elsif ($stash->get('error') eq 'component_already_exists') { #line 292 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Component Already Exists'); $output .= "\n A component with the name '"; #line 293 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= "' already exists.\n"; } elsif ($stash->get('error') eq 'component_blank_description') { #line 296 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Blank Component Description Not Allowed'); $output .= "\n You must enter a non-blank description for component '"; #line 297 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= "'.\n "; } elsif ($stash->get('error') eq 'component_blank_name') { #line 300 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Blank Component Name Not Allowed'); $output .= "\n You must enter a name for this new component.\n"; } elsif ($stash->get('error') eq 'component_has_bugs') { #line 304 "template\en\default\global\user-error.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "Component has "; #line 304 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output; }); $output .= "\n There are "; #line 305 "template\en\default\global\user-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('nb'); &$_tt_filter($output); }; $output .= " "; #line 305 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " entered for this component!\n You must reassign those "; #line 306 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " to another component before you\n can delete this one.\n"; } elsif ($stash->get('error') eq 'component_name_too_long') {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -