diff options
Diffstat (limited to 'views/failsafe/messages')
-rw-r--r-- | views/failsafe/messages/errors/list.php | 2 | ||||
-rw-r--r-- | views/failsafe/messages/exceptions/exception.php | 6 | ||||
-rw-r--r-- | views/failsafe/messages/sanitisation/settings.php | 40 |
3 files changed, 24 insertions, 24 deletions
diff --git a/views/failsafe/messages/errors/list.php b/views/failsafe/messages/errors/list.php index ff43f1d00..1f556fa4d 100644 --- a/views/failsafe/messages/errors/list.php +++ b/views/failsafe/messages/errors/list.php @@ -24,7 +24,7 @@ <?php
foreach($vars['object'] as $error) {
echo elgg_view('messages/errors/error',array('object' => $error)); - echo "<hr />";
+ //echo "<hr />";
}
?>
</div>
diff --git a/views/failsafe/messages/exceptions/exception.php b/views/failsafe/messages/exceptions/exception.php index 0b280107f..61c4a8937 100644 --- a/views/failsafe/messages/exceptions/exception.php +++ b/views/failsafe/messages/exceptions/exception.php @@ -17,7 +17,7 @@ global $CONFIG; ?> - <p class="messages-exception"> + <p class="messages-exception" style="background:#FDFFC3;display:block;padding:10px;"> <span title="<?php echo get_class($vars['object']); ?>"> <?php @@ -28,8 +28,8 @@ </p> <?php if ($CONFIG->debug) { ?> - <hr /> - <p class="messages-exception-detail"> + <!-- <hr /> --> + <p class="messages-exception-detail" style="background:#FDFFC3;display:block;padding:10px;"> <?php echo autop(htmlentities(print_r($vars['object'], true))); diff --git a/views/failsafe/messages/sanitisation/settings.php b/views/failsafe/messages/sanitisation/settings.php index e4ea720a8..f56d6b22c 100644 --- a/views/failsafe/messages/sanitisation/settings.php +++ b/views/failsafe/messages/sanitisation/settings.php @@ -1,16 +1,16 @@ -<?php
-
- /**
- * Elgg settings not found message
- * Is saved to the errors register when settings.php cannot be found
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.org/
- */
+<?php + + /** + * Elgg settings not found message + * Is saved to the errors register when settings.php cannot be found + * + * @package Elgg + * @subpackage Core + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Curverider Ltd + * @copyright Curverider Ltd 2008 + * @link http://elgg.org/ + */ if ($vars['settings.php']) { @@ -24,17 +24,17 @@ else { - echo autop(elgg_echo('installation:error:settings'));
+ echo autop(elgg_echo('installation:error:settings')); ?> <div> <h2><?php echo elgg_echo('installation:settings:dbwizard:prompt'); ?></h2> <form method="POST"> - <table> - <tr><td width="200" valign="top"><?php echo elgg_echo('installation:settings:dbwizard:label:user'); ?></td><td valign="top"> <input type="text" name="db_install_vars[CONFIG_DBUSER]" /></td></tr> - <tr><td width="200" valign="top"><?php echo elgg_echo('installation:settings:dbwizard:label:pass'); ?></td><td valign="top"> <input type="password" name="db_install_vars[CONFIG_DBPASS]" /></td></tr> - <tr><td width="200" valign="top"><?php echo elgg_echo('installation:settings:dbwizard:label:dbname'); ?></td><td valign="top"> <input type="text" name="db_install_vars[CONFIG_DBNAME]" /></td></tr> - <tr><td width="200" 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 width="200" 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 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]" /></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]" /></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]" /></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="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'); ?>" /> |