[%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): John Keiser #%] [%# Define strings that will serve as the title and header of this page %] [% title = BLOCK %]Attachment #[% attachid %] for Bug #[% bugid %][% END %] [% style = BLOCK %] .file_head { font-size: x-large; font-weight: bold; background-color: #d3d3d3; border-top: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; width: 100% } .file_collapse { display: none } .section_head { width: 100%; font-weight: bold; background-color: #d3d3d3; border: 1px solid black; text-align: left } table.file_table { width: 100%; empty-cells: show; border-spacing: 0px; border-collapse: collapse } tbody.file td { width: 50%; height: 1em; font-size: 0.9em; font-family: monospace } .changed { background-color: lightblue } .added { background-color: lightgreen } .removed { background-color: lightgreen } [% END %] [% onload = 'restore_all(); document.checkboxform.restore_indicator.checked = true' %] [% DEFAULT headers = 1 %] [% IF headers %] [% h1 = BLOCK %]Attachment #[% attachid %] for Bug #[% bugid %][% END %] [% h2 = BLOCK %][% bugsummary FILTER html %][% END %] [% PROCESS global/header.html.tmpl title = title h1 = h1 h2 = h2 style = style onload = onload %] [% ELSE %] [% END %] [%# SCRIPT FUNCTIONS %] [%# HEADER %] [% USE url('attachment.cgi', id = attachid) %] View | Edit | [% USE url('attachment.cgi', id = attachid, context = context, collapsed = collapsed, headers = headers, action = 'prettyview') %] Raw Unified
[%# Collapse / Expand %] Collapse All | Expand All | Context: (Patch / File / [% DEFAULT context = 3 %] [%# textbox for context %]
) [%# Restore Stuff %]