📄 user-error.html.tmpl
字号:
} elsif ($stash->get('error') eq 'invalid_context') { #line 372 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Invalid Context'); $output .= "\n The context "; #line 373 "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('context'); &$filter($output); }; $output .= " is invalid (must be a number,\n \"file\" or \"patch\").\n"; } elsif ($stash->get('error') eq 'invalid_format') { #line 377 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Invalid Format'); $output .= "\n The format \""; #line 378 "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('format'); &$filter($output); }; $output .= "\" is invalid (must be one of"; #line 383 "template\en\default\global\user-error.html.tmpl" # FOREACH do { my ($value, $error, $oldloop); my $list = $stash->get('formats'); unless (UNIVERSAL::isa($list, 'Template::Iterator')) { $list = Template::Config->iterator($list) || die $Template::Config::ERROR, "\n"; } ($value, $error) = $list->get_first(); eval { $oldloop = $stash->get('loop') }; $stash->set('loop', $list); eval { LOOP: while (! $error) { $stash->{'my_format'} = $value; $output .= "\n \""; #line 381 "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('my_format'); &$filter($output); }; $output .= "\"";; ($value, $error) = $list->get_next(); } }; $stash->set('loop', $oldloop); die $@ if $@; $error = 0 if $error && $error eq Template::Constants::STATUS_DONE; die $error if $error; }; $output .= "\n ).\n"; } elsif ($stash->get('error') eq 'invalid_maxrows') { #line 387 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Invalid Max Rows'); $output .= "\n The maximum number of rows, '"; #line 388 "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('maxrows'); &$filter($output); }; $output .= "', must be\n a positive integer.\n"; } elsif ($stash->get('error') eq 'invalid_product_name') { #line 392 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Invalid Product Name'); $output .= "\n The product name '"; #line 393 "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('product'); &$filter($output); }; $output .= "' is invalid or does not exist.\n "; } elsif ($stash->get('error') eq 'invalid_username') { #line 396 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Invalid Username'); $output .= "\n The name <tt>"; #line 397 "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('name'); &$filter($output); }; $output .= "</tt> is not a valid username. \n Either you misspelled it, or the person has not\n registered for a "; #line 399 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " account.\n"; } elsif ($stash->get('error') eq 'invalid_username_or_password') { #line 402 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Invalid Username Or Password'); $output .= "\n The username or password you entered is not valid.\n"; } elsif ($stash->get('error') eq 'keyword_access_denied') { #line 406 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Access Denied'); $output .= "\n Sorry, you aren't a member of the 'editkeywords' group, and so\n you aren't allowed to add, modify or delete keywords.\n"; } elsif ($stash->get('error') eq 'keyword_already_exists') { #line 411 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Keyword Already Exists'); $output .= "\n A keyword with the name "; #line 412 "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('name'); &$filter($output); }; $output .= " already exists.\n"; } elsif ($stash->get('error') eq 'keyword_blank_description') { #line 415 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Blank Keyword Description Not Allowed'); $output .= "\n You must enter a non-blank description for the keyword.\n "; } elsif ($stash->get('error') eq 'keyword_blank_name') { #line 419 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Blank Keyword Name Not Allowed'); $output .= "\n You must enter a non-blank name for the keyword.\n "; } elsif ($stash->get('error') eq 'keyword_invalid_name') { #line 423 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Invalid Keyword Name'); $output .= "\n You may not use commas or whitespace in a keyword name.\n "; } elsif ($stash->get('error') eq 'login_needed_for_password_change') { #line 427 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Login Name Required'); $output .= "\n You must enter a login name when requesting to change your password.\n"; } elsif ($stash->get('error') eq 'milestone_required') { #line 431 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Milestone Required'); $output .= "\n You must determine a target milestone for "; #line 432 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " \n "; #line 433 "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('bug_id'); &$filter($output); }; $output .= "\n if you are going to accept it. Part of accepting "; #line 436 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'abug', 0]); $output .= " is giving an estimate of when it will be fixed.\n"; } elsif ($stash->get('error') eq 'misarranged_dates') { #line 439 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Misarranged Dates'); $output .= "\n Your start date ("; #line 440 "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('datefrom'); &$filter($output); }; $output .= ") is after \n your end date ("; #line 441 "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('dateto'); &$filter($output); }; $output .= ").\n "; } elsif ($stash->get('error') eq 'missing_attachment_description') { #line 444 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Missing Attachment Description'); $output .= "\n You must enter a description for the attachment.\n "; } elsif ($stash->get('error') eq 'missing_category') { #line 448 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Missing Category'); $output .= "\n You did not specify a category for this series.\n "; } elsif ($stash->get('error') eq 'missing_content_type') { #line 452 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Missing Content-Type'); $output .= "\n You asked "; #line 453 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " to auto-detect the content type, but\n your browser did not specify a content type when uploading the file, \n so you must enter a content type manually.\n "; } elsif ($stash->get('error') eq 'missing_content_type_method') { #line 458 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Missing Content-Type Determination Method'); $output .= "\n You must choose a method for determining the content type,\n either <em>auto-detect</em>, <em>select from list</em>, or <em>enter \n manually</em>.\n "; } elsif ($stash->get('error') eq 'missing_cookie') { #line 464 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Missing Cookie'); $output .= "\n Sorry, I seem to have lost the cookie that recorded\n the results of your last search. I'm afraid you will have to start\n again on the <a href=\"query.cgi\">search page</a>.\n "; } elsif ($stash->get('error') eq 'missing_datasets') { #line 470 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'No Datasets Selected'); $output .= "\n You must specify one or more datasets to plot.\n "; } elsif ($stash->get('error') eq 'missing_email_type') { #line 474 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Your Search Makes No Sense'); $output .= "\n You must specify one or more fields in which to search for\n <tt>"; #line 476 "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('email'); &$filter($output); }; $output .= "</tt>.\n "; } elsif ($stash->get('error') eq 'missing_frequency') { #line 479 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Missing Frequency'); $output .= "\n You did not specify a valid frequency for this series.\n "; } elsif ($stash->get('error') eq 'missing_name') { #line 483 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Missing Name'); $output .= "\n You did not specify a name for this series.\n "; } elsif ($stash->get('error') eq 'missing_query') { #line 487 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Missing Search'); $output .= "\n The search named <em>"; #line 488 "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('queryname'); &$filter($output); }; $output .= "</em> does not\n exist.\n "; } elsif ($stash->get('error') eq 'must_be_patch') { #line 492 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Attachment Must Be Patch'); $output .= "\n Attachment #"; #line 493 "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('attach_id'); &$filter($output); }; $output .= " must be a patch.\n"; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -