238 Commits

Author SHA1 Message Date
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
moodler
4ff95223ad Merged changes for lang string fixes MDL-7263 2006-11-05 12:59:09 +00:00
moodler
397ebf4ef4 Merged MDL-7266 from stable. Thanks, Dan! 2006-11-05 12:27:12 +00:00
skodak
72f9446056 select_color.php popup should specify charset MDL-7193; patch by Hiroto Kagotani; merged from MOODLE_17_STABLE 2006-10-24 21:39:43 +00:00
skodak
6a57abf8f7 error message when adding a link in editor MDL-7180 ; merged from MOODLE_17_STABLE 2006-10-23 18:31:08 +00:00
moodler
f1e4c519df Fixed some words 2006-10-14 07:29:34 +00:00
skodak
1d4d2cebe0 left-hand pane on image upload screen is missing MDL-6759 2006-10-01 16:38:26 +00:00
toyomoyo
dc5586907d replacing deprecated calls and references to capability calls 2006-09-20 09:00:04 +00:00
toyomoyo
9c37662f22 replacing deprecated funciton calls with capability calls 2006-09-19 09:16:24 +00:00
vyshane
15dabc3074 Merge from 1.6 stable. Small fixes to make xhtml validate. 2006-09-15 09:38:46 +00:00
toyomoyo
17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +00:00
skodak
563e64e3de Bug #6106 - HTML editor inserting unwanted hard return between images; merged from MOODLE_16_STABLE 2006-08-09 09:37:01 +00:00
julmis
5113b779f6 First attempt to indentify special tags and nicely formatted output 2006-07-31 01:45:22 +00:00
julmis
bb9cd4503a Merging from stable 2006-07-30 23:24:43 +00:00
martinlanghoff
330b0bb2ad wiki: fix for IE6 bug with HTMLArea, where the text area is not drawn
IE6 measures a page element and - sometimes - it does this before the
element is drawn, so the dimensions it finds are zero. This update sets
sensible minimum for the width.

Author: Donal McMullan <donal@catalyst.net.nz>
2006-07-06 05:38:53 +00:00
julmis
63183a0932 Commenting out ob_gzhandler
Merging from stable
2006-06-23 19:53:26 +00:00
skodak
75d9b88f3d merged another try to fix IR from MOODEL_16_STABLE 2006-06-02 17:00:22 +00:00