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

📄 code-error.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 4 页
字号:
                &$_tt_filter($output);    };        $output .=  "</em> is not a valid value for \n    ";    #line 351 "template\en\default\global\code-error.html.tmpl"    if ($stash->get('fld') eq 'x') {    $output .=  "the horizontal axis\n    ";    }    elsif ($stash->get('fld') eq 'y') {    $output .=  "the vertical axis\n    ";    }    elsif ($stash->get('fld') eq 'z') {    $output .=  "the multiple tables/images\n    ";    }    else {    $output .=  "a report axis";    }        $output .=  " field.\n";    }    elsif ($stash->get('error') eq 'setting_info_invalid') {    $output .=  "\n    To create a new setting, you must supply a setting name, a list of \n    value/sortindex pairs, and the devault value.\n";    }    elsif ($stash->get('error') eq 'setting_name_invalid') {    $output .=  "\n    The setting name <em>";    #line 358 "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 .=  "</em> is not a valid\n    option. Setting names must begin with a letter, and contain only\n    letters, digits, or the symbols '_', '-', '.', or ':'.\n";    }    elsif ($stash->get('error') eq 'setting_subclass_invalid') {    $output .=  "\n    There is no such Setting subclass as\n    <code>";    #line 364 "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('subclass');                &$_tt_filter($output);    };        $output .=  "</code>.\n";    }    elsif ($stash->get('error') eq 'setting_value_invalid') {    $output .=  "\n    The value \"<code>";    #line 367 "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('value');                &$_tt_filter($output);    };        $output .=  "</code>\" is not in the list of\n    legal values for the <em>";    #line 368 "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 .=  "</em> setting.\n";    }    elsif ($stash->get('error') eq 'soap_not_installed') {    #line 371 "template\en\default\global\code-error.html.tmpl"    $stash->set('admindocslinks', { 'installation.html#install-perlmodules' => 'Installing Perl modules'  });        $output .=  "\n    The XMLRPC interface will not work without the SOAP::Lite Perl module being\n    installed.\n    Run checksetup.pl for installation instructions.\n";    }    elsif ($stash->get('error') eq 'token_generation_error') {    $output .=  "\n    Something is seriously wrong with the token generation system.\n";    }    elsif ($stash->get('error') eq 'template_error') {    #line 380 "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('template_error_msg');                &$_tt_filter($output);    };        $output .=  "\n";    }    elsif ($stash->get('error') eq 'template_invalid') {    $output .=  "\n    Template with invalid file name found in hook call: ";    #line 383 "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";    }    elsif ($stash->get('error') eq 'unable_to_retrieve_password') {    $output .=  "\n     I was unable to retrieve your old password from the database.\n";    }    elsif ($stash->get('error') eq 'undefined_field') {    $output .=  "\n    Form field ";    #line 389 "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 defined.\n    ";    #line 393 "template\en\default\global\code-error.html.tmpl"    if ($stash->get('field') eq 'knob') {    $output .=  "\n      Check that the \"Leave as...\" radio button was selected.";    }        $output .=  "\n";    }    elsif ($stash->get('error') eq 'unknown_action') {    #line 400 "template\en\default\global\code-error.html.tmpl"    if ($stash->get('action')) {    $output .=  "\n       Unknown action ";    #line 397 "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('action');                &$_tt_filter($output);    };        $output .=  "!";    }    else {    $output .=  "\n       I could not figure out what you wanted to do.";    }        $output .=  "\n";    }    elsif ($stash->get('error') eq 'usage_mode_invalid') {    $output .=  "\n    '";    #line 403 "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('invalid_usage_mode');                &$_tt_filter($output);    };        $output .=  "' is not a valid usage mode.\n";    }    elsif ($stash->get('error') eq 'must_be_patch') {    #line 406 "template\en\default\global\code-error.html.tmpl"    $stash->set('title', 'Attachment Must Be Patch');        $output .=  "\n    Attachment #";    #line 407 "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 .=  " must be a patch.\n";    }    elsif ($stash->get('error') eq 'nested_transaction') {    $output .=  "\n    Attempted to start a new transaction without finishing previous one first.\n";    }    elsif ($stash->get('error') eq 'not_in_transaction') {    $output .=  "\n    Attempted to end transaction without starting one first.\n";    }    elsif ($stash->get('error') eq 'already_locked') {    $output .=  "\n    Attempted to lock a table without releasing previous lock first:\n    <p>Tables already locked:<br>";    #line 417 "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('current');                &$_tt_filter($output);    };        $output .=  "\n    <p>Tables requesting locking:<br>";    #line 418 "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('new');                &$_tt_filter($output);    };        $output .=  "\n";    }    elsif ($stash->get('error') eq 'no_matching_lock') {    $output .=  "\n    Attempted to unlock tables without locking them first.\n";    }    elsif ($stash->get('error') eq 'comma_operator_deprecated') {    #line 424 "template\en\default\global\code-error.html.tmpl"    $stash->set('title', 'SQL query generator internal error');        $output .=  "\n    There is an internal error in the SQL query generation code,\n    creating queries with implicit JOIN.\n";    }    elsif ($stash->get('error') eq 'invalid_post_bug_submit_action') {    $output .=  "\n    Invalid setting for post_bug_submit_action\n";    }    else {    $output .=  "\n    ";    #line 433 "template\en\default\global\code-error.html.tmpl"    $stash->set('error_message', $stash->get(['Hook', 0, 'process', [ 'errors' ]]));        #line 443 "template\en\default\global\code-error.html.tmpl"    if (! $stash->get('error_message')) {    #line 435 "template\en\default\global\code-error.html.tmpl"    $stash->set('title', 'Internal error');        $output .=  "\n      An internal error has occurred, but ";    #line 436 "template\en\default\global\code-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugzilla', 0]);    $output .=  " doesn't know\n      what <code>";    #line 437 "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> means.\n\n      If you are a ";    #line 439 "template\en\default\global\code-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugzilla', 0]);    $output .=  " end-user seeing this message, please save\n      this page and send it to ";    #line 440 "template\en\default\global\code-error.html.tmpl"    $output .=  $stash->get(['Param', [ 'maintainer' ]]);    $output .=  ".";    }    else {    #line 442 "template\en\default\global\code-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('none')                  || $context->throw($context->error);        $output .=  $stash->get('error_message');                &$_tt_filter($output);    };        }        }            $output;    });        $output .=  "\n\n";    #line 448 "template\en\default\global\code-error.html.tmpl"    # USE    $stash->set('Bugzilla',                $context->plugin('Bugzilla'));    #line 456 "template\en\default\global\code-error.html.tmpl"    if ($stash->get(['Bugzilla', 0, 'error_mode', 0]) ne '0') {    #line 454 "template\en\default\global\code-error.html.tmpl"    if ($stash->get(['Bugzilla', 0, 'usage_mode', 0]) eq '0') {    #line 451 "template\en\default\global\code-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('none')                  || $context->throw($context->error);        $output .=  $stash->get('error_message');                &$_tt_filter($output);    };        }    else {    #line 453 "template\en\default\global\code-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('txt')                  || $context->throw($context->error);        $output .=  $stash->get('error_message');                &$_tt_filter($output);    };        }        #line 455 "template\en\default\global\code-error.html.tmpl"    $context->throw('return', '', \$output);    }        $output .=  "\n";    #line 460 "template\en\default\global\code-error.html.tmpl"    if (!($stash->get('header_done'))) {    #line 459 "template\en\default\global\code-error.html.tmpl"    $output .=  $context->process('global/header.html.tmpl');    }        $output .=  "\n";    #line 462 "template\en\default\global\code-error.html.tmpl"    $output .=  $context->process('global/docslinks.html.tmpl', { 'docslinks' => $stash->get('docslinks'), 'admindocslinks' => $stash->get('admindocslinks') });    $output .=  "\n\n<tt>\n  <p>";    #line 469 "template\en\default\global\code-error.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugzilla', 0]);    $output .=  " has suffered an internal error. Please save this page and send\n    it to ";    #line 470 "template\en\default\global\code-error.html.tmpl"    $output .=  $stash->get(['Param', [ 'maintainer' ]]);    $output .=  " with details of what you were doing at\n    the time this message appeared.\n  </p>\n  <script type=\"text/javascript\"> <!--\n    document.write(\"<p>URL: \" + \n                    document.location.href.replace(/&/g,\"&amp;\")\n                                          .replace(/</g,\"&lt;\")\n                                          .replace(/>/g,\"&gt;\") + \"</p>\");\n  // -->\n  </script>\n</tt>\n\n<table cellpadding=\"20\">\n  <tr>\n    <td bgcolor=\"#ff0000\">\n      <font size=\"+2\">";    #line 486 "template\en\default\global\code-error.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('none')                  || $context->throw($context->error);        $output .=  $stash->get('error_message');                &$_tt_filter($output);    };        $output .=  "\n      </font>\n    </td>\n  </tr>\n</table>\n";    #line 499 "template\en\default\global\code-error.html.tmpl"    if ($stash->get('variables')) {    $output .=  "\n  <pre>\nVariables:";    #line 497 "template\en\default\global\code-error.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get(['variables', 0, 'keys', 0]);                unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) {            $_tt_list = Template::Config->iterator($_tt_list)                || die $Template::Config::ERROR, "\n";         }            ($_tt_value, $_tt_error) = $_tt_list->get_first();        eval { $_tt_oldloop = $stash->get('loop') };        $stash->set('loop', $_tt_list);        eval {    LOOP:   while (! $_tt_error) {                $stash->{'key'} = $_tt_value;    $output .=  "\n    ";    #line 496 "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('key');                &$_tt_filter($output);    };        $output .=  ": ";    #line 496 "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(['variables', 0, $stash->get('key'), 0]);                &$_tt_filter($output);    };    ;                ($_tt_value, $_tt_error) = $_tt_list->get_next();            }        };        $stash->set('loop', $_tt_oldloop);        die $@ if $@;        $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;        die $_tt_error if $_tt_error;    };        $output .=  "\n  </pre>";    }        $output .=  "\n";    #line 501 "template\en\default\global\code-error.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\n";        } };        if ($@) {            $_tt_error = $context->catch($@, \$output);            die $_tt_error unless $_tt_error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {    },});

⌨️ 快捷键说明

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