aboutsummaryrefslogtreecommitdiff
path: root/views/failsafe/messages/sanitisation/settings.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-06 10:57:16 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-06 10:57:16 +0000
commite60775fb5a44955669e18780de3bad7bc0f0ce30 (patch)
tree24372de204424dfdefd2c1e903f8079ab0ac2693 /views/failsafe/messages/sanitisation/settings.php
parenta907805911bc678c6d3f5e0fb71c7189866b5e06 (diff)
downloadelgg-e60775fb5a44955669e18780de3bad7bc0f0ce30.tar.gz
elgg-e60775fb5a44955669e18780de3bad7bc0f0ce30.tar.bz2
removed old views used in previous installer
git-svn-id: http://code.elgg.org/elgg/trunk@7020 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/failsafe/messages/sanitisation/settings.php')
-rw-r--r--views/failsafe/messages/sanitisation/settings.php50
1 files changed, 0 insertions, 50 deletions
diff --git a/views/failsafe/messages/sanitisation/settings.php b/views/failsafe/messages/sanitisation/settings.php
deleted file mode 100644
index b4e43a053..000000000
--- a/views/failsafe/messages/sanitisation/settings.php
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-/**
- * Elgg settings not found message
- * Is saved to the errors register when settings.php cannot be found
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-
-$dbuser = '';
-$dbpassword = '';
-$dbname = '';
-$dbhost = 'localhost';
-$dbprefix = 'elgg_';
-if (isset($vars['sticky'])) {
- $dbuser = $vars['sticky']['CONFIG_DBUSER'];
- $dbname = $vars['sticky']['CONFIG_DBNAME'];
- $dbhost = $vars['sticky']['CONFIG_DBHOST'];
- $dbprefix = $vars['sticky']['CONFIG_DBPREFIX'];
-}
-
-
-if ($vars['settings.php']) {
- echo elgg_echo('installation:settings:dbwizard:savefail');
-?>
-<div>
- <textarea><?php echo $vars['settings.php']; ?></textarea>
-</div>
-<?php
-} else {
- echo autop(elgg_echo('installation:error:settings'));
-?>
-<div>
- <h2><?php echo elgg_echo('installation:settings:dbwizard:prompt'); ?></h2>
- <form method="post">
- <table cellpadding="0" cellspacing="10" style="background:#f1f1f1;">
- <tr><td valign="top"><?php echo elgg_echo('installation:settings:dbwizard:label:user'); ?></td><td valign="top"> <input type="text" name="db_install_vars[CONFIG_DBUSER]" value="<?php echo $dbuser; ?>" /></td></tr>
- <tr><td valign="top"><?php echo elgg_echo('installation:settings:dbwizard:label:pass'); ?></td><td valign="top"> <input type="password" name="db_install_vars[CONFIG_DBPASS]" value="<?php echo $dbpassword; ?>" /></td></tr>
- <tr><td valign="top"><?php echo elgg_echo('installation:settings:dbwizard:label:dbname'); ?></td><td valign="top"> <input type="text" name="db_install_vars[CONFIG_DBNAME]" value="<?php echo $dbname; ?>" /></td></tr>
- <tr><td valign="top"><?php echo elgg_echo('installation:settings:dbwizard:label:host'); ?></td><td valign="top"> <input type="text" name="db_install_vars[CONFIG_DBHOST]" value="<?php echo $dbhost; ?>" /></td></tr>
- <tr><td valign="top"><?php echo elgg_echo('installation:settings:dbwizard:label:prefix'); ?></td><td valign="top"> <input type="text" name="db_install_vars[CONFIG_DBPREFIX]" value="<?php echo $dbprefix; ?>" /></td></tr>
- </table>
-
- <input type="submit" name="<?php echo elgg_echo('save'); ?>" value="<?php echo elgg_echo('save'); ?>" />
- </form>
-</div>
-<?php
-}