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

📄 hidden-fields.html.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1169072830',        'name' => 'global/hidden-fields.html.tmpl',    },    BLOCK => sub {        my $context = shift || die "template sub called without context\n";        my $stash   = $context->stash;        my $output  = '';        my $_tt_error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n\n";    $output .=  "\n\n";    #line 28 "template\en\default\global\hidden-fields.html.tmpl"    # USE    $stash->set('Bugzilla',                $context->plugin('Bugzilla'));    #line 29 "template\en\default\global\hidden-fields.html.tmpl"    $stash->set('cgi', $stash->get(['Bugzilla', 0, 'cgi', 0]));        $output .=  "\n\n";    #line 59 "template\en\default\global\hidden-fields.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get(['cgi', 0, 'param', 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->{'field'} = $_tt_value;    #line 33 "template\en\default\global\hidden-fields.html.tmpl"    if ($stash->get('exclude') && $stash->get(['field', 0, 'search', [ $stash->get('exclude') ]])) {    ($_tt_value, $_tt_error) = $_tt_list->get_next();    next LOOP;        }        $output .=  "\n  ";    #line 58 "template\en\default\global\hidden-fields.html.tmpl"    if ($stash->get('field') eq 'data' && $stash->get(['cgi', 0, 'param', [ 'data' ]])) {    $output .=  "\n    <div class=\"box\">\n      <p>\n        We were unable to store the file you uploaded because of incomplete information\n        in the form you just submitted. Because we are unable to retain the file between\n        form submissions, you must re-attach the file in addition to completing the\n        remaining missing information above.\n      </p>\n      <p>\n        Please re-attach the file <b>";    #line 46 "template\en\default\global\hidden-fields.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['cgi', 0, 'param', [ $stash->get('field') ]]);                &$_tt_filter($output);    };        $output .=  "</b> in\n        the field below:\n      </p>\n      <p>\n        <input type=\"file\" id=\"data\" name=\"data\" size=\"50\">\n      </p>\n    </div>";    }    else {    #line 57 "template\en\default\global\hidden-fields.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get(['cgi', 0, 'param', [ $stash->get('field') ], 'slice', [ 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->{'mvalue'} = $_tt_value;    $output .=  "\n      <input type=\"hidden\" name=\"";    #line 55 "template\en\default\global\hidden-fields.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 .=  "\"\n             value=\"";    #line 56 "template\en\default\global\hidden-fields.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html_linebreak')                  || $context->throw($context->error);            # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('mvalue');                &$_tt_filter($output);    };                    &$_tt_filter($output);    };        $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;    };        }    ;                ($_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";        } };        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 + -