⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user-error.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 5 页
字号:
    $stash->set('title', 'Specified Field Does Not Exist');        $output .=  "\n    The field '";    #line 414 "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('field');                &$_tt_filter($output);    };        $output .=  "' does not exist or \n    cannot be edited with this interface.\n";    }    elsif ($stash->get('error') eq 'fieldname_not_specified') {    #line 418 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Field Name Not Specified');        $output .=  "\n    No field name specified when trying to edit field values.\n";    }    elsif ($stash->get('error') eq 'fieldvalue_already_exists') {    #line 422 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Field Value Already Exists');        $output .=  "\n    The value '";    #line 423 "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('value');                &$_tt_filter($output);    };        $output .=  "' already exists for the\n    '";    #line 424 "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('field');                &$_tt_filter($output);    };        $output .=  "' field.\n";    }    elsif ($stash->get('error') eq 'fieldvalue_doesnt_exist') {    #line 427 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Specified Field Value Does Not Exist');        $output .=  "\n    The value '";    #line 428 "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('value');                &$_tt_filter($output);    };        $output .=  "' does not exist for\n    the '";    #line 429 "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('field');                &$_tt_filter($output);    };        $output .=  "' field.\n";    }    elsif ($stash->get('error') eq 'fieldvalue_is_default') {    #line 432 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Specified Field Value Is Default');        $output .=  "\n    '";    #line 433 "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('value');                &$_tt_filter($output);    };        $output .=  "' is the default value for\n    the '";    #line 434 "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('field');                &$_tt_filter($output);    };        $output .=  "' field and cannot be deleted.";    #line 438 "template\en\default\global\user-error.html.tmpl"    if ($stash->get(['user', 0, 'groups', 0, 'tweakparams', 0])) {    $output .=  "\n      You have to <a href=\"editparams.cgi?section=bugfields#";    #line 437 "template\en\default\global\user-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get('param_name');                &$_tt_filter($output);    };        $output .=  "\">change</a> the default value first.";    }        $output .=  "\n";    }    elsif ($stash->get('error') eq 'fieldvalue_name_too_long') {    #line 441 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Field Value Is Too Long');        $output .=  "\n    The value of a field is limited to 60 characters.\n    '";    #line 443 "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('value');                &$_tt_filter($output);    };        $output .=  "' is too long (";    #line 443 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['value', 0, 'length', 0]);    $output .=  " characters).\n";    }    elsif ($stash->get('error') eq 'fieldvalue_not_editable') {    #line 446 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Field Value Not Editable');        $output .=  "\n    The value '";    #line 447 "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_value');                &$_tt_filter($output);    };        $output .=  "' cannot be renamed because\n    it plays some special role for the '";    #line 448 "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('field');                &$_tt_filter($output);    };        $output .=  "' field.\n";    }    elsif ($stash->get('error') eq 'fieldvalue_not_deletable') {    #line 451 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Field Value Not Deletable');        $output .=  "\n    The value '";    #line 452 "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('value');                &$_tt_filter($output);    };        $output .=  "' cannot be removed because\n    it plays some special role for the '";    #line 453 "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('field');                &$_tt_filter($output);    };        $output .=  "' field.\n";    }    elsif ($stash->get('error') eq 'fieldvalue_not_specified') {    #line 456 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Field Value Not Specified');        $output .=  "\n    No field value specified when trying to edit a field value.\n";    }    elsif ($stash->get('error') eq 'fieldvalue_sortkey_invalid') {    #line 460 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Invalid Field Value Sortkey');        $output .=  "\n    The sortkey '";    #line 461 "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('sortkey');                &$_tt_filter($output);    };        $output .=  "' for the '";    #line 461 "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 .=  "'\n    field is not a valid (positive) number.\n";    }    elsif ($stash->get('error') eq 'fieldvalue_still_has_bugs') {    #line 465 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'You Cannot Delete This Field Value');        $output .=  "\n    You cannot delete the value '";    #line 466 "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('value');                &$_tt_filter($output);    };        $output .=  "' from the \n    '";    #line 467 "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('field');                &$_tt_filter($output);    };        $output .=  "' field, because there are still\n    ";    #line 468 "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('count');                &$_tt_filter($output);    };        $output .=  " ";    #line 468 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " using it.\n";    }    elsif ($stash->get('error') eq 'fieldvalue_undefined') {    #line 471 "template\en\default\global\user-error.html.tmpl"    $stash->set('title', 'Undefined Value Not Allowed');        $output .=  "\n    You must specify a value.\n";    }    elsif ($stash->get('error') eq 'file_not_specified') {    #line 475 "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 479 "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 480 "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('filesize');                &$_tt_filter($output);    };        $output .=  " \n    kilobytes (KB) in size. Non-patch attachments cannot be more than\n    ";    #line 482 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['Param', [ 'maxattachmentsize' ]]);    $output .=  " KB. <br>\n    We recommend that you store your attachment elsewhere on the web,";    #line 490 "template\en\default\global\user-error.html.tmpl"    if ($stash->get(['Param', [ 'allow_attach_url' ]])) {    $output .=  "\n      and then specify the URL to this file on the attachment\n      creation page in the <b>AttachURL</b> field.";    }    else {    $output .=  "\n      and then insert the URL to it in a comment, or in the URL field\n      for this ";    #line 489 "template\en\default\global\user-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  ".";    }        $output .=  "\n    <br>Alternately, if your attachment is an image, you could convert\n    it to a compressible format like JPG or PNG and try again.\n";    }    elsif ($stash->get('error') eq 'flag_not_multiplicable') {    #line 495 "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 can't ask more than one person at a time for\n    <em>";    #line 498 "template\en\default\global\user-error.html.tmpl"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -