Petr Skoda
09c48cea8b
MDL-21435 sending JS cache to cache/js instead of temp; adding purging of JS caches
2010-05-22 20:04:06 +00:00
Petr Skoda
5ac09e8b82
MDL-22550 grrr, fixing regression, missed the MDL number in previous commit in this file
2010-05-22 19:30:33 +00:00
Petr Skoda
7a2df05c76
better protection of JS minify script
2010-05-22 19:28:29 +00:00
Petr Skoda
5a75ac0ab6
fixed whitespace
2010-05-22 19:12:29 +00:00
Sam Hemelryk
045f492c6b
javascript-minify MDL-21435 Added Minify third party lib and integrated to with JavaScript and CSS serving
2010-05-19 02:15:16 +00:00
Petr Skoda
baeb20bba3
MDL-21400 thems and JS now using the same script naming convention and parameter style
2010-02-07 13:08:46 +00:00
Petr Skoda
0139ec3fe6
MDL-21400 finally, gzip for JS files and proper caching - without admin UI for now (off by default)
2010-02-07 12:50:53 +00:00
samhemelryk
e11a8328b3
javascript MDL-16673 Removed all removeable uses of CFG->javascript
...
In doing this I was able to eliminate the need for javascript.php files, now removed.
I will also be filing several subtasks to clean up the linked to JS files in OUTPUT as well
as all instance of the old style of focusing.
2009-07-07 09:09:16 +00:00
skodak
ff5fe31160
MDL-19580 cleanup of require css and js filepicker code
2009-06-24 22:34:29 +00:00
skodak
13a220cfb8
MDL-19500 improved editor embedding
2009-06-14 21:35:07 +00:00
samhemelryk
226617eafb
lib MDL-19236 Added phpdocs and copyrights
2009-05-26 02:17:06 +00:00
skodak
a5747cf828
MDL-19211 text editor plugins configuration
2009-05-17 21:10:06 +00:00
skodak
5ca3c8386f
MDL-19184, MDL-19212 - refactoring, cleanup and improvements in text editors support; localization support is not finished, inline docs incomplete, expect more commits soon
2009-05-16 20:53:21 +00:00
dongsheng
e189ec00f0
"MDL-18486, remove php varible from file picker code, all javascript code goes into a static file"
2009-04-20 08:53:21 +00:00
dongsheng
159840f02b
"FORMSLIB,EDITOR/MDL-16698, add filepicker to editor element"
2009-02-18 02:18:06 +00:00
tjhunt
740939ec61
MDL-16654 Move javascript used by the emoticons help file from javascript.php to javascript-static.js. Fix it so that it actually works.
2008-09-25 10:07:11 +00:00
tjhunt
77241d9bd1
MDL-16671 - Move openpopup out of javascript.php and in to javascript-static.js
2008-09-25 03:14:24 +00:00
tjhunt
c849ed1e1e
MDL-16583 - Clean up javascript: Move some static scripts out of javascript.php and into javascript-static.js. Also, ensure the HTML editor JS is only included if the user has chosen to use the HTML editor.
2008-09-24 09:32:46 +00:00
skodak
53b20fe35a
MDL-16637 removing obsoleted spellchecker support
2008-09-23 15:12:07 +00:00
dongsheng
765943edc6
MDL-13766, mulit-filepicker in htmleditor worked.
2008-08-05 08:12:21 +00:00
scyrma
eec1d200b5
MDL-4346: limiting the 'defer' clause to one call / fix the missing openpopup() bug in IE. (merge from 1.9)
2008-07-18 07:14:58 +00:00
dongsheng
23360b81dd
"MDL-13233, replace the uses of old files to new ones, see tracker"
2008-05-07 03:08:44 +00:00
jerome
52cc2b7af8
MDL-14439 IE and Opera fire the onchange when ever you move into a dropdwown list with the keyboard - this changes fix the problem. Merged from 19.
2008-05-02 02:45:18 +00:00
nicolasconnault
8f9607dbc8
MDL-12389 Added a new getElementsByClassName function in lib/javascript.php, added the selectallornone formslib element, modified the advcheckbox element to support the group variable, and implemented the new element in grade_export_form
2007-12-03 20:13:01 +00:00
nicolasconnault
8f6e4392d2
Adding latest version of overlib with all plugins, into its own directory. Updated lib/javascript.php to point to this instead of the old one, which is still in lib/overlib.js
2007-08-08 09:42:11 +00:00
sam_marshall
7470d6de7a
MDL-10249 Created addonload JavaScript function that can be used to add onload handlers, instead of using <body onload> which breaks things.
2007-06-25 14:38:02 +00:00
moodler
ae3e06dd24
Merged brackets fixes from stable
2007-05-15 07:50:19 +00:00
moodler
f6994e71fa
Flash-based filters are now strrrrrrrict AND accessible! MDL-7889
...
Unfortunately this is only possible using Javascript to rewrite the DOM, so this means Flash content won't work without Javascript on.
MDL-7861
2007-01-08 11:55:18 +00:00
skodak
c7225fe291
MDL-8062 chat, login page and messaging - removed name attribute from some <form>s and fixed focus; changed set_focus() JS to accept element ID == the $focus parameter in print_header() + other minor Strict XHTML fixes
2007-01-03 20:35:09 +00:00
moodler
a09f3b7db6
Removed some language=Javscript attributes ... we need to remove all of them!
2007-01-03 09:09:25 +00:00
moodler
ad897001c2
Added CDATA to Javascript
2006-12-22 04:17:56 +00:00
jamiesensei
19194f825a
added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method
2006-12-14 12:44:10 +00:00
julmis
c2db12af42
Adding tinymce needed defaults and new $CFG property 'editorsrc'
2006-03-04 14:52:50 +00:00
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