574 Commits

Author SHA1 Message Date
skodak
f8a5159a2b changes needed for new s() and p() - see bug #2338 2006-04-14 08:02:32 +00:00
skodak
e8d1c9ed2b stripslashes_safe() improvement - now works also for arrays and objects see bug #2338 2006-04-13 21:27:01 +00:00
moodler
87fa2e3f8a Fixes to make print_error more useful, suggested by Sam
It can now take a module argument, and can support different link locations
2006-04-13 05:42:47 +00:00
stronk7
d4a42ff494 New optional parameter to s() and p() allowing to specify
if we want to strip slashes (data coming from forms) or no
(data coming from DB, the default). Bug 2338.
(http://moodle.org/bugs/bug.php?op=show&bugid=2338)
2006-04-12 17:39:23 +00:00
skodak
f27d105cc6 final fix for category and courses edit button 2006-04-12 16:28:11 +00:00
moodler
dd899b917d Fixed up print_error according to original plan
see also http://moodle.org/mod/forum/discuss.php?d=43712
2006-04-12 09:32:19 +00:00
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
moodler
e575c0597d Added a notify in debugging mode for a double print_header() 2006-04-10 16:00:34 +00:00
moodler
32613b509f Added a little static variable to print_header to prevent it being called twice 2006-04-10 14:40:39 +00:00
moodler
b525bd2009 Better fix for bug 5082. Noticeboxes are now:
#notice.generalbox
2006-04-10 08:32:27 +00:00
moodler
21e2acab15 Added generalbox to noticebox on notices - bug 5082 2006-04-10 08:27:53 +00:00
moodler
30c9e6947d Reverting changes to print_simple_box for now until the new div can be
rolled out without problems.  See bug 4943
2006-04-10 01:39:38 +00:00
nfreear
a2e2bf643a Fix MB 5099, "Make CSS requests expire in IE", fix 'max-age=' as per http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html, override $lastmodified parameter (OU-Bugz: 851) 2006-04-07 10:18:03 +00:00
nfreear
408b65dd44 Fix 2, bug 4943: "print_simple_box behaviour changed". Centred is now default alignment; for centred no-width specified, width=30em. 2006-04-06 17:21:04 +00:00
moodler
d2fa35a80d FIxed a typo from long time ago in popup windows from logs 2006-04-05 02:45:13 +00:00
moodler
02024106fa more years in the list 2006-03-30 03:55:24 +00:00
moodler
a05653a0b2 Improvements to print_date_selector, print_time_selector etc to allow them
to be returned as strings
2006-03-27 03:42:44 +00:00
stronk7
6385df35bc Fixed typo. 2006-03-25 23:43:14 +00:00
nfreear
6575bfd4d1 Accessibility: fix bug 4963 in function, print_header. Added 'lang' attribute to $direction, used by standard and other themes. 2006-03-22 17:48:53 +00:00
nfreear
8ceb3e67d5 Part fix, bug 4943: print_simple_box behaviour changed. Now aligns box, and shrinks to fit for left/right-alignment. 2006-03-21 16:29:50 +00:00
moodler
5889c1bb64 Small fix for admin menu layout and also print_table 2006-03-20 15:33:18 +00:00
moodler
a9743837bf SLightly more efficiency to help keep the cached_text table smaller see bug 4677 2006-03-20 02:33:41 +00:00
nfreear
5288e4a5ff Accessibility: tidied, removed commented code functions, print_simple_box_start, _end (followup to OU-Bugz: 737) 2006-03-17 12:27:18 +00:00
nfreear
eab1f9aebd Accessibility: do NOT change, fixed call to trim in function, helpbutton (OU-Bugz: 752) 2006-03-16 11:13:21 +00:00
nfreear
97f76a1aa3 weblib.php: replaced <table> in print_simple_box_start _end with <div>s (OU-Bugz: 737) 2006-03-16 11:03:02 +00:00
toyomoyo
ae8a5ff023 added blog link to print_user 2006-03-16 08:16:08 +00:00
vyshane
a0fd7c1df8 Updated print_textarea() 2006-03-16 03:56:19 +00:00
skodak
f89f924e03 fixed debug warning 2006-03-15 20:50:05 +00:00
moodler
e7fea10028 Don't use isteacher() 2006-03-15 10:05:19 +00:00
vyshane
540f964d92 Fixed undefined var notice 2006-03-15 08:40:56 +00:00
vyshane
80743e2a5b Fixed bug in use_html_editor() that prevented HTMLArea display if $name is not
provided.
2006-03-15 08:30:03 +00:00
vyshane
035d465cb6 Made added $return argument to print_textarea() function. 2006-03-15 05:38:02 +00:00
vyshane
5f9b13b860 Updated use_html_editor() and print_editor_config() 2006-03-15 03:12:28 +00:00
vyshane
3afc728f5c Changed use_html_editor and print_editor_config functions so that we have an
editor javascript object that we can use when we create the HTMLArea editor.
This object allows us to call e.g. editor.insertHtml().
2006-03-14 05:26:03 +00:00
skodak
4f01826a27 removed $SESSION->encoding now replaced by current_charset() and $CFG->unicodedb; 3rd party contribs must be fixed to be utf-8 and 1.6dev compatible anyway;
going to add a notice to wiki at http://docs.moodle.org/en/UTF-8_scripts
2006-03-13 22:26:06 +00:00
nfreear
40d34f9e3c Accessibility: fix, weblib.php: print_navigation, class="resize" (Martin D post 10/3, OU-Bugz: 726) 2006-03-13 14:46:05 +00:00
nfreear
531a574aff Accessibility: fix, use $CFG->pixpath, clearer image-names (Martin D post 10/3, OU-Bugz: 718) 2006-03-13 13:32:19 +00:00
nfreear
3034bd23ef Accessibility: fix, replace <i> with <span> (Martin D post 10/3, OU-Bugz: 717) 2006-03-10 16:46:19 +00:00
ikawhero
685cf3d6c4 More tidying up 2006-03-10 09:16:11 +00:00
ikawhero
9f69862640 Tidying up some accessibility changes 2006-03-10 08:57:22 +00:00
moodler
52af9a3544 Logs have moved 2006-03-09 09:47:53 +00:00
moodler
883fdc5241 Added newline 2006-03-09 08:45:45 +00:00
nfreear
9a477f9024 Accessibility: function print_navigation now uses <ul> list, replaced &raquo; with image, fixed print_side_block using $block_id. 2006-03-08 12:33:21 +00:00
vyshane
748e0925c2 Added attribute $linkedwhenselected to tabobject class. Basically defines
whether the tab should be linked even if it is selected.
2006-03-08 04:53:48 +00:00
nfreear
9aa4592e79 Accessibility: moved H2 from weblib.php: print_side_block_start, to moodleblock.class.php: _title_html (validate, <span>s revert to <div>); skip block link - replaced pixel image with 'accesshide' text. 2006-03-06 12:49:07 +00:00
julmis
c06c849221 Modifying print_textarea for new editorObject compatible. 2006-03-04 16:04:48 +00:00
skodak
01eb4f5f21 loginas.php parameter typo 2006-03-03 19:50:33 +00:00
nfreear
bef6cd5d81 Accessibility: weblib.php: function print_side_block, completed 'Skip block' link. 2006-03-03 11:48:02 +00:00
skodak
29939bea87 improved kses cleaning of html SC#204; merged from MOODLE_15_STABLE 2006-03-02 21:38:20 +00:00
nfreear
b34a009985 Accessibility: fixed $string['helpprefix'] for multi-languages; weblib.php, removed <img> width height - move to stylesheet, standard theme. 2006-03-01 11:01:16 +00:00