📄 useful-links.html.tmpl
字号:
$output .= "\">My "; #line 107 "template\en\default\global\useful-links.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= "</a></li>"; #line 108 "template\en\default\global\useful-links.html.tmpl" $stash->set('print_pipe', 1); } $output .= "\n"; #line 117 "template\en\default\global\useful-links.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get(['user', 0, 'queries', 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->{'q'} = $_tt_value; #line 116 "template\en\default\global\useful-links.html.tmpl" if ($stash->get(['q', 0, 'link_in_footer', 0])) { $output .= "\n <li>"; #line 113 "template\en\default\global\useful-links.html.tmpl" if ($stash->get('print_pipe')) { $output .= '<span class="separator">| </span>'; } $output .= "\n <a href=\"buglist.cgi?cmdtype=runnamed&namedcmd="; #line 114 "template\en\default\global\useful-links.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get(['q', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "\">"; #line 114 "template\en\default\global\useful-links.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['q', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "</a></li>"; #line 115 "template\en\default\global\useful-links.html.tmpl" $stash->set('print_pipe', 1); } ; ($_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; }; #line 118 "template\en\default\global\useful-links.html.tmpl" $stash->set('new_line', $stash->get('print_pipe')); #line 119 "template\en\default\global\useful-links.html.tmpl" $stash->set('print_pipe', 0); #line 134 "template\en\default\global\useful-links.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get(['user', 0, 'queries_subscribed', 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->{'q'} = $_tt_value; #line 124 "template\en\default\global\useful-links.html.tmpl" if ($stash->get('new_line')) { $output .= "\n <br>"; #line 123 "template\en\default\global\useful-links.html.tmpl" $stash->set('new_line', 0); } $output .= "\n <li>"; #line 126 "template\en\default\global\useful-links.html.tmpl" if ($stash->get('print_pipe')) { $output .= '<span class="separator">| </span>'; } $output .= "\n <a href=\"buglist.cgi?cmdtype=dorem&remaction=run&namedcmd="; #line 128 "template\en\default\global\useful-links.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get(['q', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "&sharer_id="; #line 129 "template\en\default\global\useful-links.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get(['q', 0, 'user', 0, 'id', 0]); &$_tt_filter($output); }; $output .= "\"\n class=\"shared\"\n title=\"Shared by "; #line 131 "template\en\default\global\useful-links.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['q', 0, 'user', 0, 'identity', 0]); &$_tt_filter($output); }; $output .= "\"\n >"; #line 132 "template\en\default\global\useful-links.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('no_break') || $context->throw($context->error); # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['q', 0, 'name', 0]); &$_tt_filter($output); }; &$_tt_filter($output); }; $output .= "</a></li>"; #line 133 "template\en\default\global\useful-links.html.tmpl" $stash->set('print_pipe', 1); ; ($_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 </ul>\n </li>"; } $output .= "\n\n "; $output .= "\n"; #line 141 "template\en\default\global\useful-links.html.tmpl" $output .= $context->process('global/per-bug-queries.html.tmpl'); $output .= "\n\n "; #line 144 "template\en\default\global\useful-links.html.tmpl" $output .= $stash->get(['Hook', 0, 'process', [ 'end' ]]); $output .= "\n</ul>\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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -