diff options
Diffstat (limited to 'mod/walledgarden')
3 files changed, 4 insertions, 6 deletions
diff --git a/mod/walledgarden/views/default/account/forms/login.php b/mod/walledgarden/views/default/account/forms/login.php index 8d04b5b8d..3b638a2f5 100644 --- a/mod/walledgarden/views/default/account/forms/login.php +++ b/mod/walledgarden/views/default/account/forms/login.php @@ -18,7 +18,9 @@ if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) { $login_url = str_replace("http", "https", $vars['url']);
}
?>
-
+<style type="text/css">
+ body {background:white !important; text-align: center !important;}
+</style>
<h2><?php echo elgg_echo('login'); ?></h2>
<?php
echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$login_url}action/login"));
diff --git a/mod/walledgarden/views/default/page_shells/walled_garden_index.php b/mod/walledgarden/views/default/page_shells/walled_garden_index.php index d160161a7..3be9a1e45 100644 --- a/mod/walledgarden/views/default/page_shells/walled_garden_index.php +++ b/mod/walledgarden/views/default/page_shells/walled_garden_index.php @@ -25,11 +25,6 @@ if (empty($vars['title'])) { } else {
$title = $vars['config']->sitename . ": " . $vars['title'];
}
-?>
-<style type="text/css">
- body {background:white !important;}
-</style>
-<?php
echo elgg_view('page_elements/html_begin', $vars);
echo "<div id='walledgarden_sysmessages'>".elgg_view('messages/list', array('object' => $vars['sysmessages']))."</div>";
diff --git a/mod/walledgarden/views/default/walledgarden/css.php b/mod/walledgarden/views/default/walledgarden/css.php index c7987af2f..a648b33aa 100644 --- a/mod/walledgarden/views/default/walledgarden/css.php +++ b/mod/walledgarden/views/default/walledgarden/css.php @@ -9,6 +9,7 @@ padding:0; width:563px; background: url(<?php echo $vars['url']; ?>mod/walledgarden/graphics/background_extend.gif) repeat-y left top; + text-align: left; } #walledgarden { position: relative; |