27 Commits

Author SHA1 Message Date
mjollnir_
82c859921b Added selectall/deselectall to files/index.php 2006-01-11 02:26:26 +00:00
mjollnir_
861efb1937 Allow moving courses and editing courses and stuff from the course results search page (now has turn editing on button) 2005-09-01 04:48:22 +00:00
stronk7
e36f3098f8 Core changes finished. Now javascripts URLs support
HTTPSPAGEREQUIRED properly. Ready to start protecting pages.

Merged from MOODLE_15_STABLE
2005-07-14 22:36:40 +00:00
moodler
338cfbb8f1 Commented out hover hack ... see bug 3453 2005-06-09 21:10:56 +00:00
urs_hunkler
3b32704597 The tabs do not show the CSS rollover in MSIE. With the behavior "csshover.htc" MSIE behaves as the other browsers. I added the code to load this behavior via CSS to "javascript.php", because I think this is the best place to handle the behavioral layer of moodle. Perhaps it makes sense to rename it to "behavior.php"??? 2005-05-17 07:06:58 +00:00
defacer
7979105c62 If Javascript is enabled, make IE fix the block sizes after the page loads
so that it's not a mess to look at.
2005-05-12 14:45:16 +00:00
defacer
865da14944 Fix for bug 2902: Now you can set $focus in print_header to anything, and
it will never generate a JS error.
2005-04-20 01:32:18 +00:00
moodler
47aa42e211 Re-arranged static Javascript a bit 2005-04-16 12:30:48 +00:00
moodler
4cff67d66b FIxed an XHTML error 2005-02-28 16:26:06 +00:00
urs_hunkler
c24a1ccd08 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;
}
2005-02-05 21:37:53 +00:00
gustav_delius
b18a43275c if you use \n in single-quoted strings it will not be converted to a line break. 2005-01-13 17:53:23 +00:00
moodler
63d288118a Split up the Javascript stuff into static and non-static.
This will reduce the size of each page somewhat.
2005-01-09 15:10:12 +00:00
moodler
6b94a807d2 Merged new MOODLE_INTERNAL constant from stable, used to prevent
direct access to some scripts
2004-12-12 04:33:13 +00:00
moodler
05bd797a37 Addeda type to the javascript 2004-09-07 08:12:40 +00:00
defacer
15a94ad920 Attention to detail: this prevents generating a warning if $focus is not set.
Of course, the warning is hidden inside JS and thus invisible to the naked eye.
2004-08-23 08:34:51 +00:00
julmis
186d52b68a Winmerge added weird extra lines?
Removed those extra lines.
2004-08-21 12:52:33 +00:00
julmis
eb2042f685 Add editor settings feature and Ludo's (Marc Alier) spellchecking functionality.
- Needs testing and should consider unstable.
2004-08-21 10:12:09 +00:00
moodler
d26924c4ec Load overlib.js as an external Javascript file, on all pages 2004-01-23 08:51:17 +00:00
moodler
47037513fe Goodbye Richtext editor!
This does not affect any of the existing modules - I've kept some
stub functions to retain backward compatibility.
2003-11-03 15:17:21 +00:00
moodler
86aa7ccfdf New feature - "Web link" resources can now specify a popup window
fullscreen is currently the only feature left out of this .. I had
trouble getting it to work consistently so I've left it out as being
more troubles than it's worth.
2003-07-20 13:53:31 +00:00
moodler
c6a0f9d5bf Minor touch-ups to the front page HTML 2003-05-15 14:02:13 +00:00
moodler
e825f27967 New pop-up help page about smileys - clicking on the smiley inserts it
into the form using Javascript!

Also rationalised and patched some of the other help about text formats.

LANGUAGE EDITORS MAY WANT TO RE-CHECK:

   lang/en/help/textformat.html
2003-05-08 16:09:30 +00:00
moodler
dc1dc6e973 Added function to check everything on a page 2003-02-17 17:02:56 +00:00
moodler
2ec69fce6a Added a function useful for debugging Javascript problems 2002-10-12 04:09:51 +00:00
moodler
0095d5cd3c Additions to cope with richtext editor being used in some forms. 2002-10-10 07:26:10 +00:00
martin
7185779262 Fixed name in popup javascript window 2002-09-16 07:03:33 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00