Commit Graph

153 Commits

Author SHA1 Message Date
Petr Skoda fbaea88faa MDL-24321 switching to stdClass in /c*/ 2010-09-21 08:13:11 +00:00
Martin Dougiamas 9645a4843a MDL-16203 Updated the mod_created, mod_updated and mod_deleted events to be more generic and easier to handle 2010-07-08 02:27:58 +00:00
Rossiani Wijaya b36781d7a6 MDL-20447 - bulk upload: add heading to the page and fix navbar content. 2010-05-28 09:19:22 +00:00
Dan Marsden 75ba5fe41a Events MDL-16203 fire events when a module is added/updated/deleted 2010-03-22 02:56:45 +00:00
Petr Skoda a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda dc6896efe0 MDL-21198 used new simple_button class when doing OUTPUT->confirm() - more consistent and hopefully easier to remember than html_form::make_button() ;-) 2010-01-03 20:47:13 +00:00
Petr Skoda aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
samhemelryk 7f09335135 output MDL-19799 Fixed up some set_url calls as well as fixing some regressions caused by recent upgrades 2009-10-21 04:23:35 +00:00
mudrd8mz 5ac27e270b NOBUG: Fixed moodle_url issue in module removing confirmation
Plain 'mod.php' does not seem to be supported at the moment as a valid $url for the Confirm button
2009-10-01 14:23:48 +00:00
samhemelryk d9cb06dc0e course MDL-19794 Replaced deprecated functions, added set_url calls and boilerplates 2009-09-25 05:24:13 +00:00
samhemelryk 3856ca5605 course MDL-19794 Updated print_header_simple and build_navigation to OUTPUT and PAGE equivalents 2009-09-08 01:33:56 +00:00
nicolasconnault b453120768 MDL-19794 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:40:19 +00:00
nicolasconnault e6db30260f MDL-19794 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:58:26 +00:00
nicolasconnault d60c112435 MDL-19794 Converted all print_footer() calls 2009-08-06 14:10:33 +00:00
tjhunt d529807a65 moodle_page: MDL-12212 kill $CFG->pagepath (use $PAGE->set_pagetype)
deprecate $PAGE->get_format_name (use $PAGE->pagetype)
deprecate page_id_and_class (use $PAGE->pagetype)
2009-05-06 08:38:55 +00:00
skodak 90ee78e21c MDL-18293 removing unused error strings (now replaced by exceptions) 2009-02-17 16:33:32 +00:00
sam_marshall 82bd6a5ea9 MDL-15499: Conditional availability of activities 2008-12-17 16:37:35 +00:00
skodak 3ba7053455 MDL-16226 coding style improvements, added deleting of module files, improved validation of params 2008-08-27 15:11:20 +00:00
dongsheng 535a6fa0b5 "MDL-14129, fix print_error" 2008-06-15 11:34:42 +00:00
skodak 681cf96530 MDL-14679 cleaned up mod.php 2008-06-01 20:15:50 +00:00
skodak caa65d9b59 MDL-14679 cleaned up mod.php 2008-06-01 20:15:50 +00:00
skodak 579d45b434 MDL-14679 converted some get courses 2008-06-01 18:12:24 +00:00
dongsheng ba6018a902 "MDL-14129, fix print_error call under course/, see tracker" 2008-05-07 06:02:51 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
garethmorgan 693838d37c Populating $overridableroles and $assignableroles to make the roles tabs accessible. MDL-13803. 2008-03-10 19:05:12 +00:00
poltawski 8cc2a92f04 MDL-3776 fix typo, merged from MOODLE_19_STABLE 2007-12-26 21:42:04 +00:00
mattc-catalyst 263017bbdd MDL-10888: groupings - mod/workshop - add grouping support 2007-09-06 01:35:37 +00:00
Martin Langhoff 13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
nicolasconnault 0be6f67819 MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
mattc-catalyst 01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst 3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
mattc-catalyst 70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst e1d2eb00e2 Breadcrumbs: course admin changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 22:02:22 +00:00
toyomoyo 217a8ee950 made some changes so that if a user has any roles assigned in context_module or context_block with moodle/site:manageblocks or moodle/course:manageactivities, he will see the "turn editting on" button without needing to have a role assigned at context_course with moodle/course:manageactivies capability. Of course this user would not be able to edit any blocks or modules he/she is not supposed to edit. Ajax for these users with partial editing privilages are locked. Please report bugs asap as we are looking at backporting this change to 1.8. Cheers. 2007-02-16 07:57:19 +00:00
vyshane 211480c3db Merged from 1.7. 2007-02-07 07:09:31 +00:00
skodak 436cfa9fb3 MDL-6987 assignment mod conversion to new forms lib 2007-01-10 13:38:04 +00:00
toyomoyo 82056f6735 MDL-7861 xhtml strict fixes for wiki 2007-01-10 03:07:24 +00:00
skodak 0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
vyshane 50226569da Removed align attribute. Related to MDL-7861. 2007-01-08 00:41:53 +00:00
sam_marshall ae628043a0 MDL-7401 Course format database/backup/lang/stylesheet/capability support 2006-12-11 15:47:23 +00:00
jamiesensei 0b82f5b913 fix for error in logic about where to redirect to after a cancel or after activity mod is successfully added or update. 2006-12-05 13:23:18 +00:00
jamiesensei 19110c573d added new 'cancel' element type and introduced new is_cancelled() MoodleQuickForm method.
also used new cancel button in all mod_forms as well as a 'Revert' button and reworked logic about where to go on cancel or after submission for modedit.php
2006-12-04 09:36:30 +00:00
jamiesensei 264867fdeb add code to redirect to modedit.php from course/mod.php for activities adding / updating using new formslib
migrated chat/mod.html to formslib definition of form is in chat/mod_form.php
2006-11-09 18:25:58 +00:00
thepurpleblob 07705e2fa6 put the cursor in the edit box rather than doing nothing for label 2006-10-18 13:03:50 +00:00
toyomoyo c5846d4627 merged fixed wrong capaiblity checks 2006-10-11 03:48:09 +00:00
skodak 7208c579fd fixed missing required_login($courseid) that needs to be done to set up proper global $COURSE; MDL-6697 course/mod.php does not show the right navigation 2006-09-30 20:46:31 +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
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