Commit Graph

109 Commits

Author SHA1 Message Date
nicolasconnault 1ffd2c0ac6 MDL-11608 Removed stripslashes_safe($rename) and changed PARAM_RAW to PARAM_TEXT for rename param 2007-10-10 04:59:52 +00:00
nicolasconnault 2bb9c62bf8 MDL_11608 The $rename param was obtained with PARAM_NOTAG, I changed that to PARAM_RAW. I also changed the rename field's value to htmlspecialchars($category->name) 2007-10-09 14:13:21 +00:00
moodler 73083f1705 Robustness - avoid possible divide by zero problem MDL-7425 2007-08-30 05:59:31 +00:00
thepurpleblob 18e1b648b9 MDL-10604:
Add ability to add sub categories directly from category screens.
2007-07-25 13:55:13 +00:00
urs_hunkler 8e797520d7 deleted commented old line. 2007-07-25 11:17:23 +00:00
urs_hunkler b552ea3586 changed old getElementById(id).submit() to the new submitFormById(id) call. 2007-07-25 11:16:17 +00:00
andreabix 09eb1ec39c Fixed Task MDL-9611 2007-05-02 17:29:30 +12:00
moodler d74e64100c MOre XHTML strict for course category page MDL-9589 2007-04-26 08:48:07 +00:00
toyomoyo b43c3213ab some more MDL-9273 related fixes 2007-04-13 05:39:12 +00:00
nicolasconnault fdaeef002a MDL-9273 Applied suggested fix 2007-04-13 01:59:24 +00:00
nicolasconnault 3cba887fca Fixed a typo introduced by Tim Hunt in revision 1.85.2.11. No hard feelings :-) 2007-04-13 01:24:31 +00:00
moodler 64622defdd Committing fix for MDL-9101 from Jeff Graham 2007-03-29 03:27:52 +00:00
toyomoyo 1eca074507 fix for MDL-8885, teachers should not be able to set course to hidden if they can not view hidden courses 2007-03-14 04:29:42 +00:00
poltawski 59900bd490 Duplicate alt tags in course category page MDL-8711 2007-03-01 14:47:09 +00:00
nicolasconnault 7c08ef3653 Fixed MDL-8582
Not sure if the hotpot module is converting ampersands correctly. $heading and $title are set up differently than in other modules: instead of outputting $course->title, a temporary $title variable is created and assigned that value. That made it difficult for me to decide whether it was already formatted elsewhere or not.

Also I didn't format_string() any of the variables included in $navigation rings, because I assume these strings get processed by print_navigation(), which includes format_string().
2007-02-28 05:36:13 +00:00
vyshane ae21a6519b Merged from 1.7. 2007-02-16 08:43:10 +00:00
toyomoyo 6463b3dea7 adding a div to help with css 2007-02-14 05:45:36 +00:00
toyomoyo 35d0244a37 taking out deprecated width in print_courses and print_course 2007-02-14 04:56:26 +00:00
toyomoyo fbe31d22d1 xhtml validation fixes for MDL-8425 2007-02-06 08:24:37 +00:00
skodak 0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
moodler fcf9577a28 Sundry fixes related to course categpry page for XHTRML strict MDL-7861 2007-01-05 14:13:26 +00:00
skodak b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
toyomoyo 8fc21fc00f MDL-7861, adding missing tag 2006-12-19 06:16:17 +00:00
toyomoyo 54926e7818 various accessbility fixes 2006-12-13 03:03:43 +00:00
skodak 344044b28e MDL-7434 all images that convey information should have alt text to convey that information - part 1 2006-11-24 20:16:37 +00:00
toyomoyo 4827a1d19f merged fix for MDL-7540, wrong usage of context levels 2006-11-21 03:26:31 +00:00
toyomoyo 555b75f424 merged category page cleaning - MDL-7409 2006-11-09 06:22:10 +00:00
toyomoyo f86b0db993 merged fix for MDL-7115, teacher page replaced by generic role assign page 2006-10-20 05:49:05 +00:00
toyomoyo de51fa5657 merged fix for MDL-7107, missing capability check for assignroles link 2006-10-20 03:16:07 +00:00
moodler 7dfa686dbd Added button to turn editing off again ... ugly but ... 2006-10-04 04:49:44 +00:00
moodler 0baf9f0f23 Fixed roles link a bit 2006-10-04 04:40:55 +00:00
moodler 4610e45b11 FIxed for duplicate icons MDL-6811 2006-10-04 04:37:40 +00:00
skodak 6859360cd4 coverted /admin/ to proper /$CFG->admin/ in paths 2006-09-26 21:10:14 +00:00
skodak 6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
toyomoyo dc5586907d replacing deprecated calls and references to capability calls 2006-09-20 09:00:04 +00:00
toyomoyo 17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +00:00
toyomoyo ae9e4c064e replacing iscreator() calls with capabilty 2006-09-12 08:56:10 +00:00
toyomoyo 51792df056 adding capabilities 2006-09-08 08:46:26 +00:00
moodler 2244c22d72 Use the new config variable as a default for paging 2006-09-05 06:11:48 +00:00
skodak 6e4dc10f54 deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes 2006-09-02 13:14:57 +00:00
vyshane 1be4d00d56 Previous committer missed one rename from $edit to $categoryedit. Fixed. 2006-08-25 04:06:41 +00:00
vinkmar 7ff99cb64f admin page cleanup (google soc 2006)... updated to use new pagelib 2006-08-18 07:27:05 +00:00
moodler 0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
moodler bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
nfreear 134759fc36 Ongoing fix, bug 5614 - added ALT text for link icons, based on TITLE. Merged from stable branch. 2006-05-25 16:00:26 +00:00
skodak de9924ae0a parameter cleaup - round 8; short php tag in group-edit.html 2006-03-07 19:36:13 +00:00
skodak c851eb9411 fixed paging related bug #2715, based on patch submitted by samulik; merged from MOODLE_15_STABLE 2005-11-10 22:08:35 +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
thepurpleblob 7168423c82 Replaced require_variable(), optional_variable() with approproate
required_param(), optional_param() etc.
2005-06-14 09:21:09 +00:00
defacer 208fc3a5f0 Initialize object with new stdClass. 2005-04-26 02:06:38 +00:00