diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-16 21:05:54 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-16 21:05:54 +0000 |
commit | d46162271a5ca3c3af690173d0abfcd1ab9f69a1 (patch) | |
tree | f291a6780b492e77e4b54c759bb7995bef1cef39 /views/failsafe/messages/sanitisation | |
parent | a1abec1d617c9330d9c06bda2f462d213f013f53 (diff) | |
download | elgg-d46162271a5ca3c3af690173d0abfcd1ab9f69a1.tar.gz elgg-d46162271a5ca3c3af690173d0abfcd1ab9f69a1.tar.bz2 |
Standardized views/failsafe/*
git-svn-id: http://code.elgg.org/elgg/trunk@3558 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/failsafe/messages/sanitisation')
-rw-r--r-- | views/failsafe/messages/sanitisation/htaccess.php | 25 | ||||
-rw-r--r-- | views/failsafe/messages/sanitisation/settings.php | 36 |
2 files changed, 27 insertions, 34 deletions
diff --git a/views/failsafe/messages/sanitisation/htaccess.php b/views/failsafe/messages/sanitisation/htaccess.php index b8800c9be..e0eddacef 100644 --- a/views/failsafe/messages/sanitisation/htaccess.php +++ b/views/failsafe/messages/sanitisation/htaccess.php @@ -1,17 +1,14 @@ <?php - - /** - * Elgg .htaccess not found message - * Is saved to the errors register when the main .htaccess cannot be found - * - * @package Elgg - * @subpackage Core - - * @author Curverider Ltd - - * @link http://elgg.org/ - */ - - echo autop(elgg_echo('installation:error:htaccess')); +/** + * Elgg .htaccess not found message + * Is saved to the errors register when the main .htaccess cannot be found + * + * @package Elgg + * @subpackage Core + * @author Curverider Ltd + * @link http://elgg.org/ + */ + +echo autop(elgg_echo('installation:error:htaccess')); ?> <textarea cols="120" rows="30"><?php echo $vars['.htaccess']; ?></textarea>
\ No newline at end of file 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 |