📄 code-error.html.tmpl
字号:
elsif ($stash->get('error') eq 'extern_id_conflict') { $output .= "\n The external ID '"; #line 145 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('extern_id'); &$_tt_filter($output); }; $output .= "' already exists\n in the database for '"; #line 146 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('username'); &$_tt_filter($output); }; $output .= "', but your\n account source says that '"; #line 147 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('extern_user'); &$_tt_filter($output); }; $output .= "' has that ID.\n"; } elsif ($stash->get('error') eq 'field_type_mismatch') { $output .= "\n Cannot seem to handle <code>"; #line 150 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('field'); &$_tt_filter($output); }; $output .= "</code>\n and <code>"; #line 151 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('type'); &$_tt_filter($output); }; $output .= "</code> together.\n"; } elsif ($stash->get('error') eq 'gd_not_installed') { #line 154 "template\en\default\global\code-error.html.tmpl" $stash->set('admindocslinks', { 'installation.html#install-perlmodules' => 'Installing Perl modules necessary for Charting' }); $output .= "\n Charts will not work without the GD Perl module being installed.\n Run checksetup.pl for installation instructions.\n"; } elsif ($stash->get('error') eq 'illegal_content_type_method') { $output .= "\n Your form submission got corrupted somehow. The <em>content\n method</em> field, which specifies how the content type gets determined,\n should have been either <em>autodetect</em>, <em>list</em>,\n or <em>manual</em>, but was instead\n <em>"; #line 163 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('contenttypemethod'); &$_tt_filter($output); }; $output .= "</em>.\n"; } elsif ($stash->get('error') eq 'illegal_field') { $output .= "\n A legal "; #line 166 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('field'); &$_tt_filter($output); }; $output .= " was not set.\n"; } elsif ($stash->get('error') eq 'inactive_group') { $output .= "\n Attempted to add "; #line 169 "template\en\default\global\code-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " to the '"; #line 169 "template\en\default\global\code-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 group, which is not used for "; #line 170 "template\en\default\global\code-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= ".\n"; } elsif ($stash->get('error') eq 'invalid_attach_id_to_obsolete') { $output .= "\n The attachment number of one of the attachments you wanted to obsolete,"; #line 174 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('attach_id'); &$_tt_filter($output); }; $output .= ", is invalid.\n "; } elsif ($stash->get('error') eq 'invalid_column_name_cookie') { #line 177 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Invalid Column Name'); $output .= "\n The custom sort order specified in your cookie contains an invalid\n column name <em>"; #line 179 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('fragment'); &$_tt_filter($output); }; $output .= "</em>. \n The cookie has been cleared.\n "; } elsif ($stash->get('error') eq 'invalid_column_name_form') { #line 183 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Invalid Column Name'); $output .= "\n The custom sort order specified in your form submission contains an\n invalid column name <em>"; #line 185 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('fragment'); &$_tt_filter($output); }; $output .= "</em>.\n"; } elsif ($stash->get('error') eq 'invalid_customfield_type') { #line 188 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Invalid Field Type'); $output .= "\n The type <em>"; #line 189 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('type'); &$_tt_filter($output); }; $output .= "</em> is not a valid field type.\n"; } elsif ($stash->get('error') eq 'invalid_dimensions') { #line 192 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Invalid Dimensions'); $output .= "\n The width or height specified is not a positive integer.\n"; } elsif ($stash->get('error') eq 'invalid_flag_association') { #line 196 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Invalid Flag Association'); $output .= "\n Some flags do not belong to"; #line 202 "template\en\default\global\code-error.html.tmpl" if ($stash->get('attach_id')) { $output .= "\n attachment "; #line 199 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('attach_id'); &$_tt_filter($output); }; $output .= "."; } else { $output .= "\n "; #line 201 "template\en\default\global\code-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " "; #line 201 "template\en\default\global\code-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 .= "."; } $output .= "\n"; } elsif ($stash->get('error') eq 'invalid_series_id') { #line 205 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Invalid Series'); $output .= "\n The series_id "; #line 206 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('series_id'); &$_tt_filter($output); }; $output .= " is not valid. It may be that\n this series has been deleted.\n"; } elsif ($stash->get('error') eq 'invalid_webservergroup') { $output .= "\n There is no such group: "; #line 210 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('group'); &$_tt_filter($output); }; $output .= ". Check your \$webservergroup\n setting in "; #line 211 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= './localconfig'; &$_tt_filter($output); }; $output .= ".\n"; } elsif ($stash->get('error') eq 'list_comparison_error') { $output .= "\n Unexpected error in list comparing code.\n"; } elsif ($stash->get('error') eq 'mismatched_bug_ids_on_obsolete') { $output .= "\n Attachment "; #line 217 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('attach_id'); &$_tt_filter($output); }; $output .= " ("; #line 217 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('description'); &$_tt_filter($output); }; $output .= ") \n is attached to "; #line 218 "template\en\default\global\code-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " "; #line 218 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('attach_bug_id'); &$_tt_filter($output); }; $output .= ", \n but you tried to flag it as obsolete while creating a new attachment to "; #line 220 "template\en\default\global\code-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " "; #line 220 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('my_bug_id'); &$_tt_filter($output); }; $output .= ".\n"; } elsif ($stash->get('error') eq 'flags_not_available') { #line 223 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Flag Editing not Allowed'); #line 230 "template\en\default\global\code-error.html.tmpl" if ($stash->get('type') eq 'b') { $output .= "\n Flags cannot be set or changed when\n changing several "; #line 226 "template\en\default\global\code-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " at once."; } else { $output .= "\n References to existing flags when creating\n a new attachment are invalid."; } $output .= " \n"; } elsif ($stash->get('error') eq 'flag_requestee_disabled') { #line 233 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Flag not Requestable from Specific Person'); $output .= "\n You can't ask a specific person for\n <em>"; #line 235 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['type', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "</em>.\n "; } elsif ($stash->get('error') eq 'flag_status_invalid') { $output .= "\n The flag status <em>"; #line 238 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('status'); &$_tt_filter($output); }; $output .= "</em>"; #line 241 "template\en\default\global\code-error.html.tmpl" if ($stash->get('id')) { $output .= "\n for flag ID #"; #line 240 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('id'); &$_tt_filter($output); }; } $output .= "\n is invalid.\n"; } elsif ($stash->get('error') eq 'flag_type_inactive') { #line 245 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Inactive Flag Type'); $output .= "\n The flag type "; #line 246 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('type'); &$_tt_filter($output); };
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -