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

📄 create-chart.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
        $output .=  "\n            </td>\n\n            <td>";    #line 194 "template\en\default\reports\create-chart.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['series', 0, 'category', 0]);                &$filter($output);    };        $output .=  " / \n              ";    #line 195 "template\en\default\reports\create-chart.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['series', 0, 'subcategory', 0]);                &$filter($output);    };        $output .=  " /\n              ";    #line 196 "template\en\default\reports\create-chart.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['series', 0, 'name', 0]);                &$filter($output);    };        $output .=  "\n              <input type=\"hidden\" name=\"line";    #line 197 "template\en\default\reports\create-chart.html.tmpl"    $output .=  $stash->get('newidx');    $output .=  "\" \n                     value=\"";    #line 198 "template\en\default\reports\create-chart.html.tmpl"    $output .=  $stash->get(['series', 0, 'series_id', 0]);    $output .=  "\">\n            </td>\n\n            <td align=\"center\">";    #line 208 "template\en\default\reports\create-chart.html.tmpl"    if ($stash->get(['user', 0, 'id', 0]) eq $stash->get(['series', 0, 'creator', 0]) || $stash->get(['UserInGroup', [ 'admin' ]])) {    $output .=  "\n               <a href=\"chart.cgi?action=edit&series_id=";    #line 206 "template\en\default\reports\create-chart.html.tmpl"    $output .=  $stash->get(['series', 0, 'series_id', 0]);    $output .=  "\">Edit</a> |";    }        $output .=  "\n              <a href=\"buglist.cgi?cmdtype=dorem&amp;namedcmd=";    #line 211 "template\en\default\reports\create-chart.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['series', 0, 'category', 0]);                &$filter($output);    };        $output .=  "%20/%20";    #line 213 "template\en\default\reports\create-chart.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['series', 0, 'subcategory', 0]);                &$filter($output);    };        $output .=  "%20/%20";    #line 215 "template\en\default\reports\create-chart.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get(['series', 0, 'name', 0]);                &$filter($output);    };        $output .=  "&amp;series_id=";    #line 217 "template\en\default\reports\create-chart.html.tmpl"    $output .=  $stash->get(['series', 0, 'series_id', 0]);    $output .=  "&amp;remaction=runseries\">Run Search</a>\n            </td>        \n          </tr>";;                ($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;    };        #line 221 "template\en\default\reports\create-chart.html.tmpl"    $stash->set('labelidx', $stash->get('labelidx') + 1);        #line 221 "template\en\default\reports\create-chart.html.tmpl"    $stash->set('newidx', $stash->get('newidx') + 1);    ;                ($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";    #line 241 "template\en\default\reports\create-chart.html.tmpl"    if ($stash->get(['chart', 0, 'gt', 0])) {    $output .=  "\n        <tr>\n          <td align=\"center\">\n            <input type=\"checkbox\" value=\"1\" name=\"select65536\">\n            <input type=\"hidden\" value=\"1\" name=\"gt\">\n          </td>\n          <td>\n            <input type=\"text\" size=\"20\" name=\"labelgt\"\n                   value=\"";    #line 232 "template\en\default\reports\create-chart.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  ($stash->get(['chart', 0, 'labelgt', 0]) || $stash->get('gttext'));                &$filter($output);    };        $output .=  "\">\n          </td>\n          <td></td>\n          <td>\n            <i>";    #line 236 "template\en\default\reports\create-chart.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('gttext');                &$filter($output);    };        $output .=  "</i>\n          </td>\n          <td></td>\n        </tr>";    }        $output .=  "\n      <tr>\n        <td colspan=\"6\">&nbsp;</td>\n      </tr>\n\n      <tr>\n        <td valign=\"bottom\" style=\"text-align: center;\">\n          <input type=\"submit\" name=\"action-sum\" value=\"Sum\" \n                 style=\"width: 5em;\"><br>\n          <input type=\"submit\" name=\"action-remove\" value=\"Remove\"\n                 style=\"width: 5em;\">\n        </td>\n\n        <td style=\"text-align: right; vertical-align: bottom;\">\n          <b>Cumulate:</b> \n          <input type=\"checkbox\" name=\"cumulate\" value=\"1\"";    #line 258 "template\en\default\reports\create-chart.html.tmpl"    if ($stash->get(['chart', 0, 'cumulate', 0])) {    $output .=  ' checked';    }        $output .=  ">\n        </td>\n\n        <td></td>\n        <td valign=\"bottom\"> \n          <b>Date Range:</b> \n          <input type=\"text\" size=\"12\" name=\"datefrom\" \n            value=\"";    #line 265 "template\en\default\reports\create-chart.html.tmpl"    if ($stash->get(['chart', 0, 'datefrom', 0])) {    $output .=  $stash->get(['time2str', [ '%Y-%m-%d', $stash->get(['chart', 0, 'datefrom', 0]) ]]);    }        $output .=  "\">\n          <b>to</b> \n          <input type=\"text\" size=\"12\" name=\"dateto\" \n            value=\"";    #line 268 "template\en\default\reports\create-chart.html.tmpl"    if ($stash->get(['chart', 0, 'dateto', 0])) {    $output .=  $stash->get(['time2str', [ '%Y-%m-%d', $stash->get(['chart', 0, 'dateto', 0]) ]]);    }        $output .=  "\">\n        </td>\n\n        <td style=\"text-align: right\" valign=\"bottom\">\n          <input type=\"submit\" name=\"action-wrap\" value=\"Chart This List\">\n        </td>\n      </tr>\n    </table>";    }    else {    $output .=  "\n  <p><i>None</i></p>";    }        $output .=  "  \n</form>\n";    #line 287 "template\en\default\reports\create-chart.html.tmpl"    if ($stash->get(['UserInGroup', [ 'editbugs' ]])) {    $output .=  "\n  <h3><a href=\"query.cgi?format=create-series\">Create New Data Set</a></h3>";    }        $output .=  "                 \n";    #line 290 "template\en\default\reports\create-chart.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\n\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 + -