📄 user-error.html.tmpl
字号:
} elsif ($stash->get('error') eq 'email_change_in_progress') { #line 163 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Email Change Already In Progress'); $output .= "\n Email change already in progress; please check your email.\n"; } elsif ($stash->get('error') eq 'email_confirmation_failed') { #line 167 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Email Address Confirmation Failed'); $output .= "\n Email address confirmation failed.\n"; } elsif ($stash->get('error') eq 'entry_access_denied') { #line 171 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Permission Denied'); $output .= "\n Sorry, either the product <em>"; #line 172 "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 .= "</em> does not\n exist, or you don't have the required permissions to\n enter "; #line 174 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'abug', 0]); $output .= " against that product.\n"; } elsif ($stash->get('error') eq 'file_not_specified') { #line 177 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'No File Specified'); $output .= "\n You did not specify a file to attach.\n"; } elsif ($stash->get('error') eq 'file_too_large') { #line 181 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'File Too Large'); $output .= "\n The file you are trying to attach is "; #line 182 "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('filesize'); &$filter($output); }; $output .= " \n kilobytes (KB) in size.\n Non-patch attachments cannot be more than "; #line 184 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['Param', [ 'maxattachmentsize' ]]); $output .= "\n KB.\n If your attachment is an image, try converting it to a compressable\n format like JPG or PNG, or put it elsewhere on the web and\n link to it from the "; #line 188 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= "'s URL field or a comment in \n the "; #line 189 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= ".\n"; } elsif ($stash->get('error') eq 'flag_requestee_unauthorized') { #line 192 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Flag Requestee Not Authorized'); $output .= "\n\n You asked "; #line 194 "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(['requestee', 0, 'identity', 0]); &$filter($output); }; $output .= "\n for <code>"; #line 195 "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(['flag_type', 0, 'name', 0]); &$filter($output); }; $output .= "</code> on "; #line 195 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " "; #line 197 "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); }; #line 198 "template\en\default\global\user-error.html.tmpl" if ($stash->get('attach_id')) { $output .= ", attachment "; #line 198 "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 .= ", \n but that "; #line 199 "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 201 "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 202 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " accessible to users\n on its CC: list and add that user to the list.\n"; } elsif ($stash->get('error') eq 'flag_requestee_unauthorized_attachment') { #line 206 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Flag Requestee Not Authorized'); $output .= "\n\n You asked "; #line 208 "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(['requestee', 0, 'identity', 0]); &$filter($output); }; $output .= "\n for <code>"; #line 209 "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(['flag_type', 0, 'name', 0]); &$filter($output); }; $output .= "</code> on \n "; #line 210 "template\en\default\global\user-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " "; #line 210 "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 attachment "; #line 211 "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 .= ", but that attachment is restricted \n to users\n in the "; #line 213 "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(['Param', [ 'insidergroup' ]]); &$filter($output); }; $output .= " group, and the user\n you asked isn't in that group. Please choose someone else to ask,\n or ask an administrator to add the user to the group.\n"; } elsif ($stash->get('error') eq 'flag_type_cc_list_invalid') { #line 218 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Flag Type CC List Invalid'); $output .= "\n The CC list "; #line 219 "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('cc_list'); &$filter($output); }; $output .= " must be less than 200 characters long.\n"; } elsif ($stash->get('error') eq 'flag_type_description_invalid') { #line 222 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Flag Type Description Invalid'); $output .= "\n The description must be less than 32K.\n"; } elsif ($stash->get('error') eq 'flag_type_name_invalid') { #line 226 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Flag Type Name Invalid'); $output .= "\n The name <em>"; #line 227 "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 .= "</em> must be 1-50 characters long\n and must not contain any spaces or commas.\n"; } elsif ($stash->get('error') eq 'format_not_found') { #line 231 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Format Not Found'); $output .= "\n The requested format <em>"; #line 232 "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 .= "</em> does not exist with\n a content type of <em>"; #line 233 "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('ctype'); &$filter($output); }; $output .= "</em>.\n "; } elsif ($stash->get('error') eq 'flag_type_sortkey_invalid') { #line 236 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Flag Type Sort Key Invalid'); $output .= "\n The sort key must be an integer between 0 and 32767 inclusive.\n It cannot be <em>"; #line 238 "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('sortkey'); &$filter($output); }; $output .= "</em>.\n "; } elsif ($stash->get('error') eq 'illegal_at_least_x_votes') { #line 241 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Your Search Makes No Sense'); $output .= "\n The <em>At least ___ votes</em> field must be a simple number. \n You entered <tt>"; #line 243 "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_attachment_edit') { #line 246 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Unauthorised Action'); $output .= "\n You are not authorised to edit attachment "; #line 247 "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 .= ".\n"; } elsif ($stash->get('error') eq 'illegal_attachment_edit_bug') { #line 250 "template\en\default\global\user-error.html.tmpl" $stash->set('title', 'Unauthorised Action'); $output .= "\n You are not authorised to edit attachments on "; #line 251 "template\en\default\global\user-error.html.tmpl"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -