?? l10n.html.tmpl
字號(hào):
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1129107114', 'name' => 'admin/params/l10n.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"; #line 22 "template\en\default\admin\params\l10n.html.tmpl" $stash->set('title', 'Localization'); $stash->set('desc', 'Define what languages you want made available to your users'); $output .= "\n\n"; #line 28 "template\en\default\admin\params\l10n.html.tmpl" $stash->set('available_languages', 'unknown'); #line 33 "template\en\default\admin\params\l10n.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('params'); 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->{'param'} = $_tt_value; #line 32 "template\en\default\admin\params\l10n.html.tmpl" if ($stash->get(['param', 0, 'name', 0]) eq 'languages') { #line 31 "template\en\default\admin\params\l10n.html.tmpl" # CAPTURE $stash->set('available_languages', do { my $output = ''; # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['param', 0, 'extra_desc', 0, 'available_languages', 0]); &$_tt_filter($output); }; $output; }); } ; ($_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"; #line 0 "template\en\default\admin\params\l10n.html.tmpl" $stash->set('param_descs', { 'languages' => 'A comma-separated list of RFC 1766 language tags. These ' . ("identify the languages in which you wish " . $stash->get(['terms', 0, 'Bugzilla', 0]) . " output ") . 'to be displayed. Note that you must install the appropriate ' . 'language pack before adding a language to this Param. The ' . 'language used is the one in this list with the highest ' . 'q-value in the user\'s Accept-Language header.<br> ' . ("Available languages: " . $stash->get('available_languages')), 'defaultlanguage' => ("The UI language " . $stash->get(['terms', 0, 'Bugzilla', 0]) . " falls back on if no suitable ") . 'language is found in the user\'s Accept-Language header.' }); $output .= "\n"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_error->type eq 'return'; } return $output; }, DEFBLOCKS => { },});
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -