From e00a2bc886f86638a600030ebf98877db7a059fd Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 20 Mar 2007 02:39:14 +0000 Subject: Bug 374330: Make it possible for installation templates to be text or HTML Patch By Max Kanat-Alexander (module owner) a=mkanat --- template/en/default/setup/strings.html.pl | 45 +++++++++++++++++++++++++++++++ template/en/default/setup/strings.txt.pl | 22 +++++++++++++-- 2 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 template/en/default/setup/strings.html.pl (limited to 'template/en/default') diff --git a/template/en/default/setup/strings.html.pl b/template/en/default/setup/strings.html.pl new file mode 100644 index 000000000..583a37abd --- /dev/null +++ b/template/en/default/setup/strings.html.pl @@ -0,0 +1,45 @@ +# 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 Initial Developer of the Original Code is Everything Solved. +# Portions created by Everything Solved are Copyright (C) 2007 +# Everything Solved. All Rights Reserved. +# +# The Original Code is the Bugzilla Bug Tracking System. +# +# Contributor(s): Max Kanat-Alexander + +# This is just like strings.txt.pl, but for HTML templates (used by +# setup.cgi). + +%strings = ( + footer => "", + + # This is very simple. It doesn't support the skinning system. + header => < + + + Installation and Setup for Bugzilla ##bz_ver## + + + +

Installation and Setup for Bugzilla ##bz_ver##

+
+ +

Perl Version: ##perl_ver##

+

OS: ##os_name## ##os_ver##

+END_HTML +, +); + +1; + diff --git a/template/en/default/setup/strings.txt.pl b/template/en/default/setup/strings.txt.pl index 0942bb0e9..b4768771c 100644 --- a/template/en/default/setup/strings.txt.pl +++ b/template/en/default/setup/strings.txt.pl @@ -1,3 +1,21 @@ +# 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 Initial Developer of the Original Code is Everything Solved. +# Portions created by Everything Solved are Copyright (C) 2007 +# Everything Solved. All Rights Reserved. +# +# The Original Code is the Bugzilla Bug Tracking System. +# +# Contributor(s): Max Kanat-Alexander + # This file contains a single hash named %strings, which is used by the # installation code to display strings before Template-Toolkit can safely # be loaded. @@ -9,8 +27,8 @@ # Please keep the strings in alphabetical order by their name. %strings = ( - version_and_os => "* This is Bugzilla ##bz_ver## on perl ##perl_ver##\n" - . "* Running on ##os_name## ##os_ver##", + header => "* This is Bugzilla ##bz_ver## on perl ##perl_ver##\n" + . "* Running on ##os_name## ##os_ver##", ); 1; -- cgit v1.2.3-24-g4f1b