Commit Graph

1666 Commits

Author SHA1 Message Date
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
moodler 25e5dbf9e7 Merged tabindex forchoose_from_menu from stable 2005-11-03 05:12:12 +00:00
skodak e7a4715302 fixed caching + cleanup in format_text() SC#172; merged from MOODLE_15_STABLE 2005-10-29 21:32:09 +00:00
mjollnir_ 527883218c Participants block shouldn't be shown for my moodle; guests don't want my moodle redirect, fixing page title in edit block instance in my moodle 2005-10-28 04:11:17 +00:00
skodak 67afdb1121 quick fix for the problems with p() and s() - SC#167; merged from MOODLE_15_STABLE 2005-10-13 20:12:23 +00:00
thepurpleblob da7a785be5 Fix for bug #4120. Replaced missing assignment. On behalf of Dave Scotson. 2005-09-27 10:33:29 +00:00
gustav_delius 5c3706b27d When teacher has "student view" on then the login string changes to ""Your are logged in as name in student view (Logout)", note the new 'in student view'. Discussed in bug 4113 2005-09-26 10:00:14 +00:00
stronk7 df8d3e66f4 Now both p() and s() respect html entities.
(and some unmerged silent headers)

Merged from MOODLE_15_STABLE
2005-09-10 11:07:09 +00:00
mjollnir_ 861efb1937 Allow moving courses and editing courses and stuff from the course results search page (now has turn editing on button) 2005-09-01 04:48:22 +00:00
mjollnir_ f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
moodler ca9388440a Merged bugfix 3958 into head from stable 2005-08-30 09:36:14 +00:00
mjollnir_ 62e4c0959b New config setting for /my redirect and breadcrumb replacement rather than always doing it 2005-08-29 02:34:17 +00:00
mjollnir_ f19570d0ec Initial checkin of new feature to select users from participants page for a recipient list for sending an IM to. Please test. 2005-08-22 05:44:13 +00:00
mjollnir_ 0d6b9d4f4d MyMoodle: new /my/ page, contains course overview (module based, forum done). User defined blocks on /my/ page, admin defined stickyblocks. Needs lots of testing. Held off bumping version.php for blocks because of the postgres upgrade fixes Patrick is putting in. 2005-08-16 00:25:39 +00:00
thepurpleblob 367b841305 Added 'studentview' button functionality. 2005-08-15 12:53:57 +00:00
urs_hunkler 145d63422b removed the hard coded color for .errorbox and .errorboxcontent. see bug 3522 2005-08-09 09:25:20 +00:00
bawjaws 113a79e2b3 rolling back some functionality changes I made to user image routine, but
keeping the clean up of code that makes it clearer what's happening.
2005-07-22 14:10:07 +00:00
stronk7 f78b1dadae Some minor changes in print_header() and page_id_and_class()
to dinamically support HTTPSPAGEREQUIRED pages.

Merged from MOODLE_15_STABLE
2005-07-14 22:29:41 +00:00
skodak f150292f82 fixed ';;' merged from MOODLE_15_STABLE 2005-07-09 09:04:50 +00:00
skodak 63e554d0f3 fixed s() p() for values false, number 0, and string '0'; '' from s() caused troubles in PostgreSQL; merged from MOODLE_15_STABLE 2005-07-09 07:20:52 +00:00
urs_hunkler b5522c9250 added class for userpic for better formatting via CSS in 2 additional lines. Same changes as in 15_STABLE. Merging produced wired version numbers??? So I added the changes here too. 2005-07-06 07:04:40 +00:00
skodak ab25ce31cf added validation for themename - see SC #101; merged from MOODLE_15_STABLE 2005-07-05 07:51:11 +00:00
skodak 95bfd2078b merged from MOODLE_15_STABLE 2005-07-04 20:23:53 +00:00
gustav_delius fe88b99237 selected tab should not automatically become inactive. 2005-07-01 19:03:42 +00:00
defacer 20cbef6390 Merging from STABLE:
Improving Eloy's radio- and checkbox- generating functions to automagically
use <label>s with unique ids for improved usability. See discussion at
http://moodle.org/mod/forum/discuss.php?d=26139
2005-07-01 03:57:03 +00:00
stronk7 62af9bf9bb SC#126.
Merged from MOODLE_15_STABLE
2005-06-29 16:17:11 +00:00
stronk7 2481037f64 Added a function to print a standard html checkbox
Merged from MOODLE_15_STABLE
2005-06-28 16:55:01 +00:00
bawjaws 57e31b6b06 adding CSS class to default user picture so that it can be styled at the
same time as user uploaded images
2005-06-27 12:14:24 +00:00
stronk7 1c58f4402c Solved a problem where the '1' string was being cached to ''
because we concatenate true and it's evaluated like 1.
Bug 3623.
(http://moodle.org/bugs/bug.php?op=show&bugid=3623)
2005-06-27 00:24:04 +00:00
stronk7 531a3cb2a9 Added the choose_from_radio() function to
display groups of radiobuttons in a central way.
Part of bug 1430.
(http://moodle.org/bugs/bug.php?op=show&bugid=1430)

Merged from MOODLE_15_STABLE
2005-06-27 00:17:39 +00:00
stronk7 5982740d30 Now $CFG->allowobjectembed is working properly. Admins
will ignore this setting. Bug 3608.
(http://moodle.org/bugs/bug.php?op=show&bugid=3608)

Merged from MOODLE_15_STABLE
2005-06-25 15:42:44 +00:00
moodler d046ae55ad Merged $CFG->allowobjectembed from stable 2005-06-05 05:40:24 +00:00
moodler f941df22a0 Added mms as a protocol 2005-05-28 13:28:20 +00:00
moodler 255804071d Custom pix work again .... bug 3319 2005-05-22 15:34:07 +00:00
dhawes f4065b8c41 New argument added to the print_paging_bar() function of weblib. A new argument was added. You can now specify a var name other than 'page' as the variable to be attached to your baseurl. This function's phpdoc comments were updated. 2005-05-22 00:50:37 +00:00