Commit Graph

254 Commits

Author SHA1 Message Date
dongsheng 3c0b6b1610 MDL-14129, fix print_error 2008-05-15 03:22:13 +00:00
skodak 86255e006b fixed syntax errors 2008-05-12 20:18:42 +00:00
scyrma bf5373daf6 MDL-14739: Images needed for the editor 2008-05-12 10:00:20 +00:00
scyrma 19be75a856 MDL-14795: initial commit of the code sent in by Mauno Korpelainen, after reformatting. 2008-05-12 09:02:17 +00:00
scyrma b62a6a9465 MDL-14739: The changelog of the new version of tinymce has been renamed 2008-05-12 03:24:33 +00:00
scyrma 653d3cc8ef Minor typo corrections 2008-05-12 03:17:26 +00:00
scyrma 76d64f22b8 MDL-14739: previous commit half-failed, re-submitting new files for spellchecker plugin 2008-05-12 03:10:33 +00:00
scyrma 81502602d5 MDL-14739: add the latest version of the spellchecker plugin 2008-05-12 03:04:47 +00:00
scyrma b5278b2d70 MDL-14739: TinyMCE 3.0.8, along with Moodle-specific Modules, as included by Mauno Korpelainen. 2008-05-09 09:29:20 +00:00
scyrma a50323a329 MDL-14739: Removing old version, before adding new one 2008-05-09 08:21:11 +00:00
scyrma e8c523d70f This is a bit outdated, make this obvious. 2008-05-07 07:27:11 +00:00
scyrma e64467bb77 MDL-8592: Get spellchecking to work over https (merge from 1.9) 2008-05-02 03:34:00 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
scyrma 21bf0ecc70 MDL-12726 - Making the htmlarea width default to 598 if it's null, don't touch it otherwise (merge from 1.9) 2008-02-28 08:14:20 +00:00
scyrma 405201f4b8 MDL-11242 - Setting the width back to it's 1.8 value. This makes it a bit too large for the message window, but is necessary for IE7/Vista (merge
from 1.9)
2008-02-28 03:12:52 +00:00
poltawski 017b524a05 MDL-12825 - add some extra height to popups in IE7, otherwise they cant
be used merged from MOODLE_19_STABLE
2008-01-03 22:41:54 +00:00
martinlanghoff 8c80cc1738 htmlarea: fix in FF - MDL-11242
The previous fix for IE left some problems in the FF side of
things because we were trying additions/substractions on
width once its had turned to a string of value + unit.

Do the math before we attach 'px' to it...
2007-11-14 01:25:20 +00:00
martinlanghoff 755a625d95 htmlarea: Fix fullscreen editor on IE6/7 -- MDL-11242
Only say px if the width is a pure number. Under IE we
get the "100%" for the width of the editor, so blindly
appending "px" results in a JS execution error.

With this patch we only attach px if it's a pure int.

Also tested the sizing of HTMLArea in the messaging
window. So both should be working now.
2007-11-12 04:13:24 +00:00
moodler 2f99f1da14 Fixed the HTML editor being too wide for the messaging window MDL-11242 2007-09-26 11:21:54 +00:00
nicolasconnault caa0886a9d MDL-11351 Removed a redundant check for a multiLang JS variable 2007-09-21 09:13:02 +00:00
moodler 2730730381 Added support for right-to-left languages in html editor MDL-10768 2007-08-09 08:42:36 +00:00
mattc-catalyst a64b66ddcf MDL-7043: fix insert link functionality to allow linking to images again
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-08-06 04:38:59 +00:00
stronk7 2b22db69c3 Re-adding some strings that were lost when stripping BOMB 2007-07-30 15:16:22 +00:00
stronk7 e5736382ec Re-adding some strings that were lost when stripping BOMB 2007-07-30 15:12:01 +00:00
nicolasconnault 84338bde48 MDL-10637 Applied Eloy's suggested fix to the BOMs in the files he detected on his oh-so-aware Mac :-) 2007-07-30 11:51:37 +00:00
tjhunt 362b172c18 Tabs to spaces. 2007-07-25 12:01:57 +00:00
Martin Langhoff 08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
anthonyforth 44968276c1 Fix for MDL-9942 2007-06-08 09:19:41 +00:00
anthonyforth ae8fda4cb1 Fix for bug MDL-9942 2007-05-25 09:55:08 +00:00
anthonyforth f62c4ca4de Fix for bug 9646 2007-04-30 13:19:33 +00:00
mjollnir_ 64aea3f055 Merged from MOODLE_17_STABLE:
add support for https source for popups

previously fullscreen.php tried to load any javascript files that were
running in the popup's parent.
If the source of the script didn't start with "http:" it was assumed
that it must be a relative path. This caused problems when it tried to
make it into an absolute path.
Fixed Regex to include support for https
Credit: Peter Bulmer <peterb@catalyst.net.nz>
2007-04-09 20:40:22 +00:00
nicolasconnault 345ea0f7d4 MDL-8597 - Fixed: weblib.php::print_speller_code was adding CDATA and <script> tags around the code, when this was already done by weblib.php::use_html_editor().
Check lib/editor/htmlarea/htmlarea.class.php for a seemingly duplicated print_speller_code method.
2007-03-02 05:06:51 +00:00
skodak 1e94fe068c Editor related fixes:
MDL-7545 HTML Editor does not send http headers for character encoding;
MDL-8323 added proper require_course_login()
+ fixed javascript in coursefiles broken by XHTML strict
+ general cleanup and fixing in coursefiles (themes, javascript, obsoleted functions, etc.)
2007-01-27 23:23:44 +00:00
skodak dcf6d93c9c MDL-8323 Add proper setup of course $CFG variables, fix use of global $COURSE
new function course_setup() thats does proper $CFG-> , locale and themes setup much sooner than print_header() originally (needed for MDL-8067), cleanup of forgotten global $course issues

MDL-8067 Fixed several $HTTPSREQUIRED issues - html editor now loads from https (the old hack did not wotk with IE7, new hack is uglier but works), fixed formlibs images (we can not set them in library global scope, we must wait for httpsrequired() and require_login() and od that in function), fixed links in meta.php, fixed help images

fixed setting of new $USER values in user edit forms
2007-01-27 19:56:08 +00:00
skodak ed5dd29fc8 moved obsoleted functions from weblib.php to deprecatedlib.php 2007-01-20 13:32:15 +00:00
skodak 0f13ec8f9b MDL-8105 some more icon class fixes including new .iconhelp for help and docs icon 2007-01-08 20:30:38 +00:00
skodak 60af27037b MDL-7861 xhtml transient fixes for not closed input fields - I hope all of them except imported libs are now fixed 2007-01-08 19:34:16 +00:00
skodak 0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
skodak d2ce367fb9 MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera) 2007-01-06 19:22:58 +00:00
Martin Langhoff f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
skodak 32f0b38a4a MDL-8049 Remove all language=Javascript from javascript includes 2007-01-03 19:33:44 +00:00
moodler f4ba7e1a54 Bend over for XHTML 1.0 Strict ... MDL-8049
Removed Javascript language attribute tags and added CDATA
2007-01-03 14:44:17 +00:00
moodler 5f60ed9b6a Added CDATA to Javascript 2006-12-22 04:25:00 +00:00
toyomoyo 3f5abcb20a accessibility fixes 2006-12-14 07:48:40 +00:00
vyshane 6d1f553bad Added language drop down to tag text as different languages for screen readers and to tag text as different languages for the multilang filter. MDL-7437. 2006-12-08 04:44:24 +00:00
jamiesensei 0befbdfd8f petr's patch to fix problem with htmlarea breaking clientside validation. Also using id's with same naming convention as formslib for htmlareas. 2006-12-05 13:21:40 +00:00
vyshane c45152e346 Editor keyboard shortcuts. MDL-7466. 2006-11-30 08:33:29 +00:00
vyshane 195cc7072d New help button for keyboard shortcuts. 2006-11-30 08:31:43 +00:00
skodak a2d9dff8fc MDL-7434 all images that convey information should have alt text to convey that information - part 4 2006-11-26 16:53:32 +00:00
skodak e3bc106621 remove use of get_String("thischarset") replace it with utf-8 MDL-7570 2006-11-15 20:39:26 +00:00