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

📄 header.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1203611782',        'name' => 'global/header.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 43 "template\en\default\global\header.html.tmpl"    if ($stash->get('message')) {    #line 42 "template\en\default\global\header.html.tmpl"    $output .=  $context->process('global/messages.html.tmpl');    }        $output .=  "\n";    #line 45 "template\en\default\global\header.html.tmpl"    $stash->set('subheader', '', 1);    $stash->set('header_addl_info', '', 1);    $stash->set('onload', '', 1);    $stash->set('style_urls', [ ], 1);        $output .=  "\n\n";    #line 59 "template\en\default\global\header.html.tmpl"    if (! $stash->get(['header', 0, 'defined', 0])) {    #line 59 "template\en\default\global\header.html.tmpl"    $stash->set('header', $stash->get('title'));        }        $output .=  "\n\n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n                      \"http://www.w3.org/TR/html4/loose.dtd\">\n<html>\n  <head>\n    <title>";    #line 65 "template\en\default\global\header.html.tmpl"    $output .=  $stash->get('title');    $output .=  "</title>\n\n";    $output .=  "\n";    #line 69 "template\en\default\global\header.html.tmpl"    $output .=  $context->process('global/site-navigation.html.tmpl');    $output .=  "\n";    #line 71 "template\en\default\global\header.html.tmpl"    $output .=  $context->process('global/setting-descs.none.tmpl');    $output .=  "\n";    #line 77 "template\en\default\global\header.html.tmpl"    if ($stash->get('javascript')) {    $output .=  "\n      <script type=\"text/javascript\">";    #line 75 "template\en\default\global\header.html.tmpl"    $output .=  $stash->get('javascript');    $output .=  "\n      </script>";    }        $output .=  "\n    ";    #line 83 "template\en\default\global\header.html.tmpl"    if ($stash->get('javascript_urls')) {    #line 82 "template\en\default\global\header.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('javascript_urls');                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->{'javascript_url'} = $_tt_value;    $output .=  "\n        <script src=\"";    #line 81 "template\en\default\global\header.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('javascript_url');                &$_tt_filter($output);    };        $output .=  "\" type=\"text/javascript\"></script>";;                ($_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\n    ";    #line 85 "template\en\default\global\header.html.tmpl"    $output .=  $context->include('global/help-header.html.tmpl');    $output .=  "\n\n    ";    #line 98 "template\en\default\global\header.html.tmpl"    if ($stash->get(['user', 0, 'settings', 0, 'skin', 0, 'value', 0]) ne 'standard') {    #line 97 "template\en\default\global\header.html.tmpl"    $stash->set('user_skin', $stash->get(['user', 0, 'settings', 0, 'skin', 0, 'value', 0]));        }        #line 99 "template\en\default\global\header.html.tmpl"    $output .=  $stash->get(['style_urls', 0, 'unshift', [ 'skins/standard/global.css' ]]);    $output .=  "\n\n    ";    #line 108 "template\en\default\global\header.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('style_urls');                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->{'style_url'} = $_tt_value;    $output .=  "\n      <link href=\"";    #line 105 "template\en\default\global\header.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('style_url');                &$_tt_filter($output);    };        $output .=  "\"\n            rel=\"stylesheet\"\n            type=\"text/css\">";;                ($_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    <!--[if IE]>\n      ";    $output .=  "\n      <link href=\"skins/standard/IE-fixes.css\"\n            rel=\"stylesheet\"\n            type=\"text/css\">\n    <![endif]-->\n\n    ";    #line 138 "template\en\default\global\header.html.tmpl"    if ($stash->get(['user', 0, 'settings', 0, 'skin', 0, 'is_enabled', 0])) {    #line 127 "template\en\default\global\header.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('style_urls');                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->{'style_url'} = $_tt_value;    $output .=  "\n        <link href=\"";    #line 123 "template\en\default\global\header.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('style_url');                &$_tt_filter($output);    };        $output .=  "\"\n              rel=\"";    #line 124 "template\en\default\global\header.html.tmpl"    if ($stash->get('user_skin')) {    $output .=  'alternate ';    }        $output .=  "stylesheet\"\n              title=\"";    #line 125 "template\en\default\global\header.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['setting_descs', 0, 'standard', 0]);                &$_tt_filter($output);    };        $output .=  "\"\n              type=\"text/css\">";;                ($_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      <!--[if IE]>\n        ";    $output .=  "\n        <link href=\"skins/standard/IE-fixes.css\"\n              rel=\"";    #line 134 "template\en\default\global\header.html.tmpl"    if ($stash->get('user_skin')) {    $output .=  'alternate ';    }        $output .=  "stylesheet\"\n              title=\"";    #line 135 "template\en\default\global\header.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['setting_descs', 0, 'standard', 0]);                &$_tt_filter($output);    };        $output .=  "\"\n              type=\"text/css\">\n      <![endif]-->";    }        $output .=  "\n\n    ";    #line 177 "template\en\default\global\header.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get(['user', 0, 'settings', 0, 'skin', 0, 'legal_values', 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->{'contrib_skin'} = $_tt_value;    #line 145 "template\en\default\global\header.html.tmpl"    if ($stash->get('contrib_skin') eq 'standard') {    ($_tt_value, $_tt_error) = $_tt_list->get_next();    next LOOP;        }        #line 146 "template\en\default\global\header.html.tmpl"    if (!($stash->get('contrib_skin') eq $stash->get('user_skin') || $stash->get(['user', 0, 'settings', 0, 'skin', 0, 'is_enabled', 0]))) {    ($_tt_value, $_tt_error) = $_tt_list->get_next();    next LOOP;        }        #line 148 "template\en\default\global\header.html.tmpl"        # CAPTURE    $stash->set('contrib_skin', do {        my $output = '';        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('url_quote')                  || $context->throw($context->error);        $output .=  $stash->get('contrib_skin');                &$_tt_filter($output);    };            $output;    });        #line 176 "template\en\default\global\header.html.tmpl"    if ($stash->get(['contrib_skin', 0, 'match', [ '\.css$' ]])) {    $output .=  "\n        ";    $output .=  "\n        <link href=\"";    #line 0 "template\en\default\global\header.html.tmpl"    $output .=  ("skins/contrib/" . $stash->get('contrib_skin'));    $output .=  "\"\n              rel=\"";    #line 152 "template\en\default\global\header.html.tmpl"    if (!($stash->get('contrib_skin') eq $stash->get('user_skin'))) {    $output .=  'alternate ';    }        $output .=  "stylesheet\"\n              title=\"";    #line 153 "template\en\default\global\header.html.tmpl"        # FILTER    $output .=  do {

⌨️ 快捷键说明

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