From a5996961f534b606e2057b901909759cb5d4d3fd Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 26 Apr 2002 00:21:24 +0000 Subject: Bug 139928 - cvs remove templates from template/default directory. These templates now all live in template/en/default, for l10n purposes. --- template/default/global/choose_product.tmpl | 42 ------------------ template/default/global/code-error.html.tmpl | 57 ------------------------ template/default/global/footer | 6 --- template/default/global/header | 58 ------------------------- template/default/global/hidden-fields.html.tmpl | 32 -------------- template/default/global/message.html.tmpl | 17 -------- template/default/global/user-error.html.tmpl | 40 ----------------- 7 files changed, 252 deletions(-) delete mode 100644 template/default/global/choose_product.tmpl delete mode 100644 template/default/global/code-error.html.tmpl delete mode 100755 template/default/global/footer delete mode 100755 template/default/global/header delete mode 100644 template/default/global/hidden-fields.html.tmpl delete mode 100644 template/default/global/message.html.tmpl delete mode 100644 template/default/global/user-error.html.tmpl (limited to 'template/default/global') 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 @@ - -[%# 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 - #%] - -[% DEFAULT title = "Choose a Product" %] -[% INCLUDE global/header %] - - - -[% FOREACH p = proddesc.keys.sort %] - - - - [% IF proddesc.$p %] - - [% END %] - -[% END %] - -
- - [% p FILTER html %]: -  [% proddesc.$p %]
- -[% 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 @@ - -[%# 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 - #%] - -[% UNLESS header_done %] - [% INCLUDE global/header %] -[% END %] - - -

- 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. -

- -
- - - - - -
- - [% error %] - -
- -[% IF variables %] -
-Variables:
-  [% FOREACH key = variables.keys %]
-    [%+ key %]: [%+ variables.$key %]
-  [% END %]
-  
-[% 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 @@ - -[% PerformSubsts(Param('footerhtml')) %] - - - - 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 @@ - -[% DEFAULT - title = "" - h1 = title - h2 = "" - extra = "" - jscript = "" - style = "" - message = "" -%] - - - - [% title FILTER html %] - - [% Param('headerhtml') %] - - [% jscript %] - - [% IF style %] - - [% END %] - - [% IF style_url %] - - [% END %] - - - - - - [% PerformSubsts(Param('bannerhtml')) %] - -[% IF h1 || h2 %] - - - - - - -
- - - - -
- [% h1 %] -
-
 [% h2 %]
-[% END %] - -[% IF message %] -
- [% message %] -
-[% 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 @@ - -[%# 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 - #%] - -[%# 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) %] - -[% 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 @@ - -[% 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 %] -

- [% link %] -

-[% 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 @@ - -[%# 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 - #%] - -[% UNLESS header_done %] - [% INCLUDE global/header %] -[% END %] - - - - - -
- - [% error %] - -
- -

- Please press Back and try again. -

- -[% INCLUDE global/footer %] -- cgit v1.2.3-24-g4f1b