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

📄 create.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 4 页
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1218506618',        'name' => 'bug/create/create.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 27 "template\en\default\bug\create\create.html.tmpl"    $output .=  $context->process('global/field-descs.none.tmpl');    $output .=  "\n";    #line 29 "template\en\default\bug\create\create.html.tmpl"        # CAPTURE    $stash->set('title', do {        my $output = '';    $output .=  "Enter ";    #line 29 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bug', 0]);    $output .=  ": ";    #line 29 "template\en\default\bug\create\create.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;    });        $output .=  "\n";    #line 31 "template\en\default\bug\create\create.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => $stash->get('title'), 'style_urls' => [ 'skins/standard/create_attachment.css' ], 'javascript_urls' => [ 'js/attachment.js' ] });    $output .=  "\n\n<script type=\"text/javascript\">\n<!--\n\nvar initialowners = new Array(";    #line 40 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['product', 0, 'components', 0, 'size', 0]);    $output .=  ");\nvar last_initialowner;\nvar initialccs = new Array(";    #line 42 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['product', 0, 'components', 0, 'size', 0]);    $output .=  ");\nvar components = new Array(";    #line 43 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['product', 0, 'components', 0, 'size', 0]);    $output .=  ");\nvar flags = new Array(";    #line 44 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['product', 0, 'components', 0, 'size', 0]);    $output .=  ");";    #line 48 "template\en\default\bug\create\create.html.tmpl"    if ($stash->get(['Param', [ 'useqacontact' ]])) {    $output .=  "\n    var initialqacontacts = new Array(";    #line 46 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['product', 0, 'components', 0, 'size', 0]);    $output .=  ");\n    var last_initialqacontact;";    }        #line 49 "template\en\default\bug\create\create.html.tmpl"    $stash->set('count', 0);        #line 74 "template\en\default\bug\create\create.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get(['product', 0, 'components', 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->{'c'} = $_tt_value;    $output .=  "\n    components[";    #line 51 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get('count');    $output .=  "] = \"";    #line 51 "template\en\default\bug\create\create.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('js')                  || $context->throw($context->error);        $output .=  $stash->get(['c', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\";\n    initialowners[";    #line 52 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get('count');    $output .=  "] = \"";    #line 52 "template\en\default\bug\create\create.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('js')                  || $context->throw($context->error);        $output .=  $stash->get(['c', 0, 'default_assignee', 0, 'login', 0]);                &$_tt_filter($output);    };        $output .=  "\";";    #line 53 "template\en\default\bug\create\create.html.tmpl"    $stash->set('flag_list', [ ]);        #line 57 "template\en\default\bug\create\create.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get(['c', 0, 'flag_types', 0, 'bug', 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->{'f'} = $_tt_value;    #line 55 "template\en\default\bug\create\create.html.tmpl"    if (!($stash->get(['f', 0, 'is_active', 0]))) {    ($_tt_value, $_tt_error) = $_tt_list->get_next();    next LOOP;        }        #line 56 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['flag_list', 0, 'push', [ $stash->get(['f', 0, 'id', 0]) ]]);;                ($_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;    };        #line 61 "template\en\default\bug\create\create.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get(['c', 0, 'flag_types', 0, 'attachment', 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->{'f'} = $_tt_value;    #line 59 "template\en\default\bug\create\create.html.tmpl"    if (!($stash->get(['f', 0, 'is_active', 0]))) {    ($_tt_value, $_tt_error) = $_tt_list->get_next();    next LOOP;        }        #line 60 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['flag_list', 0, 'push', [ $stash->get(['f', 0, 'id', 0]) ]]);;                ($_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    flags[";    #line 62 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get('count');    $output .=  "] = [";    #line 62 "template\en\default\bug\create\create.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('js')                  || $context->throw($context->error);        $output .=  $stash->get(['flag_list', 0, 'join', [ ',' ]]);                &$_tt_filter($output);    };        $output .=  "];";    #line 65 "template\en\default\bug\create\create.html.tmpl"    if ($stash->get(['Param', [ 'useqacontact' ]])) {    $output .=  "\n        initialqacontacts[";    #line 64 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get('count');    $output .=  "] = \"";    #line 64 "template\en\default\bug\create\create.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('js')                  || $context->throw($context->error);        $output .=  $stash->get(['c', 0, 'default_qa_contact', 0, 'login', 0]);                &$_tt_filter($output);    };        $output .=  "\";";    }        $output .=  "\n";    #line 67 "template\en\default\bug\create\create.html.tmpl"    $stash->set('initial_cc_list', [ ]);        #line 70 "template\en\default\bug\create\create.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get(['c', 0, 'initial_cc', 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->{'cc_user'} = $_tt_value;    #line 69 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['initial_cc_list', 0, 'push', [ $stash->get(['cc_user', 0, 'login', 0]) ]]);;                ($_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    initialccs[";    #line 71 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get('count');    $output .=  "] = \"";    #line 71 "template\en\default\bug\create\create.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('js')                  || $context->throw($context->error);    

⌨️ 快捷键说明

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