diff options
author | gerv%gerv.net <> | 2002-04-26 02:21:24 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-04-26 02:21:24 +0200 |
commit | a5996961f534b606e2057b901909759cb5d4d3fd (patch) | |
tree | 7da7b3a0670e505f5914788fca178603ac8156ac /template/default/global | |
parent | dcba2bd7a21ae0415d1b743c8a8caa0ba517c0da (diff) | |
download | bugzilla-a5996961f534b606e2057b901909759cb5d4d3fd.tar.gz bugzilla-a5996961f534b606e2057b901909759cb5d4d3fd.tar.xz |
Bug 139928 - cvs remove templates from template/default directory. These templates now all live in template/en/default, for l10n purposes.
Diffstat (limited to 'template/default/global')
-rw-r--r-- | template/default/global/choose_product.tmpl | 42 | ||||
-rw-r--r-- | template/default/global/code-error.html.tmpl | 57 | ||||
-rwxr-xr-x | template/default/global/footer | 6 | ||||
-rwxr-xr-x | template/default/global/header | 58 | ||||
-rw-r--r-- | template/default/global/hidden-fields.html.tmpl | 32 | ||||
-rw-r--r-- | template/default/global/message.html.tmpl | 17 | ||||
-rw-r--r-- | template/default/global/user-error.html.tmpl | 40 |
7 files changed, 0 insertions, 252 deletions
diff --git a/template/default/global/choose_product.tmpl b/template/default/global/choose_product.tmpl deleted file mode 100644 index 31d9ea7ba..000000000 --- a/template/default/global/choose_product.tmpl +++ /dev/null @@ -1,42 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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): Gervase Markham <gerv@gerv.net> - #%] - -[% DEFAULT title = "Choose a Product" %] -[% INCLUDE global/header %] - -<table> - -[% FOREACH p = proddesc.keys.sort %] - <tr> - <th align="right" valign="top"> - <a href="[% target %]?product=[% p FILTER uri %]"> - [% p FILTER html %]</a>: - </th> - - [% IF proddesc.$p %] - <td valign="top"> [% proddesc.$p %]</td> - [% END %] - </tr> -[% END %] - -</table> - -[% INCLUDE global/footer %] diff --git a/template/default/global/code-error.html.tmpl b/template/default/global/code-error.html.tmpl deleted file mode 100644 index 9f1fe2964..000000000 --- a/template/default/global/code-error.html.tmpl +++ /dev/null @@ -1,57 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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): Gervase Markham <gerv@gerv.net> - #%] - -[% UNLESS header_done %] - [% INCLUDE global/header %] -[% END %] - -<tt> - <p> - Bugzilla has suffered an internal error. Please save this page and send - it to [% Param("maintainer") %] with details of what you were doing at - the time this message appeared. - </p> - <script> <!-- - document.write("<p>URL: " + document.location + "</p>"); - // --> - </script> -</tt> - -<table cellpadding="20"> - <tr> - <td bgcolor="#ff0000"> - <font size="+2"> - [% error %] - </font> - </td> - </tr> -</table> - -[% IF variables %] - <pre> -Variables: - [% FOREACH key = variables.keys %] - [%+ key %]: [%+ variables.$key %] - [% END %] - </pre> -[% END %] - -[% INCLUDE global/footer %] diff --git a/template/default/global/footer b/template/default/global/footer deleted file mode 100755 index 98d525a78..000000000 --- a/template/default/global/footer +++ /dev/null @@ -1,6 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[% PerformSubsts(Param('footerhtml')) %] - -</body> -</html> - diff --git a/template/default/global/header b/template/default/global/header deleted file mode 100755 index dfb3cc080..000000000 --- a/template/default/global/header +++ /dev/null @@ -1,58 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[% DEFAULT - title = "" - h1 = title - h2 = "" - extra = "" - jscript = "" - style = "" - message = "" -%] -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> - <head> - <title>[% title FILTER html %]</title> - - [% Param('headerhtml') %] - - [% jscript %] - - [% IF style %] - <style type="text/css"> - [% style %] - </style> - [% END %] - - [% IF style_url %] - <link href="[% style_url %]" rel="stylesheet" type="text/css"> - [% END %] - - </head> - - <body [% Param('bodyhtml') %][% " " %][% extra %]> - - [% PerformSubsts(Param('bannerhtml')) %] - -[% IF h1 || h2 %] - <table border="0" cellspacing="0"> - <tr> - <td valign="top" align="left"> - <table border="0" cellpadding="0" cellspacing="2"> - <tr> - <td valign="top" align="left" nowrap> - <font size="+1"><b>[% h1 %]</b></font> - </td> - </tr> - </table> - </td> - <td valign="middle"> </td> - <td valign="middle" align="left">[% h2 %]</td> - </tr> - </table> -[% END %] - -[% IF message %] - <table width="100%" cellspacing="0" cellpadding="5" border="1"><tr><td> - <font color="green">[% message %]</font> - </td></tr></table> -[% END %] diff --git a/template/default/global/hidden-fields.html.tmpl b/template/default/global/hidden-fields.html.tmpl deleted file mode 100644 index 85df62435..000000000 --- a/template/default/global/hidden-fields.html.tmpl +++ /dev/null @@ -1,32 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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): Myk Melez <myk@mozilla.org> - #%] - -[%# INTERFACE: - # form: hash; the form fields/values for which to generate hidden fields. - # exclude: string; a regular expression matching fields to exclude - # from the list of hidden fields generated by this template - #%] - -[%# Generate hidden form fields for non-excluded fields. %] -[% FOREACH field = form %] - [% NEXT IF field.key.search(exclude) %] - <input type="hidden" name="[% field.key %]" value="[% field.value FILTER html %]"> -[% END %] diff --git a/template/default/global/message.html.tmpl b/template/default/global/message.html.tmpl deleted file mode 100644 index d0c8281eb..000000000 --- a/template/default/global/message.html.tmpl +++ /dev/null @@ -1,17 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[% DEFAULT title = "Bugzilla Message" %] - -[% PROCESS global/header %] - -[%# The "header" template automatically displays the contents of a "message" - variable if it finds one, so it is not necessary to display the message - here. %] - -[%# Display a URL if the calling script has included one. %] -[% IF url && link %] - <p> - <a href="[% url %]">[% link %]</a> - </p> -[% END %] - -[% PROCESS global/footer %] diff --git a/template/default/global/user-error.html.tmpl b/template/default/global/user-error.html.tmpl deleted file mode 100644 index a76ad5fa7..000000000 --- a/template/default/global/user-error.html.tmpl +++ /dev/null @@ -1,40 +0,0 @@ -<!-- 1.0@bugzilla.org --> -[%# 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): Gervase Markham <gerv@gerv.net> - #%] - -[% UNLESS header_done %] - [% INCLUDE global/header %] -[% END %] - -<table cellpadding="20"> - <tr> - <td bgcolor="#ff0000"> - <font size="+2"> - [% error %] - </font> - </td> - </tr> -</table> - -<p> - Please press <b>Back</b> and try again. -</p> - -[% INCLUDE global/footer %] |