summaryrefslogtreecommitdiff
path: root/installer/pages
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-20 04:37:55 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-20 04:37:55 +0000
commit66ee2f9618d1ac17507dddeef1b68eb804aa634a (patch)
tree1dea996b25925001eedbe13a05aa65497bac3269 /installer/pages
parent401da12adbe7979074de9c35fd458ff36f393350 (diff)
Move pages -> views for consistency, which simplifies the life of the File_Structure_Test
Diffstat (limited to 'installer/pages')
-rw-r--r--installer/pages/about_install.html.php18
-rw-r--r--installer/pages/already_installed.html.php4
-rw-r--r--installer/pages/db_not_empty.html.php5
-rw-r--r--installer/pages/environment_errors.html.php19
-rw-r--r--installer/pages/get_db_info.html.php78
-rw-r--r--installer/pages/missing_db.html.php2
-rw-r--r--installer/pages/oops.html.php9
-rw-r--r--installer/pages/success.html.php22
8 files changed, 0 insertions, 157 deletions
diff --git a/installer/pages/about_install.html.php b/installer/pages/about_install.html.php
deleted file mode 100644
index 6ad2c242..00000000
--- a/installer/pages/about_install.html.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<p>
- Gallery needs to talk to your MySQL database, so to get started
- you'll need to know:
-</p>
-<ol>
- <li> Database name </li>
- <li> Database username </li>
- <li> Database password </li>
- <li> Database host </li>
-</ol>
-
-<p>
- If you're missing any of this information, please ask your
- web host or system administrator for a little help.
-</p>
-<p>
- <a href="index.php?step=get_db_info">Continue</a>
-</p>
diff --git a/installer/pages/already_installed.html.php b/installer/pages/already_installed.html.php
deleted file mode 100644
index f8fc5706..00000000
--- a/installer/pages/already_installed.html.php
+++ /dev/null
@@ -1,4 +0,0 @@
-<p class="success">
- Your Gallery3 install is complete.
-</p>
-
diff --git a/installer/pages/db_not_empty.html.php b/installer/pages/db_not_empty.html.php
deleted file mode 100644
index 754d46c6..00000000
--- a/installer/pages/db_not_empty.html.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<p class="error">
- 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.
-</p>
diff --git a/installer/pages/environment_errors.html.php b/installer/pages/environment_errors.html.php
deleted file mode 100644
index 7c31c1c2..00000000
--- a/installer/pages/environment_errors.html.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<h1> Whoa there! </h1>
-
-<p class="error">
- There are some problems with your web hosting environment
- that need to be fixed before you can successfully install
- Gallery 3.
-</p>
-
-<ul>
- <?php foreach ($errors as $error): ?>
- <li>
- <?php print $error ?>
- </li>
- <?php endforeach ?>
-</ul>
-
-<p>
- <a href="index.php">Check again</a>
-</p>
diff --git a/installer/pages/get_db_info.html.php b/installer/pages/get_db_info.html.php
deleted file mode 100644
index 3459948e..00000000
--- a/installer/pages/get_db_info.html.php
+++ /dev/null
@@ -1,78 +0,0 @@
-<p>
- 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.
-</p>
-
-
-<fieldset>
- <legend>Photo Storage</legend>
- <?php if (!installer::var_writable()): ?>
- <p class="error">
- We're having trouble creating a place for your photos. Can you
- help? Please create a directory called <code>var</code> in your
- gallery3 directory, then run <code>chmod 777 var</code>. That
- should fix it.
- <br/><br/>
- <a href="index.php">Check again</a>
- </p>
- <?php else: ?>
- <p class="success">
- We've found a place to store your photos.
- </p>
- <?php endif ?>
-</fieldset>
-
-<form method="post" action="index.php?step=save_db_info">
- <fieldset>
- <legend>Database</legend>
- <p>
- We've provided values that work for most common web hosts. If
- you have problems, contact your web host for help.
- </p>
- <br/>
- <table id="db_info">
- <tr>
- <td>
- Database Name
- </td>
- <td>
- <input name="dbname" value="gallery3"/>
- </td>
- </tr>
- <tr>
- <td>
- User
- </td>
- <td>
- <input name="dbuser" value="root"/>
- </td>
- </tr>
- <tr>
- <td>
- Password
- </td>
- <td>
- <input name="dbpass" value=""/>
- </td>
- </tr>
- <tr>
- <td>
- Host
- </td>
- <td>
- <input name="dbhost" value="localhost"/>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <?php if (installer::var_writable()): ?>
- <input type="submit" value="Continue"/>
- <?php else: ?>
- <i class="error">(Please fix the photo storage problem before continuing)</i>
- <?php endif ?>
- </td>
- </tr>
- </table>
- </fieldset>
-</form>
diff --git a/installer/pages/missing_db.html.php b/installer/pages/missing_db.html.php
deleted file mode 100644
index 1f93f08a..00000000
--- a/installer/pages/missing_db.html.php
+++ /dev/null
@@ -1,2 +0,0 @@
-<p>
- < \ No newline at end of file
diff --git a/installer/pages/oops.html.php b/installer/pages/oops.html.php
deleted file mode 100644
index 141a4538..00000000
--- a/installer/pages/oops.html.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<h1> Oops! </h1>
-<p>
- Something unexpected happened and we can't finish your install.
- We'll try to provide some details about the specific problem below.
-</p>
-<p class="error">
- <?php print $error ?>
-</p>
-
diff --git a/installer/pages/success.html.php b/installer/pages/success.html.php
deleted file mode 100644
index fbf5395d..00000000
--- a/installer/pages/success.html.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<h1> Success! </h1>
-<p class="success">
- Your Gallery3 install is complete!
-</p>
-
-<?php if (!empty($user)): ?>
-<h2> Before you start using it... </h2>
-<p>
- We've created an account for you to use:
- <br/>
- username: <b><?php print $user ?></b>
- <br/>
- password: <b><?php print $password ?></b>
- <br/>
- <br/>
- Save this information in a safe place, or change your admin password
- right away!
-</p>
-<?php endif ?>
-
-<h2> <a href="..">Start using Gallery</a> </h2>
-