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

📄 reclassify.html.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1205765458',        'name' => 'admin/classifications/reclassify.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";    #line 22 "template\en\default\admin\classifications\reclassify.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => 'Reclassify products' });    $output .=  "\n\n<form method=post action=\"editclassifications.cgi\">\n  <table border=0 cellpadding=4 cellspacing=0>\n    <tr>\n      <td valign=\"top\">Classification:</td>\n      <td valign=\"top\" colspan=3>";    #line 30 "template\en\default\admin\classifications\reclassify.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['classification', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "</td>\n\n    </tr><tr>\n      <td valign=\"top\">Description:</td>\n      <td valign=\"top\" colspan=3>";    #line 39 "template\en\default\admin\classifications\reclassify.html.tmpl"    if ($stash->get(['classification', 0, 'description', 0])) {    #line 36 "template\en\default\admin\classifications\reclassify.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html_light')                  || $context->throw($context->error);        $output .=  $stash->get(['classification', 0, 'description', 0]);                &$_tt_filter($output);    };        }    else {    $output .=  "\n          <font color=\"red\">description missing</font>";    }        $output .=  "\n      </td>\n\n    </tr><tr>\n      <td valign=\"top\">Sortkey:</td>\n      <td valign=\"top\" colspan=3>";    #line 44 "template\en\default\admin\classifications\reclassify.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['classification', 0, 'sortkey', 0]);                &$_tt_filter($output);    };        $output .=  "</td>\n\n    </tr><tr>\n      <td valign=\"top\">Products:</td>\n      <td valign=\"top\">Other Classifications</td>\n      <td></td>\n      <td valign=\"top\">This Classification</td>\n\n    </tr><tr>\n      <td></td>\n      <td valign=\"top\">\n      <select name=\"prodlist\" id=\"prodlist\" multiple=\"multiple\" size=\"20\">";    #line 64 "template\en\default\admin\classifications\reclassify.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('classifications');                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->{'class'} = $_tt_value;    #line 63 "template\en\default\admin\classifications\reclassify.html.tmpl"    if ($stash->get(['class', 0, 'id', 0]) ne $stash->get(['classification', 0, 'id', 0])) {    #line 62 "template\en\default\admin\classifications\reclassify.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get(['class', 0, 'products', 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->{'product'} = $_tt_value;    $output .=  "\n              <option value=\"";    #line 59 "template\en\default\admin\classifications\reclassify.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['product', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\">\n                [";    #line 60 "template\en\default\admin\classifications\reclassify.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['class', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "]&nbsp;";    #line 60 "template\en\default\admin\classifications\reclassify.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['product', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\n              </option>";;                ($_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      </select></td>\n\n      <td align=\"center\">\n        <input type=submit value=\"     Add &gt;&gt;  \" name=\"add_products\"><br><br>\n        <input type=submit value=\"&lt;&lt; Remove\" name=\"remove_products\">\n      </td>\n\n      <td valign=\"middle\" rowspan=2>\n        <select name=\"myprodlist\" id=\"myprodlist\" multiple=\"multiple\" size=\"20\">";    #line 78 "template\en\default\admin\classifications\reclassify.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get(['classification', 0, 'products', 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->{'product'} = $_tt_value;    $output .=  "\n            <option value=\"";    #line 75 "template\en\default\admin\classifications\reclassify.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['product', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\">";    #line 76 "template\en\default\admin\classifications\reclassify.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['product', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\n            </option>";;                ($_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      </select></td>\n    </tr>\n  </table>\n\n  <input type=hidden name=\"action\" value=\"reclassify\">\n  <input type=hidden name=\"classification\" value=\"";    #line 84 "template\en\default\admin\classifications\reclassify.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['classification', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\">\n  <input type=\"hidden\" name=\"token\" value=\"";    #line 85 "template\en\default\admin\classifications\reclassify.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('token');                &$_tt_filter($output);    };        $output .=  "\">\n</form>\n\n<p>Back to the <a href=\"./\">main ";    #line 88 "template\en\default\admin\classifications\reclassify.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " page</a>,\nor <a href=\"editclassifications.cgi\"> edit</a> more classifications.\n";    #line 91 "template\en\default\admin\classifications\reclassify.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\n\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 + -