confirm-delete.html.tmpl

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

TMPL
118 行
字号
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1160863332',        'name' => 'admin/flag-type/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";    #line 22 "template\en\default\admin\flag-type\confirm-delete.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 24 "template\en\default\admin\flag-type\confirm-delete.html.tmpl"        # CAPTURE    $stash->set('title', do {        my $output = '';    $output .=  "Confirm Deletion of Flag Type '";    #line 24 "template\en\default\admin\flag-type\confirm-delete.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['flag_type', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "'";        $output;    });        $output .=  "\n";    #line 26 "template\en\default\admin\flag-type\confirm-delete.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => $stash->get('title') });    $output .=  "\n\n<p>\n   There are ";    #line 29 "template\en\default\admin\flag-type\confirm-delete.html.tmpl"    $output .=  $stash->get(['flag_type', 0, 'flag_count', 0]);    $output .=  " flags of type ";    #line 29 "template\en\default\admin\flag-type\confirm-delete.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['flag_type', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  ".\n   If you delete this type, those flags will also be deleted.  Note that\n   instead of deleting the type you can\n   <a href=\"editflagtypes.cgi?action=deactivate&amp;id=";    #line 32 "template\en\default\admin\flag-type\confirm-delete.html.tmpl"    $output .=  $stash->get(['flag_type', 0, 'id', 0]);    $output .=  "&amp;token=";    #line 33 "template\en\default\admin\flag-type\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 .=  "\">deactivate it</a>,\n   in which case the type and its flags will remain in the database\n   but will not appear in the ";    #line 35 "template\en\default\admin\flag-type\confirm-delete.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugzilla', 0]);    $output .=  " UI.\n</p>\n\n<table>\n   <tr>\n      <td colspan=\"2\">\n         Do you really want to delete this type?\n      </td>\n   </tr>\n   <tr>\n      <td>\n         <a href=\"editflagtypes.cgi?action=delete&amp;id=";    #line 46 "template\en\default\admin\flag-type\confirm-delete.html.tmpl"    $output .=  $stash->get(['flag_type', 0, 'id', 0]);    $output .=  "&amp;token=";    #line 47 "template\en\default\admin\flag-type\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 .=  "\">Yes, delete\n         </a>\n      </td>\n      <td align=\"right\">\n         <a href=\"editflagtypes.cgi\">\n            No, don't delete\n         </a>\n      </td>\n   </tr>\n</table>\n";    #line 58 "template\en\default\admin\flag-type\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 + -
显示快捷键?