confirm-delete.html.tmpl

来自「buzilla软件」· TMPL 代码 · 共 109 行

TMPL
109 行
字号
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1160863332',        'name' => 'admin/keywords/confirm-delete.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\n";    $output .=  "\n";    #line 28 "template\en\default\admin\keywords\confirm-delete.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => 'Delete Keyword' });    $output .=  "\n\n<p>";    #line 38 "template\en\default\admin\keywords\confirm-delete.html.tmpl"    if ($stash->get(['keyword', 0, 'bug_count', 0]) eq 1) {    $output .=  "\n    There is one ";    #line 34 "template\en\default\admin\keywords\confirm-delete.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " with this keyword set.";    }    else {    $output .=  "\n    There are ";    #line 36 "template\en\default\admin\keywords\confirm-delete.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['keyword', 0, 'bug_count', 0]);                &$_tt_filter($output);    };        $output .=  " ";    #line 36 "template\en\default\admin\keywords\confirm-delete.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " with\n    this keyword set.";    }        $output .=  "\n  \n  Are you <b>sure</b> you want to delete\n  the <code>";    #line 41 "template\en\default\admin\keywords\confirm-delete.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['keyword', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "</code> keyword?\n</p>\n\n<form method=\"post\" action=\"editkeywords.cgi\">\n  <input type=\"hidden\" name=\"id\" value=\"";    #line 45 "template\en\default\admin\keywords\confirm-delete.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['keyword', 0, 'id', 0]);                &$_tt_filter($output);    };        $output .=  "\">\n  <input type=\"hidden\" name=\"action\" value=\"delete\">\n  <input type=\"hidden\" name=\"reallydelete\" value=\"1\">\n  <input type=\"hidden\" name=\"token\" value=\"";    #line 48 "template\en\default\admin\keywords\confirm-delete.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  <input type=\"submit\" id=\"delete\"\n         value=\"Yes, really delete the keyword\">\n</form>\n\n<p><a href=\"editkeywords.cgi\">Edit other keywords</a>.</p>\n";    #line 55 "template\en\default\admin\keywords\confirm-delete.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 + =
减小字号Ctrl + -
显示快捷键?