Commit Graph

254 Commits

Author SHA1 Message Date
jerome f64afbb455 htmlarea MDL-15800 add ; at the end of line <? echo ... ; ?> 2009-08-27 03:21:33 +00:00
jonathanharker b5ebbaa5bf MDL-12561: Regression fix: banish insecure items warning in IE7 in HTTPS sites.
blank.html now loaded with a https: URL in sites/pages using SSL.


Author: Jonathan Harker <jonathan@catalyst.net.nz>
2009-06-09 04:58:38 +00:00
jonathanharker 369c4ab13d MDL-12561 Fix IE6 "insecure items" warning in SSL sites using htmlarea
The HTMLArea editor uses the about:blank URL for blank pages, which
IE6 erroneously considers insecure. This commit replaces about:blank
with lib/editor/htmlarea/blank.html instead.


Author: Jonathan Harker <jonathan@catalyst.net.nz>
2009-05-21 02:28:33 +00:00
skodak bfe5f847b4 MDL-18492 it is not possible to do anything with moddata directory anymore - this is too dangerous for many people ;-) 2009-05-08 08:52:42 +00:00
dongsheng 7fbdd28395 "MDL-3729, use forces language for htmleditor" 2009-05-07 05:30:10 +00:00
skodak 52b6dd1533 MDL-17368 removing unused html area spell checker - we have our own implementation 2008-12-08 00:11:14 +00:00
dongsheng e753201ea8 HTMLAREA/MDL-17448
fix flaw in logic, yui event module shouldn't be loaded in IE. Credit go to Kris Thornley, thanks.
2008-12-05 00:57:21 +00:00
dongsheng 39dc0663e2 "htmlarea/MDL-17448, fix enlarging htmlarea, thanks chris fryer" 2008-12-04 08:22:20 +00:00
scyrma 4c87067821 MDL-14279: Fixes for regressions created by the get_file_url massive change 2008-07-11 02:28:31 +00:00
scyrma 4770b4b6b3 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually 2008-07-10 09:48:43 +00:00
scyrma 0e27230f3b MDL-14999 & MDL-10657: Fix for a few problems in HTMLArea. (Patch by Nicklas Lindgren) 2008-07-10 04:11:34 +00:00
scyrma 303e816601 MDL-8592: Get spellchecking to work over https 2008-05-02 03:31:49 +00:00
dongsheng dbb82a47ca MDL-14128, remove all uses of error(get_string()) 2008-04-02 06:09:56 +00:00
scyrma b893b91a47 MDL-12726 - Making the htmlarea width default to 598 if it's null, don't touch it otherwise 2008-02-28 08:13:08 +00:00
scyrma dec87682bf 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 2008-02-28 03:11:37 +00:00
poltawski c5e1dedb3c MDL-12825 - add some extra height to popups in IE7, otherwise they cant
be used
2008-01-03 22:40:12 +00:00
martinlanghoff b21ca22e1f 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:24:40 +00:00
martinlanghoff ce97dd9102 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:09:37 +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