📄 code-error.html.tmpl
字号:
$output .= " is inactive and cannot be used\n to create new flags.\n"; } elsif ($stash->get('error') eq 'flag_type_nonexistent') { $output .= "\n There is no flag type with the ID <em>"; #line 250 "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 .= "</em>.\n"; } elsif ($stash->get('error') eq 'flag_type_target_type_invalid') { $output .= "\n The target type was neither <em>"; #line 253 "template\en\default\global\code-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= "</em> nor <em>attachment</em>\n but rather <em>"; #line 254 "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('target_type'); &$_tt_filter($output); }; $output .= "</em>.\n "; } elsif ($stash->get('error') eq 'invalid_field_name') { $output .= "\n Can't use "; #line 257 "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 .= " as a field name.\n"; } elsif ($stash->get('error') eq 'invalid_keyword_id') { $output .= "\n The keyword ID <em>"; #line 260 "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 .= "</em> couldn't be\n found.\n"; } elsif ($stash->get('error') eq 'invalid_user') { #line 264 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Invalid User'); $output .= "\n There is no user account"; #line 272 "template\en\default\global\code-error.html.tmpl" if ($stash->get('user_id')) { $output .= "\n with ID <em>"; #line 267 "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('user_id'); &$_tt_filter($output); }; $output .= "</em>."; } elsif ($stash->get('user_login')) { $output .= "\n with login name <em>"; #line 269 "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('user_login'); &$_tt_filter($output); }; $output .= "</em>."; } else { $output .= "\n given."; } $output .= "\n"; } elsif ($stash->get('error') eq 'ldap_bind_failed') { $output .= "\n Failed to bind to the LDAP server. The error message was: \n <code>"; #line 276 "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('errstr'); &$_tt_filter($output); }; $output .= "</code>\n"; } elsif ($stash->get('error') eq 'ldap_cannot_retreive_attr') { $output .= "\n The specified LDAP attribute "; #line 279 "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('attr'); &$_tt_filter($output); }; $output .= " was not found.\n"; } elsif ($stash->get('error') eq 'ldap_connect_failed') { $output .= "\n Could not connect to the LDAP server <code>"; #line 282 "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('server'); &$_tt_filter($output); }; $output .= "</code>.\n"; } elsif ($stash->get('error') eq 'ldap_start_tls_failed') { $output .= "\n Could not start TLS with LDAP server: <code>"; #line 285 "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('error'); &$_tt_filter($output); }; $output .= "</code>.\n"; } elsif ($stash->get('error') eq 'ldap_search_error') { $output .= "\n An error occurred while trying to search LDAP for \n ""; #line 289 "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 .= "": \n <code>"; #line 290 "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('errstr'); &$_tt_filter($output); }; $output .= "</code>\n"; } elsif ($stash->get('error') eq 'ldap_server_not_defined') { $output .= "\n The LDAP server for authentication has not been defined.\n"; } elsif ($stash->get('error') eq 'mail_send_error') { $output .= "\n There was an error sending mail from '"; #line 296 "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(['mail', 0, 'header', [ 'From' ]]); &$_tt_filter($output); }; $output .= "'\n to '"; #line 297 "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(['mail', 0, 'header', [ 'To' ]]); &$_tt_filter($output); }; $output .= "':"; #line 298 "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('msg'); &$_tt_filter($output); }; $output .= "\n"; } elsif ($stash->get('error') eq 'missing_bug_id') { $output .= "\n No "; #line 301 "template\en\default\global\code-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " ID was given.\n "; } elsif ($stash->get('error') eq 'missing_series_id') { $output .= "\n Having inserted a series into the database, no series_id was returned for\n it. Series: "; #line 305 "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', 0, 'category', 0]); &$_tt_filter($output); }; $output .= " / \n "; #line 306 "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', 0, 'subcategory', 0]); &$_tt_filter($output); }; $output .= " / \n "; #line 307 "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', 0, 'name', 0]); &$_tt_filter($output); }; $output .= ".\n "; } elsif ($stash->get('error') eq 'need_quipid') { $output .= "\n A valid quipid is needed.\n"; } elsif ($stash->get('error') eq 'param_must_be_numeric') { #line 313 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Invalid Parameter'); $output .= "\n Invalid parameter passed to "; #line 314 "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('function'); &$_tt_filter($output); }; $output .= ".\n It must be numeric.\n"; } elsif ($stash->get('error') eq 'param_required') { #line 318 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Missing Parameter'); $output .= "\n The function <code>"; #line 319 "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('function'); &$_tt_filter($output); }; $output .= "</code> requires\n a <code>"; #line 320 "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('param'); &$_tt_filter($output); }; $output .= "</code> argument, and that\n argument was not set.\n"; } elsif ($stash->get('error') eq 'protection_violation') { $output .= "\n The function <code>"; #line 324 "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('function'); &$_tt_filter($output); }; $output .= "</code> was called\n"; #line 328 "template\en\default\global\code-error.html.tmpl" if ($stash->get('argument')) { $output .= "\n with the argument <code>"; #line 327 "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('argument'); &$_tt_filter($output); }; $output .= "</code>"; } $output .= "\n\n from\n "; #line 334 "template\en\default\global\code-error.html.tmpl" if ($stash->get('caller')) { $output .= "\n <code>"; #line 333 "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('caller'); &$_tt_filter($output); }; $output .= "</code>, which is"; } $output .= "\n\n outside the package. This function may only be called from\n a subclass of <code>"; #line 337 "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('superclass'); &$_tt_filter($output); }; $output .= "</code>.\n\n"; } elsif ($stash->get('error') eq 'unknown_comparison_type') { $output .= "\n Specified comparison type is not supported.\n"; } elsif ($stash->get('error') eq 'request_queue_group_invalid') { $output .= "\n The group field <em>"; #line 344 "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 .= "</em> is invalid.\n"; } elsif ($stash->get('error') eq 'report_axis_invalid') { $output .= "\n <em>"; #line 347 "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('val');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -