📄 user-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_requestee_needs_privs') { #line 501 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Flag Requestee Needs Privileges'); #line 502 "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(['requestee', 0, 'identity', 0]); &$_tt_filter($output); }; $output .= " does not have permission to set the\n <em>"; #line 503 "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(['flagtype', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "</em> flag. Please select a user who is\n a member of the <em>"; #line 504 "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(['flagtype', 0, 'grant_group', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "</em> group.\n"; } elsif ($stash->get('error') eq 'flag_requestee_unauthorized') { #line 507 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Flag Requestee Not Authorized'); #line 508 "template\en\default\global\user-error.html.tmpl" $stash->set('admindocslinks', { 'flags-overview.html#flags-admin' => 'Administering Flags', 'groups.html' => 'Group Security' }); #line 510 "template\en\default\global\user-error.html.tmpl" $stash->set('docslinks', { 'flags-overview.html' => 'An overview on Flags', 'flags.html' => 'Using Flags' }); $output .= "\n\n You asked "; #line 513 "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(['requestee', 0, 'identity', 0]); &$_tt_filter($output); }; $output .= "\n for <code>"; #line 514 "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(['flag_type', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "</code> on "; #line 514 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " \n "; #line 515 "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); }; #line 516 "template\en\default\global\user-error.html.tmpl" if ($stash->get('attach_id') && $stash->get('attach_id') > 0) { $output .= ", attachment "; #line 516 "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('attach_id'); &$_tt_filter($output); }; } $output .= ",\n but that "; #line 517 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " has been restricted to users in certain groups, \n and the user you asked isn't in all the groups to which \n the "; #line 519 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " has been restricted.\n Please choose someone else to ask, or make the "; #line 520 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " accessible\n to users on its CC: list and add that user to the list.\n"; } elsif ($stash->get('error') eq 'flag_requestee_unauthorized_attachment') { #line 524 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Flag Requestee Not Authorized'); #line 525 "template\en\default\global\user-error.html.tmpl" $stash->set('admindocslinks', { 'flags-overview.html#flags-admin' => 'Administering Flags', 'groups.html' => 'Group Security' }); #line 527 "template\en\default\global\user-error.html.tmpl" $stash->set('docslinks', { 'flags-overview.html' => 'An overview on Flags', 'flags.html' => 'Using Flags' }); $output .= "\n\n You asked "; #line 530 "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(['requestee', 0, 'identity', 0]); &$_tt_filter($output); }; $output .= "\n for <code>"; #line 531 "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(['flag_type', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "</code> on \n "; #line 532 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " "; #line 532 "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 attachment "; #line 533 "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('attach_id'); &$_tt_filter($output); }; $output .= ", but that attachment\n is restricted to users in the "; #line 534 "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(['Param', [ 'insidergroup' ]]); &$_tt_filter($output); }; $output .= " group,\n and the user you asked isn't in that group. Please choose someone else\n to ask, or ask an administrator to add the user to the group.\n"; } elsif ($stash->get('error') eq 'flag_type_cc_list_invalid') { #line 539 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Flag Type CC List Invalid'); #line 540 "template\en\default\global\user-error.html.tmpl" $stash->set('admindocslinks', { 'flags-overview.html#flags-admin' => 'Administering Flags' }); $output .= "\n The CC list "; #line 541 "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('cc_list'); &$_tt_filter($output); }; $output .= " must be less than 200 characters long.\n"; } elsif ($stash->get('error') eq 'flag_type_component_without_product') { #line 544 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Product Missing'); $output .= "\n A component was selected without a product being selected.\n"; } elsif ($stash->get('error') eq 'flag_type_description_invalid') { #line 548 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Flag Type Description Invalid'); #line 549 "template\en\default\global\user-error.html.tmpl" $stash->set('admindocslinks', { 'flags-overview.html#flags-admin' => 'Administering Flags' }); $output .= "\n The description must be less than 32K.\n"; } elsif ($stash->get('error') eq 'flag_type_name_invalid') { #line 553 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Flag Type Name Invalid'); #line 554 "template\en\default\global\user-error.html.tmpl" $stash->set('admindocslinks', { 'flags-overview.html#flags-admin' => 'Administering Flags' }); $output .= "\n The name <em>"; #line 555 "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 .= "</em> must be 1-50 characters long\n and must not contain any spaces or commas.\n"; } elsif ($stash->get('error') eq 'flag_update_denied') { #line 559 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Flag Modification Denied'); #line 560 "template\en\default\global\user-error.html.tmpl" $stash->set('admindocslinks', { 'flags-overview.html#flags-admin' => 'Administering Flags', 'groups.html' => 'Group Security' }); #line 562 "template\en\default\global\user-error.html.tmpl" $stash->set('docslinks', { 'flags-overview.html' => 'An overview on Flags', 'flags.html' => 'Using Flags' }); $output .= "\n You tried to "; #line 565 "template\en\default\global\user-error.html.tmpl" if ($stash->get('status') eq '+') { $output .= " grant "; } elsif ($stash->get('status') eq '-') { $output .= " deny"; } elsif ($stash->get('status') eq 'X') { $output .= " clear "; } else { $output .= " request "; } $output .= "\n <code>"; #line 566 "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); }; #line 567 "template\en\default\global\user-error.html.tmpl" if ($stash->get('status') eq 'X') { #line 567 "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('old_status'); &$_tt_filter($output); }; } $output .= "</code>.\n\n Only a sufficiently empowered user can make this change.\n"; } elsif ($stash->get('error') eq 'format_not_found') { #line 572 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Format Not Found'); $output .= "\n The requested format <em>"; #line 573 "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('format'); &$_tt_filter($output); }; $output .= "</em> does not exist with\n a content type of <em>"; #line 574 "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('ctype');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -