?? confirm-duplicate.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1163529054', 'name' => 'bug/process/confirm-duplicate.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 31 "template\en\default\bug\process\confirm-duplicate.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); #line 32 "template\en\default\bug\process\confirm-duplicate.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => 'Duplicate Warning' }); #line 0 "template\en\default\bug\process\confirm-duplicate.html.tmpl" # CAPTURE $stash->set('orig_bug', do { my $output = ''; # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('bug_link', [ $stash->get('original_bug_id') ]) || $context->throw($context->error); $output .= ($stash->get(['terms', 0, 'bug', 0]) . " " . $stash->get('original_bug_id')); &$_tt_filter($output); }; $output; }); $output .= "\n\n<p>\n When marking "; #line 37 "template\en\default\bug\process\confirm-duplicate.html.tmpl" $output .= $stash->get(['terms', 0, 'abug', 0]); $output .= " as a duplicate, the reporter of the duplicate\n is normally added to the CC list of the original. The permissions\n on "; #line 39 "template\en\default\bug\process\confirm-duplicate.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('none') || $context->throw($context->error); $output .= $stash->get('orig_bug'); &$_tt_filter($output); }; $output .= " (the original) are currently set\n such that the reporter would not normally be able to see it.\n</p>\n\n<p>\n <b>Adding the reporter to the CC list of "; #line 44 "template\en\default\bug\process\confirm-duplicate.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('none') || $context->throw($context->error); $output .= $stash->get('orig_bug'); &$_tt_filter($output); }; #line 49 "template\en\default\bug\process\confirm-duplicate.html.tmpl" if ($stash->get('cclist_accessible')) { $output .= "\n will immediately"; } else { $output .= "\n might, in the future,"; } $output .= "\n allow him/her access to view this "; #line 50 "template\en\default\bug\process\confirm-duplicate.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= ".</b>\n Do you wish to do this?\n</p>\n\n<form method=\"post\" action=\"process_bug.cgi\">\n"; #line 56 "template\en\default\bug\process\confirm-duplicate.html.tmpl" $output .= $context->process('global/hidden-fields.html.tmpl', { 'exclude' => ('' . "^Bugzilla_(login|password)") }); $output .= "\n\n<p>\n <input type=\"radio\" name=\"confirm_add_duplicate\" value=\"1\">\n Yes, add the reporter to CC list on "; #line 60 "template\en\default\bug\process\confirm-duplicate.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('none') || $context->throw($context->error); $output .= $stash->get('orig_bug'); &$_tt_filter($output); }; $output .= "\n</p>\n<p>\n <input type=\"radio\" name=\"confirm_add_duplicate\" value=\"0\" checked=\"checked\">\n No, do not add the reporter to CC list on "; #line 64 "template\en\default\bug\process\confirm-duplicate.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('none') || $context->throw($context->error); $output .= $stash->get('orig_bug'); &$_tt_filter($output); }; $output .= "\n</p>\n<p>"; #line 0 "template\en\default\bug\process\confirm-duplicate.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('none') || $context->throw($context->error); # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('bug_link', [ $stash->get('duplicate_bug_id') ]) || $context->throw($context->error); $output .= ("Throw away my changes, and revisit " . $stash->get(['terms', 0, 'bug', 0]) . " " . $stash->get('duplicate_bug_id')); &$_tt_filter($output); }; &$_tt_filter($output); }; $output .= "\n</p>\n<p>\n <input type=\"submit\" id=\"process\" value=\"Submit\">\n</p>\n\n</form>\n"; #line 76 "template\en\default\bug\process\confirm-duplicate.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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -