Commit graph

650 commits

Author SHA1 Message Date
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
vyshane
3963147913 Added function page_doc_link in weblib.php. This function is used to print a
link to the moodle docs for the current page.

Added the default value (http://docs.moodle.org) for docroot config variable
in defaults.php.
2006-03-01 07:47:14 +00:00
moodler
4cd29f6c5a Take $CFG->pagepath into account for page_id_and_class so "weird" pages
can end up wth nice page classes and ids
2006-03-01 02:38:03 +00:00
nfreear
ece65914f9 Accessibility: lib/weblib.php: function helpbutton - added $string['helpprefix']. 2006-02-28 15:29:11 +00:00
nfreear
d455cd04e9 Accessibility: function _title_html, replaced <div> with H2, enclosed <div> to <span> - now validates! weblib.php: function side_block_start. 2006-02-28 13:13:52 +00:00
nfreear
b6f30b1818 Accessibility: functions changed, print_heading_block, print_side_block, print_side_block_start -- course .headingblock is now H2; .sideblock .header is now H2; .sideblock <table> is now <ul> (+ commented code for 'skip block link'). 2006-02-28 12:29:51 +00:00
skodak
9b9ae915d7 scales.php fixed page parameters and removed isset_param(); scale parameter now named scaleid when listing only 2006-02-12 19:43:17 +00:00
gustav_delius
e7cb8f3e7a Now one can set the title attribute for a tab separately from its text 2006-02-09 13:38:04 +00:00
moodler
a789577bf4 Fix Bug #4626 - weblib.php: $course object conversion error in &quot;print_footer &quot; function 2006-01-24 01:40:06 +00:00
mjollnir_
f332bd025c Added cast to string in choose_from_menu_nested as well as choose_from_menu 2006-01-16 21:50:57 +00:00
mjollnir_
bd905b4568 Backing out type checking in choose_from_menu and choose_from_menu nested. Perhaps will add casting to string on both sides later 2006-01-16 09:05:23 +00:00
moodler
e746e4dd99 added missing semicolon in &nbsp (bug#4592) 2006-01-16 04:29:41 +00:00
defacer
ce432524ee Changing the naming scheme for auto-generated HTML ids here; due to copy/paste
this might have resulted in non-unique ids in the same page.

REALLY small print issue... isn't it unbelievable what you might find when
digging into CVS for a completely unrelated reason? :-)
2006-01-15 02:32:04 +00:00
mjollnir_
1404079794 added useful function array_is_nested to moodlelib;
added choose_from_menu_nested which takes a nested array and prints
<optgroup> for first level of array and then <option> under that
2006-01-11 02:22:16 +00:00
mjollnir_
d0d272e758 A few changes to weblib - print_checkbox can now return and have script elements, choose_from_menu does type comparisons when testing for selected, added print_textfield function 2006-01-11 02:14:37 +00:00
moodler
d3f9f1f85d Moving some functions to setuplib.php so they are first 2006-01-05 07:08:10 +00:00
moodler
6aaa17c7cc Merging language-pack-related updates from Eloy's MOODLE_16_UTF8 branch.
Do not use that branch any more!!
2006-01-04 08:23:42 +00:00
toyomoyo
fd78420b78 patch for cookieless sessions 2005-12-05 02:24:45 +00:00
patrickslee
3468d58a1b New feature: Configureable visibility of fields in Participants page
A new configuration variable is avaliable to limit which fields normal user can see about other users. Teachers/admins can still see the full info.

This provides some degree of privacy for students.
2005-11-20 21:29:59 +00:00
moodler
2deebecdc5 Merged Petr's fixes for SC189 from STABLE 2005-11-17 06:45:40 +00:00
patrickslee
9a0f8502f5 Allow tutors to be added in bulk email list.
In addition, if any tutor in the list is not subscribed to the teacher forum they will be subscribed automatically.

Also show hidden tutors as well when a teacher is viewing the participants list.

And some small bug fixes
2005-11-17 03:37:30 +00:00
mjollnir_
4907efae2b Merged from MOODLE_15_STABLE: Another fix to the perf printing patch from earlier. I didn't realise that 'no' in the context of perf means 7 ;) 2005-11-16 02:12:12 +00:00
mjollnir_
d1f1e3f899 Merged from MOODLE_15_STABLE: perf configvar & footer 2005-11-15 21:34:53 +00:00
skodak
ad489e94c3 fixed login block at http://site/index.php when secure forms on - bug #4305; merged from MOODLE_15_STABLE 2005-11-10 21:41:10 +00:00
moodler
fa22fd5fff BIG FEATURE - MULTIPLE GROUPS
Users can now be assigned to multiple groups.  Thanks Yu!
Break out the Bob Marley!!

Otherwise groups work more or less like they did before.

This has been pretty well tested by Yu and myself, but since Yu started
uncovering lots of existing groups bugs it's possible there may be still
a few corner cases still lurking here and there.

Please help test this thoroughly for 1.6!!
2005-11-08 07:19:27 +00:00