Community Forums

ATutor Bug Reports

1.6: default theme problems


You must be signed-in to post.

AuthorSubject
 
Page: 1
vegard

Avatar for vegard
Untitled.png

Attachment: Untitled.png
Subject: 1.6: default theme problemsQuote this post in your reply
fist of all: congrats with the new relase! smile

I've updated a copy of my production server and it went well, however I experienced some problems that I haven't seen before.

fist, there is a problem with your new default theme, as the roll up menu floats below the course title (and behind the navigation) if there isn't enough space for both of them on the same line.

see the attached screenshot. the top image is where I have a browser width of about 1400 pixels and it works, the bottom one browser width of about 1100 px and it doesn't - considering around 1000 px is a very common resolution / browser window width I expect this to be a problem for many..
Posted: 2008-02-06 09:38:19
greg

Avatar for greg
Subject: Re: 1.6: default theme problemsQuote this post in your reply
I noticed that as well, and reported it. Not sure how it happened. It's not in my local test installations.

We'll post a fix here shortly. We may end up just posting a copy of the fixed theme, rather than issuing a new bundle.
Posted: 2008-02-06 09:59:58
harris

Avatar for harris
Subject: Re: 1.6: default theme problemsQuote this post in your reply
Thanks Vegard,

Please open up themes/default/styles.css

go to line 507, and add "margin-buttom:-0.5em;" there.

Like the following block.

h1#section-title {
float: left;
white-space:nowrap;
margin-left:1em;
margin-bottom: -0.5em;
}
Posted: 2008-02-06 13:28:16
uguryildiz

Avatar for uguryildiz
Subject: Re: 1.6: default theme problemsQuote this post in your reply
hi
ı used atutor15 theme as default theme and appear login problem. I think so crypt_sha1 function doesn't work.
and only instructor and student account opens in ATutor theme.
ı changed below row (123) in login.php
$sql = "SELECT login, `privileges`, language FROM ".TABLE_PREFIX."admins WHERE login='$this_login' AND SHA1(CONCAT(password, '$_SESSION[token]'))='$this_password' AND `privileges`>0";

as

$sql = "SELECT login, `privileges`, language FROM ".TABLE_PREFIX."admins WHERE login='$this_login' AND password='$this_password' AND `privileges`>0";

and works!

why?
Posted: 2008-02-06 18:03:16
harris

Avatar for harris
Subject: Re: 1.6: default theme problemsQuote this post in your reply
Confirmed in defualt15 theme.

To fix this, please open up themes/default15/login.tmpl.php
remove line5-13 (the <script>...</script> block)

then replace line 30 with the following

<input type="submit" name="submit" value="<?php echo _AT('login'); ?>" class="button" onclick="return crypt_sha1('<?php echo $_SESSION['token']; ?>');" />
Posted: 2008-02-07 09:52:39
 
Page: 1

You must be signed-in to post.

Related Articles