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

📄 updated.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
    #line 126 "template\en\default\admin\products\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['product', 0, 'votes_per_user', 0]);                &$_tt_filter($output);    };        $output .=  ".\n  </p>";    #line 128 "template\en\default\admin\products\updated.html.tmpl"    $stash->set('updated', 1);        }        $output .=  "\n";    #line 138 "template\en\default\admin\products\updated.html.tmpl"    if ($stash->get(['product', 0, 'max_votes_per_bug', 0]) ne $stash->get(['old_product', 0, 'max_votes_per_bug', 0])) {    $output .=  "\n  <p>\n  Updated maximum votes per ";    #line 133 "template\en\default\admin\products\updated.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " from \n  ";    #line 134 "template\en\default\admin\products\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['old_product', 0, 'max_votes_per_bug', 0]);                &$_tt_filter($output);    };        $output .=  " to \n  ";    #line 135 "template\en\default\admin\products\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['product', 0, 'max_votes_per_bug', 0]);                &$_tt_filter($output);    };        $output .=  ".\n  </p>";    #line 137 "template\en\default\admin\products\updated.html.tmpl"    $stash->set('updated', 1);        }        $output .=  "\n";    #line 147 "template\en\default\admin\products\updated.html.tmpl"    if ($stash->get(['product', 0, 'votes_to_confirm', 0]) ne $stash->get(['old_product', 0, 'votes_to_confirm', 0])) {    $output .=  "\n  <p>\n  Updated number of votes needed to confirm a ";    #line 142 "template\en\default\admin\products\updated.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " from\n  ";    #line 143 "template\en\default\admin\products\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['old_product', 0, 'votes_to_confirm', 0]);                &$_tt_filter($output);    };        $output .=  " to \n  ";    #line 144 "template\en\default\admin\products\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['product', 0, 'votes_to_confirm', 0]);                &$_tt_filter($output);    };        $output .=  ".\n  </p>";    #line 146 "template\en\default\admin\products\updated.html.tmpl"    $stash->set('updated', 1);        }        $output .=  "\n";    #line 151 "template\en\default\admin\products\updated.html.tmpl"    if (!($stash->get('updated'))) {    $output .=  "\n  <p>Nothing changed for product '";    #line 150 "template\en\default\admin\products\updated.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 .=  "'.</p>";    }        $output .=  "\n\n";    $output .=  "\n\n";    #line 206 "template\en\default\admin\products\updated.html.tmpl"    if ($stash->get('checkvotes')) {    $output .=  "\n  <hr>\n\n  <p>Checking existing votes in this product for anybody who now\n  has too many votes for ";    #line 162 "template\en\default\admin\products\updated.html.tmpl"    $output .=  $stash->get(['terms', 0, 'abug', 0]);    $output .=  "...<br>";    #line 171 "template\en\default\admin\products\updated.html.tmpl"    if ($stash->get(['toomanyvotes', 0, 'size', 0]) > 0) {    #line 168 "template\en\default\admin\products\updated.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('toomanyvotes');                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->{'detail'} = $_tt_value;    $output .=  "\n      &rarr;removed votes for ";    #line 165 "template\en\default\admin\products\updated.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " <a href=\"show_bug.cgi?id=";    #line 166 "template\en\default\admin\products\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['detail', 0, 'id', 0]);                &$_tt_filter($output);    };        $output .=  "\">";    #line 167 "template\en\default\admin\products\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['detail', 0, 'id', 0]);                &$_tt_filter($output);    };        $output .=  "</a> from ";    #line 167 "template\en\default\admin\products\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['detail', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "<br>";;                ($_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;    };        }    else {    $output .=  "\n    &rarr;there were none.";    }        $output .=  "\n  </p>\n\n  <p>Checking existing votes in this product for anybody\n  who now has too many total votes...<br>";    #line 184 "template\en\default\admin\products\updated.html.tmpl"    if ($stash->get(['toomanytotalvotes', 0, 'size', 0]) > 0) {    #line 181 "template\en\default\admin\products\updated.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('toomanytotalvotes');                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->{'detail'} = $_tt_value;    $output .=  "\n      &rarr;removed votes for ";    #line 178 "template\en\default\admin\products\updated.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " <a href=\"show_bug.cgi?id=";    #line 179 "template\en\default\admin\products\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['detail', 0, 'id', 0]);                &$_tt_filter($output);    };        $output .=  "\">";    #line 180 "template\en\default\admin\products\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['detail', 0, 'id', 0]);                &$_tt_filter($output);    };        $output .=  "</a> from ";    #line 180 "template\en\default\admin\products\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['detail', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "<br>";;                ($_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;    };        }    else {    $output .=  "\n    &rarr;there were none.";    }        $output .=  "\n  </p>\n\n  <p>Checking unconfirmed ";    #line 187 "template\en\default\admin\products\updated.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " in this product for any which now have\n  sufficient votes...<br>";    #line 203 "template\en\default\admin\products\updated.html.tmpl"    if ($stash->get(['confirmedbugs', 0, 'size', 0]) > 0) {    #line 200 "template\en\default\admin\products\updated.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('confirmedbugs');                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->{'id'} = $_tt_value;    $output .=  "\n\n      ";    #line 194 "template\en\default\admin\products\updated.html.tmpl"    $output .=  $context->include('bug/process/results.html.tmpl', { 'type' => 'votes', 'mailrecipients' => { 'changer' => $stash->get('changer')  }, 'header_done' => 1, 'id' => $stash->get('id') });;                ($_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;    };        }    else {    $output .=  "\n    &rarr;there were none.";    }        $output .=  "\n  </p>\n";    }        $output .=  "\n";    #line 208 "template\en\default\admin\products\updated.html.tmpl"    $output .=  $context->process('admin/products/footer.html.tmpl');    $output .=  "\n";    #line 210 "template\en\default\admin\products\updated.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 + -