?? edit.html.tmpl
字號:
$output .= ">\n <label for=\"bit-"; #line 498 "template\en\default\bug\edit.html.tmpl" $output .= $stash->get(['group', 0, 'bit', 0]); $output .= "\">"; #line 498 "template\en\default\bug\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html_light') || $context->throw($context->error); $output .= $stash->get(['group', 0, 'description', 0]); &$_tt_filter($output); }; $output .= "</label>\n <br>"; } ; ($_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 509 "template\en\default\bug\edit.html.tmpl" if (! $stash->get('inallgroups')) { $output .= "\n <b>\n Only members of a group can change the visibility of "; #line 505 "template\en\default\bug\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'abug', 0]); $output .= " for\n that group\n </b>\n <br>"; } $output .= "\n"; #line 537 "template\en\default\bug\edit.html.tmpl" if ($stash->get('inagroup')) { $output .= "\n <p>\n <b>Users in the roles selected below can always view this "; #line 513 "template\en\default\bug\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= ":</b>\n <br>\n <small>\n (The assignee"; #line 519 "template\en\default\bug\edit.html.tmpl" if (($stash->get(['Param', [ 'useqacontact' ]]))) { $output .= "\n and QA contact"; } $output .= "\n can always see "; #line 520 "template\en\default\bug\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'abug', 0]); $output .= ", and this section does not take effect unless\n the "; #line 521 "template\en\default\bug\edit.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " is restricted to at least one group.)\n </small>\n </p>\n\n <p>\n <input type=\"checkbox\" value=\"1\"\n name=\"reporter_accessible\" id=\"reporter_accessible\""; #line 528 "template\en\default\bug\edit.html.tmpl" if ($stash->get(['bug', 0, 'reporter_accessible', 0])) { $output .= ' checked'; } #line 529 "template\en\default\bug\edit.html.tmpl" if (!($stash->get(['bug', 0, 'check_can_change_field', [ 'reporter_accessible', 0, 1 ]]))) { $output .= ('' . " disabled=\"disabled\""); } $output .= ">\n <label for=\"reporter_accessible\">Reporter</label>\n <input type=\"checkbox\" value=\"1\"\n name=\"cclist_accessible\" id=\"cclist_accessible\""; #line 533 "template\en\default\bug\edit.html.tmpl" if ($stash->get(['bug', 0, 'cclist_accessible', 0])) { $output .= ' checked'; } #line 534 "template\en\default\bug\edit.html.tmpl" if (!($stash->get(['bug', 0, 'check_can_change_field', [ 'cclist_accessible', 0, 1 ]]))) { $output .= ('' . " disabled=\"disabled\""); } $output .= ">\n <label for=\"cclist_accessible\">CC List</label>\n </p>"; } } $output .= "\n"; #line 540 "template\en\default\bug\edit.html.tmpl" if ($stash->get(['user', 0, 'id', 0])) { $output .= $context->process('bug/knob.html.tmpl'); } $output .= "\n\n"; $output .= "\n\n<hr>\n\n<div id=\"comments\">"; #line 547 "template\en\default\bug\edit.html.tmpl" $output .= $context->process('bug/comments.html.tmpl', { 'comments' => $stash->get(['bug', 0, 'longdescs', 0]), 'mode' => $stash->get(['user', 0, 'id', 0]) ? 'edit' : 'show' }); $output .= "\n</div>\n\n</form>\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= "\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= "\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= "\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= "\n\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= "\n\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; $output .= "\n"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_error->type eq 'return'; } return $output; }, DEFBLOCKS => { 'input' => sub { my $context = shift || die "template sub called without context\n"; my $stash = $context->stash; my $output = ''; my $_tt_error; eval { BLOCK: { $output .= "\n <td"; #line 0 "template\en\default\bug\edit.html.tmpl" if ($stash->get('colspan')) { $output .= (" colspan=\"" . $stash->get('colspan') . "\""); } $output .= ">"; #line 828 "template\en\default\bug\edit.html.tmpl" $stash->set('val', $stash->get('value') ? $stash->get('value') : $stash->get(['bug', 0, $stash->get('inputname'), 0])); #line 843 "template\en\default\bug\edit.html.tmpl" if ($stash->get(['bug', 0, 'check_can_change_field', [ $stash->get('inputname'), 0, 1 ]])) { $output .= "\n <input id=\""; #line 830 "template\en\default\bug\edit.html.tmpl" $output .= $stash->get('inputname'); $output .= "\" name=\""; #line 830 "template\en\default\bug\edit.html.tmpl" $output .= $stash->get('inputname'); $output .= "\"\n value=\""; #line 831 "template\en\default\bug\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('val'); &$_tt_filter($output); }; $output .= "\""; #line 0 "template\en\default\bug\edit.html.tmpl" if ($stash->get('size')) { $output .= (" size=\"" . $stash->get('size') . "\""); } #line 0 "template\en\default\bug\edit.html.tmpl" if ($stash->get('maxlength')) { $output .= (" maxlength=\"" . $stash->get('maxlength') . "\""); } $output .= ">"; } else { $output .= "\n <input type=\"hidden\" name=\""; #line 834 "template\en\default\bug\edit.html.tmpl" $output .= $stash->get('inputname'); $output .= "\" id=\""; #line 834 "template\en\default\bug\edit.html.tmpl" $output .= $stash->get('inputname'); $output .= "\"\n value=\""; #line 835 "template\en\default\bug\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('val'); &$_tt_filter($output); }; $output .= "\">"; #line 842 "template\en\default\bug\edit.html.tmpl" if ($stash->get('size') && $stash->get(['val', 0, 'length', 0]) > $stash->get('size')) { $output .= "\n <span title=\""; #line 837 "template\en\default\bug\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('val'); &$_tt_filter($output); }; $output .= "\">"; #line 838 "template\en\default\bug\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('truncate', [ $stash->get('size') ]) || $context->throw($context->error); $output .= $stash->get('val'); &$_tt_filter($output); }; &$_tt_filter($output); }; $output .= "\n </span>"; } else { #line 841 "template\en\default\bug\edit.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('val'); &$_tt_filter($output); }; } } $output .= "\n </td>"; #line 845 "template\en\default\bug\edit.html.tmpl" $stash->set('maxlength', 0); #line 846 "template\en\default\bug\edit.html.tmpl" $stash->set('colspan', 0); #line 847 "template\en\default\bug\edit.html.tmpl" $stash->set('size', 0); #line 848 "template\en\default\bug\edit.html.tmpl" $stash->set('value', $stash->get('undef')); } }; if ($@) {
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -