mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Tweaks for IE :-/
This commit is contained in:
parent
c009421c08
commit
8ed1787bbf
2 changed files with 8 additions and 4 deletions
|
@ -44,9 +44,9 @@ class block_login extends block_base {
|
|||
$this->content->footer = '';
|
||||
$this->content->text = '';
|
||||
|
||||
if (empty($USER->loggedin)) { // Show the block
|
||||
$this->content->text .= '<form name="login" method="post" action="'.$wwwroot.'/login/index.php">';
|
||||
$this->content->text .= '<table align="center" class="loginform">';
|
||||
if (empty($USER->loggedin) or isguest()) { // Show the block
|
||||
$this->content->text .= '<form class="loginform" name="login" method="post" action="'.$wwwroot.'/login/index.php">';
|
||||
$this->content->text .= '<table align="center" cellpadding="2" cellspacing="0" class="logintable">';
|
||||
|
||||
$this->content->text .= '<tr><td class="c0 r0" align="right">'.get_string('username').':</td>';
|
||||
$this->content->text .= '<td class="c1 r0"><input type="text" name="username" size="10" value="'.$username.'" /></td></tr>';
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
.block_login .loginform {
|
||||
.block_login .logintable {
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.block_login .loginform {
|
||||
display:inline;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue