From 66ee2f9618d1ac17507dddeef1b68eb804aa634a Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 20 Jan 2009 04:37:55 +0000 Subject: Move pages -> views for consistency, which simplifies the life of the File_Structure_Test --- installer/views/about_install.html.php | 18 +++++++ installer/views/already_installed.html.php | 4 ++ installer/views/db_not_empty.html.php | 5 ++ installer/views/environment_errors.html.php | 19 +++++++ installer/views/get_db_info.html.php | 78 +++++++++++++++++++++++++++++ installer/views/missing_db.html.php | 2 + installer/views/oops.html.php | 9 ++++ installer/views/success.html.php | 22 ++++++++ 8 files changed, 157 insertions(+) create mode 100644 installer/views/about_install.html.php create mode 100644 installer/views/already_installed.html.php create mode 100644 installer/views/db_not_empty.html.php create mode 100644 installer/views/environment_errors.html.php create mode 100644 installer/views/get_db_info.html.php create mode 100644 installer/views/missing_db.html.php create mode 100644 installer/views/oops.html.php create mode 100644 installer/views/success.html.php (limited to 'installer/views') diff --git a/installer/views/about_install.html.php b/installer/views/about_install.html.php new file mode 100644 index 00000000..6ad2c242 --- /dev/null +++ b/installer/views/about_install.html.php @@ -0,0 +1,18 @@ +

+ Gallery needs to talk to your MySQL database, so to get started + you'll need to know: +

+
    +
  1. Database name
  2. +
  3. Database username
  4. +
  5. Database password
  6. +
  7. Database host
  8. +
+ +

+ If you're missing any of this information, please ask your + web host or system administrator for a little help. +

+

+ Continue +

diff --git a/installer/views/already_installed.html.php b/installer/views/already_installed.html.php new file mode 100644 index 00000000..f8fc5706 --- /dev/null +++ b/installer/views/already_installed.html.php @@ -0,0 +1,4 @@ +

+ Your Gallery3 install is complete. +

+ diff --git a/installer/views/db_not_empty.html.php b/installer/views/db_not_empty.html.php new file mode 100644 index 00000000..754d46c6 --- /dev/null +++ b/installer/views/db_not_empty.html.php @@ -0,0 +1,5 @@ +

+ The database you provided already has other tables in it. + Continuing with the install might overwrite an existing Gallery + install. Please go back and choose a different database. +

diff --git a/installer/views/environment_errors.html.php b/installer/views/environment_errors.html.php new file mode 100644 index 00000000..7c31c1c2 --- /dev/null +++ b/installer/views/environment_errors.html.php @@ -0,0 +1,19 @@ +

Whoa there!

+ +

+ There are some problems with your web hosting environment + that need to be fixed before you can successfully install + Gallery 3. +

+ + + +

+ Check again +

diff --git a/installer/views/get_db_info.html.php b/installer/views/get_db_info.html.php new file mode 100644 index 00000000..3459948e --- /dev/null +++ b/installer/views/get_db_info.html.php @@ -0,0 +1,78 @@ +

+ Installing Gallery is very easy. We just need to know how to talk + to your MySQL database, and we need a place to store your photos on + your web host. +

+ + +
+ Photo Storage + +

+ We're having trouble creating a place for your photos. Can you + help? Please create a directory called var in your + gallery3 directory, then run chmod 777 var. That + should fix it. +

+ Check again +

+ +

+ We've found a place to store your photos. +

+ +
+ +
+
+ Database +

+ We've provided values that work for most common web hosts. If + you have problems, contact your web host for help. +

+
+ + + + + + + + + + + + + + + + + + + + +
+ Database Name + + +
+ User + + +
+ Password + + +
+ Host + + +
+ + + + (Please fix the photo storage problem before continuing) + +
+
+
diff --git a/installer/views/missing_db.html.php b/installer/views/missing_db.html.php new file mode 100644 index 00000000..1f93f08a --- /dev/null +++ b/installer/views/missing_db.html.php @@ -0,0 +1,2 @@ +

+ < \ No newline at end of file diff --git a/installer/views/oops.html.php b/installer/views/oops.html.php new file mode 100644 index 00000000..141a4538 --- /dev/null +++ b/installer/views/oops.html.php @@ -0,0 +1,9 @@ +

Oops!

+

+ Something unexpected happened and we can't finish your install. + We'll try to provide some details about the specific problem below. +

+

+ +

+ diff --git a/installer/views/success.html.php b/installer/views/success.html.php new file mode 100644 index 00000000..fbf5395d --- /dev/null +++ b/installer/views/success.html.php @@ -0,0 +1,22 @@ +

Success!

+

+ Your Gallery3 install is complete! +

+ + +

Before you start using it...

+

+ We've created an account for you to use: +
+ username: +
+ password: +
+
+ Save this information in a safe place, or change your admin password + right away! +

+ + +

Start using Gallery

+ -- cgit v1.2.3