mjollnir_ [Mon, 7 Feb 2005 09:22:07 +0000 (09:22 +0000)]
Fixing bug 2479. Can't figure out a way to do it with a left join at this stage but the query doesn't look too bad. Anyone who thinks they can figure out a more elegant way for it is welcome\!
koenr [Sun, 6 Feb 2005 21:28:06 +0000 (21:28 +0000)]
xhtml compliance
removed head, html and body tags. Not allowed here since they are provided by moodle when parsing the page.
removed markdown.html - not translated
gustav_delius [Sun, 6 Feb 2005 21:04:10 +0000 (21:04 +0000)]
The html editor was inserting a paragraph with just a space in it which clearly created problems for fields that the user wanted to leave empty.
There was also a problem when switching to text mode and back again: the status bar showed Path: Path:. I have taken out the second one.
koenr [Sun, 6 Feb 2005 21:04:07 +0000 (21:04 +0000)]
Created with very ugly wordprocessor.
I took the garbage out, but I had to replace the tables with the English ones. This file took too long to handle.
gustav_delius [Sun, 6 Feb 2005 18:18:44 +0000 (18:18 +0000)]
Avoid using <p> tags because different browsers treat them differently (e.g in firefox if a table cell starts with a <p> it will start with an empty line, in IE it will not). Use <div> instead.
gustav_delius [Sun, 6 Feb 2005 10:42:31 +0000 (10:42 +0000)]
I have changed the icon for removing a question from a quiz from X to >> and changed the label from 'Delete' to 'Remove' because it does not delete the question but only removes it from the quiz.
gustav_delius [Sun, 6 Feb 2005 07:45:40 +0000 (07:45 +0000)]
If a question is removed from a quiz then also all existing responses (e.g. from teacher attempts) are removed. Thanks to Eloy for pointing out that this was missing, http://moodle.org/mod/forum/discuss.php?d=17167#83331
urs_hunkler [Sat, 5 Feb 2005 21:37:53 +0000 (21:37 +0000)]
I added all code to handle the cookies and the sideblock content, the icon and the patches for hiding/showing the content of the sideblocks.
How it works:
_ within the "sideblockheading" a DIV with class="hide-show" holds a link calling the JS containerDisplaySwitching(). To the user it's represented by the icon "switch.gif" (a plus in a square) at the right end side of the header.
_ all content of the sideblock is surounded by a new <div class="blockcontent" id="'.$attributes['id']."_cont\">"
_ a call of the JS containerDisplaySwitching() changes the state of the appropriate DIV with the content to "display:none/inline" and writes this state into a cookie.
_ at the end of every block I added a call to the JS "containerDisplaySet()". This reads the block's state and hides the content or leaves it visible with every page load.
_ in the stylesheet I added the positioning of the icon:
.sideblockheading .hide-show {
float:right;
}
.sideblockheading a img.hide-show-image {
padding-top:0.25em;
}
gustav_delius [Sat, 5 Feb 2005 21:03:04 +0000 (21:03 +0000)]
It is now no longer possible to add or delete questions in a quiz that students have already attempted, see http://moodle.org/mod/forum/discuss.php?d=16479#86488
defacer [Sat, 5 Feb 2005 01:36:55 +0000 (01:36 +0000)]
Enforcing the "email type" (text/HTML) user setting at core library level.
With well-written client code this should not be needed, but after getting
burned once I think it's a good idea to make it "smart".