📄 user-error.html.tmpl
字号:
$output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " \n "; #line 252 "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 "; } elsif ($stash->get('error') eq 'illegal_attachment_is_patch') { #line 255 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Your Search Makes No Sense'); $output .= "\n The only legal values for the <em>Attachment is patch</em> field are\n 0 and 1.\n "; } elsif ($stash->get('error') eq 'illegal_change') { #line 260 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Not allowed'); $output .= "\n You tried to change the \n <strong>"; #line 262 "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 .= "</strong> field \n from <em>"; #line 263 "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('oldvalue'); &$filter($output); }; $output .= "</em> to \n <em>"; #line 264 "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('newvalue'); &$filter($output); }; $output .= "</em>, \n but only the owner or submitter of the "; #line 265 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= ", or a \n sufficiently empowered user, may change that field.\n "; } elsif ($stash->get('error') eq 'illegal_changed_in_last_x_days') { #line 269 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Your Search Makes No Sense'); $output .= "\n The <em>Changed in last ___ days</em> field must be a simple number. \n You entered <tt>"; #line 271 "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('value'); &$filter($output); }; $output .= "</tt>, which isn't.\n "; } elsif ($stash->get('error') eq 'illegal_date') { #line 274 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Illegal Date'); $output .= "\n '<tt>"; #line 275 "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('date'); &$filter($output); }; $output .= "</tt>' is not a legal date.\n "; } elsif ($stash->get('error') eq 'illegal_email_address') { #line 278 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Invalid Email Address'); $output .= "\n The e-mail address you entered (<b>"; #line 279 "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('addr'); &$filter($output); }; $output .= "</b>) \n didn't pass our syntax checking for a legal email address. \n "; #line 281 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['Param', [ 'emailregexpdesc' ]]); $output .= "\n It must also not contain any of these special characters:\n <tt>\\ ( ) & < > , ; : " [ ]</tt>, or any whitespace.\n "; } elsif ($stash->get('error') eq 'illegal_frequency') { #line 286 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Too Frequent'); $output .= "\n Unless you are an administrator, you may not create series which are \n run more often than once every "; #line 288 "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('minimum'); &$filter($output); }; $output .= " days.\n "; } elsif ($stash->get('error') eq 'illegal_group_control_combination') { #line 291 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Your Group Control Combination Is Illegal'); $output .= "\n Your group control combination for group ""; #line 294 "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('groupname'); &$filter($output); }; $output .= "" is illegal.\n"; } elsif ($stash->get('error') eq 'illegal_is_obsolete') { #line 297 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Your Search Makes No Sense'); $output .= "\n The only legal values for the <em>Attachment is obsolete</em> field are\n 0 and 1.\n"; } elsif ($stash->get('error') eq 'illegal_query_name') { #line 302 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Illegal Search Name'); $output .= "\n The name of your search cannot contain any of the following characters: \n <, >, &.\n"; } elsif ($stash->get('error') eq 'illegal_series_creation') { $output .= "\n You are not authorised to create series.\n "; } elsif ($stash->get('error') eq 'illegal_series_edit') { $output .= "\n You are not authorised to edit this series. To do this, you must either\n be its creator, or an administrator.\n "; } elsif ($stash->get('error') eq 'insufficient_data') { #line 316 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Insufficient Data'); $output .= "\n None of the series you selected have any data associated with them, so a\n chart cannot be plotted.\n "; } elsif ($stash->get('error') eq 'insufficient_data_points') { $output .= "\n We don't have enough data points to make a graph (yet).\n "; } elsif ($stash->get('error') eq 'insufficient_privs_for_multi') { #line 325 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Insufficient Privileges'); $output .= "\n Sorry, you do not have sufficient privileges to edit multiple "; #line 328 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= ".\n "; } elsif ($stash->get('error') eq 'invalid_attach_id') { #line 331 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Invalid Attachment ID'); $output .= "\n The attachment id "; #line 332 "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 .= " is invalid.\n"; } elsif ($stash->get('error') eq 'invalid_bug_id_non_existent') { #line 335 "template\en\default\global\user-error.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "Invalid "; #line 335 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'Bug', 0]); $output .= " ID"; $output; }); #line 335 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'Bug', 0]); $output .= " #"; #line 335 "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 .= " does not exist.\n "; } elsif ($stash->get('error') eq 'invalid_bug_id_or_alias') { #line 338 "template\en\default\global\user-error.html.tmpl" # CAPTURE $stash->set('title', do { my $output = ''; $output .= "Invalid "; #line 338 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'Bug', 0]); $output .= " ID"; $output; }); #line 353 "template\en\default\global\user-error.html.tmpl" if ($stash->get('bug_id')) { $output .= "\n '"; #line 339 "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 .= "' is not a valid "; #line 339 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " number"; #line 344 "template\en\default\global\user-error.html.tmpl" if ($stash->get(['Param', [ 'usebugaliases' ]])) { $output .= "\n nor an alias to "; #line 342 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'abug', 0]); $output .= " number"; } $output .= "."; } else { #line 350 "template\en\default\global\user-error.html.tmpl" if ($stash->get('field')) { $output .= "\n The '"; #line 347 "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 .= "' field\n cannot be empty."; } $output .= "\n You must enter a valid "; #line 351 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " number!"; } $output .= "\n <noscript>\n If you are trying to use QuickSearch, you need to enable\n JavaScript in your browser.\n </noscript>\n"; } elsif ($stash->get('error') eq 'invalid_changedsince') { #line 360 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Invalid \'Changed Since\''); $output .= "\n The 'changed since' value, '"; #line 361 "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 .= "', must be an\n integer >= 0.\n"; } elsif ($stash->get('error') eq 'invalid_content_type') { #line 365 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Invalid Content-Type'); $output .= "\n The content type <em>"; #line 366 "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('contenttype'); &$filter($output); }; $output .= "</em> is invalid.\n Valid types must be of the form <em>foo/bar</em> where <em>foo</em>\n is either <em>application, audio, image, message, model, multipart,\n text,</em> or <em>video</em>.\n ";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -