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

📄 hidden-fields.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1112859892',        '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 $error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n\n";    $output .=  "\n\n";    #line 38 "template\en\default\global\hidden-fields.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get('form');                unless (UNIVERSAL::isa($list, 'Template::Iterator')) {            $list = Template::Config->iterator($list)                || die $Template::Config::ERROR, "\n";         }            ($value, $error) = $list->get_first();        eval { $oldloop = $stash->get('loop') };        $stash->set('loop', $list);        eval {    LOOP:   while (! $error) {                $stash->{'field'} = $value;    #line 30 "template\en\default\global\hidden-fields.html.tmpl"    if ($stash->get('exclude') && $stash->get(['field', 0, 'key', 0, 'search', [ $stash->get('exclude') ]])) {    ($value, $error) = $list->get_next();    next LOOP;        }        #line 38 "template\en\default\global\hidden-fields.html.tmpl"    if ($stash->get(['mform', 0, $stash->get(['field', 0, 'key', 0]), 0]) && $stash->get(['mform', 0, $stash->get(['field', 0, 'key', 0]), 0, 'size', 0]) > 1) {    #line 34 "template\en\default\global\hidden-fields.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get(['mform', 0, $stash->get(['field', 0, 'key', 0]), 0]);                unless (UNIVERSAL::isa($list, 'Template::Iterator')) {            $list = Template::Config->iterator($list)                || die $Template::Config::ERROR, "\n";         }            ($value, $error) = $list->get_first();        eval { $oldloop = $stash->get('loop') };        $stash->set('loop', $list);        eval {    LOOP:   while (! $error) {                $stash->{'mvalue'} = $value;    $output .=  "\n      <input type=\"hidden\" name=\"";    #line 31 "template\en\default\global\hidden-fields.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['field', 0, 'key', 0]);                &$filter($output);    };        $output .=  "\"\n             value=\"";    #line 32 "template\en\default\global\hidden-fields.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html_linebreak')                  || $context->throw($context->error);            # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('mvalue');                &$filter($output);    };                    &$filter($output);    };        $output .=  "\">";;                ($value, $error) = $list->get_next();            }        };        $stash->set('loop', $oldloop);        die $@ if $@;        $error = 0 if $error && $error eq Template::Constants::STATUS_DONE;        die $error if $error;    };        }    else {    $output .=  "\n    <input type=\"hidden\" name=\"";    #line 35 "template\en\default\global\hidden-fields.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['field', 0, 'key', 0]);                &$filter($output);    };        $output .=  "\"\n           value=\"";    #line 36 "template\en\default\global\hidden-fields.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html_linebreak')                  || $context->throw($context->error);            # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['field', 0, 'value', 0]);                &$filter($output);    };                    &$filter($output);    };        $output .=  "\">";    }    ;                ($value, $error) = $list->get_next();            }        };        $stash->set('loop', $oldloop);        die $@ if $@;        $error = 0 if $error && $error eq Template::Constants::STATUS_DONE;        die $error if $error;    };        $output .=  "\n";        } };        if ($@) {            $error = $context->catch($@, \$output);            die $error unless $error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {    },});

⌨️ 快捷键说明

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