summaryrefslogtreecommitdiff
path: root/installer/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-20 04:41:53 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-20 04:41:53 +0000
commit0c6b36b086db5dfaa7c0e778296a36104fc2468d (patch)
tree185e299e24a12f9655f0c6117b1302b008b63d88 /installer/views
parent5e7717f778ed13e4ea4a6ba5bc9ffe5ffe6648ff (diff)
Fix preambles, delete unused file
Diffstat (limited to 'installer/views')
-rw-r--r--installer/views/about_install.html.php18
-rw-r--r--installer/views/already_installed.html.php1
-rw-r--r--installer/views/db_not_empty.html.php2
-rw-r--r--installer/views/environment_errors.html.php1
-rw-r--r--installer/views/get_db_info.html.php2
-rw-r--r--installer/views/oops.html.php1
-rw-r--r--installer/views/success.html.php1
7 files changed, 8 insertions, 18 deletions
diff --git a/installer/views/about_install.html.php b/installer/views/about_install.html.php
deleted file mode 100644
index 6ad2c242..00000000
--- a/installer/views/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/views/already_installed.html.php b/installer/views/already_installed.html.php
index f8fc5706..0d7fc193 100644
--- a/installer/views/already_installed.html.php
+++ b/installer/views/already_installed.html.php
@@ -1,3 +1,4 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
<p class="success">
Your Gallery3 install is complete.
</p>
diff --git a/installer/views/db_not_empty.html.php b/installer/views/db_not_empty.html.php
index 754d46c6..7125a0b6 100644
--- a/installer/views/db_not_empty.html.php
+++ b/installer/views/db_not_empty.html.php
@@ -1,3 +1,5 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<h1> Uh oh! </h1>
<p class="error">
The database you provided already has other tables in it.
Continuing with the install might overwrite an existing Gallery
diff --git a/installer/views/environment_errors.html.php b/installer/views/environment_errors.html.php
index 7c31c1c2..318be61d 100644
--- a/installer/views/environment_errors.html.php
+++ b/installer/views/environment_errors.html.php
@@ -1,3 +1,4 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
<h1> Whoa there! </h1>
<p class="error">
diff --git a/installer/views/get_db_info.html.php b/installer/views/get_db_info.html.php
index 3459948e..22ed82ad 100644
--- a/installer/views/get_db_info.html.php
+++ b/installer/views/get_db_info.html.php
@@ -1,3 +1,5 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<h1> Welcome! </h1>
<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
diff --git a/installer/views/oops.html.php b/installer/views/oops.html.php
index 141a4538..9c6b1654 100644
--- a/installer/views/oops.html.php
+++ b/installer/views/oops.html.php
@@ -1,3 +1,4 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
<h1> Oops! </h1>
<p>
Something unexpected happened and we can't finish your install.
diff --git a/installer/views/success.html.php b/installer/views/success.html.php
index fbf5395d..4bca2fb1 100644
--- a/installer/views/success.html.php
+++ b/installer/views/success.html.php
@@ -1,3 +1,4 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
<h1> Success! </h1>
<p class="success">
Your Gallery3 install is complete!