updated.html.tmpl

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

TMPL
143 行
字号
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1168214074',        'name' => 'admin/fieldvalues/updated.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 32 "template\en\default\admin\fieldvalues\updated.html.tmpl"        # CAPTURE    $stash->set('title', do {        my $output = '';    $output .=  "Updating Value '";    #line 31 "template\en\default\admin\fieldvalues\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('value');                &$_tt_filter($output);    };        $output .=  "' of the\n                   '";    #line 32 "template\en\default\admin\fieldvalues\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('field');                &$_tt_filter($output);    };        $output .=  "' Field";        $output;    });        #line 33 "template\en\default\admin\fieldvalues\updated.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => $stash->get('title') });    $output .=  "\n";    #line 43 "template\en\default\admin\fieldvalues\updated.html.tmpl"    if ($stash->get('updated_value')) {    $output .=  "\n  <p>Updated field value to: '";    #line 38 "template\en\default\admin\fieldvalues\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('value');                &$_tt_filter($output);    };        $output .=  "'.</p>";    #line 42 "template\en\default\admin\fieldvalues\updated.html.tmpl"    if ($stash->get('default_value_updated')) {    $output .=  "\n    <p>Note that this value is the default for this field.\n    All references to the default value will now point to this new value.</p>";    }        }        $output .=  "\n";    #line 47 "template\en\default\admin\fieldvalues\updated.html.tmpl"    if ($stash->get('updated_sortkey')) {    $output .=  "\n  <p>Updated field value sortkey to: '";    #line 46 "template\en\default\admin\fieldvalues\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('sortkey');                &$_tt_filter($output);    };        $output .=  "'.</p>";    }        $output .=  "\n";    #line 51 "template\en\default\admin\fieldvalues\updated.html.tmpl"    if (!(($stash->get('updated_sortkey') || $stash->get('updated_value')))) {    $output .=  "\n  <p>Nothing changed for field value '";    #line 50 "template\en\default\admin\fieldvalues\updated.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('value');                &$_tt_filter($output);    };        $output .=  "'.</p>";    }        $output .=  "\n";    #line 53 "template\en\default\admin\fieldvalues\updated.html.tmpl"    $output .=  $context->process('admin/fieldvalues/footer.html.tmpl');    $output .=  "\n";    #line 55 "template\en\default\admin\fieldvalues\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 + =
减小字号Ctrl + -
显示快捷键?