aboutsummaryrefslogtreecommitdiff
path: root/views/failsafe/messages/sanitisation/settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/failsafe/messages/sanitisation/settings.php')
-rw-r--r--views/failsafe/messages/sanitisation/settings.php36
1 files changed, 16 insertions, 20 deletions
diff --git a/views/failsafe/messages/sanitisation/settings.php b/views/failsafe/messages/sanitisation/settings.php
index ac17d16cd..cf3ee719d 100644
--- a/views/failsafe/messages/sanitisation/settings.php
+++ b/views/failsafe/messages/sanitisation/settings.php
@@ -1,28 +1,23 @@
<?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/
+ */
- /**
- * 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/
- */
-
- if ($vars['settings.php'])
- {
- echo elgg_echo('installation:settings:dbwizard:savefail');
+if ($vars['settings.php']) {
+ echo elgg_echo('installation:settings:dbwizard:savefail');
?>
<div>
<textarea rows="50" cols="120"><?php echo $vars['settings.php']; ?></textarea>
</div>
<?php
- }
- else
- {
-
- echo autop(elgg_echo('installation:error:settings'));
+} else {
+ echo autop(elgg_echo('installation:error:settings'));
?>
<div>
<h2><?php echo elgg_echo('installation:settings:dbwizard:prompt'); ?></h2>
@@ -34,8 +29,9 @@
<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="localhost" /></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="elgg" /></td></tr>
</table>
-
+
<input type="submit" name="<?php echo elgg_echo('save'); ?>" value="<?php echo elgg_echo('save'); ?>" />
</form>
</div>
-<?php } ?> \ No newline at end of file
+<?php
+} \ No newline at end of file