Commit Graph

50 Commits

Author SHA1 Message Date
8a0a6046a3 MDL-13085 delete grades and items when uninstalling module; merged from MOODLE_19_STABLE 2008-01-21 23:36:19 +00:00
0806f57068 MDL-13080 delete calendar events when uninstalling modules; merged from MOODLE_19_STABLE 2008-01-21 07:08:31 +00:00
dba21d4a19 Use the locale to sort the list of activites everywhere. This matches a change a made in one place before christmas. If you don't do this, the PHP sorts by ASCII order, so mixed case names, or special characters, get sorted wrongly. Merged from MOODLE_19_STABLE. 2008-01-07 16:46:35 +00:00
8293c75198 MDL-6786 Improved dropping of block and module tables during uninstall; merged from MOODLE_19_STABLE 2008-01-03 15:03:32 +00:00
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
6030279805 Adding the ability to perform custom uninstall tasks in modules. MDL-12520
Merged from MOODLE_19_STABLE
2007-12-11 23:39:32 +00:00
6b6eea5575 admin/modules: Avoid calling rebuild_course_cache()
rebuild_course_cache() over all courses is extremely expensive,
not suitable for interactive calling. Better to clear modinfo
and let course/view.php repopulate it as needed.

With this patch we clear out modinfo _only_ for courses affected
by the module we show/hide/delete.
2007-09-12 02:56:50 +00:00
6b0caaee81 Now module confguration (records from config) is deleted
when a module is deleted. MDL-11056
2007-08-29 15:14:18 +00:00
d46306de6a MDL-9848 eventslib improvements and cleanup 2007-05-22 10:26:29 +00:00
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
90ea86e9f8 "flexible" is now out from set_attribute() because
flexible tables are adding it automatically.
Point 3.3 of MDL-8419

Merged from MOODLE_18_STABLE
2007-02-22 18:48:38 +00:00
6b99bd0df5 Adding some table classes to align all them. MDL-8419 2007-02-21 20:17:58 +00:00
38287e169c inline are now 100% out. Let's CSS handle them. MDL-8419 2007-02-21 17:57:21 +00:00
e12d37df2b Setting the correct id for each table. MDL-8419 2007-02-21 17:27:26 +00:00
778951f899 First cut of modules admin page re-styling. MDL-8419 2007-02-21 17:09:58 +00:00
bd6648ea93 MDL-8602
Don't count modules where course=0 (ie, they must exist in real courses)
2007-02-21 14:55:32 +00:00
616ad119ad MDL-8087
Modules and Blocks lists now link to course search page for
actual instances.
2007-02-21 11:42:48 +00:00
60a9a6ea67 fix for some of the MDL-8425 issues 2007-02-07 07:34:53 +00:00
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
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
fd98800ea2 another admin ui cleanup 2006-09-21 08:28:25 +00:00
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
bee4702d10 Various tidying up of the admin pages.
Reports now don't need mod.php but they should include the admin headers/footers.

There are undoubtedly bugs in this but this framework should be more sane
2006-09-03 14:45:57 +00:00
50999a0b94 new admin block fixes and reorganisation - I guess we need something more traditional for now 2006-09-03 13:10:56 +00:00
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
90a73bb361 Admin page cleanup (Google soc 2006) 2006-08-18 07:25:17 +00:00
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
450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
7eaf5045ce Fix for Bug #5441. 2006-05-08 03:56:26 +00:00
137624c78d Fix for Bug #5022 - Hidden resource/activity modules still show up in jump
menu. Forced course catch rebuild if a module is hidden or shown.
2006-04-27 03:31:10 +00:00
1e7b7003f2 Deal with modules that are missing their language strings 2006-04-23 15:20:26 +00:00
7477f2505b Fix for Bug #5021 - Unhiding an entire Module unhides all it's child
resources, even in hidden sections
2006-04-11 08:30:10 +00:00
636c2c08d9 parameter cleaup - round 3 2006-03-06 14:25:26 +00:00
7f30d941bc Corrected the page comment 2006-02-17 17:28:47 +00:00
993ef10da7 require_variable() and optional_variable() replaced with required_param() &
optional_param. Other tweaks to suit.
2005-06-15 12:31:09 +00:00
33aa00b4c7 Removed some stupid paragraphs 2005-02-08 08:14:53 +00:00
3c02d134da Removed $THEME from admin pages 2005-01-25 17:08:05 +00:00
4e27a2b92e Changed some sesskey behaviours SC#73 (admin part) 2005-01-22 19:53:28 +00:00
5ba7f1b70b admin/modules.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 15:09:31 +00:00
ebfff4e014 admin/module.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 09:48:08 +00:00
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
0cdd138180 some fixes for XHTML compliance 2004-09-12 00:21:21 +00:00
854f7dcec5 Merged require_logins from stable 2004-07-08 01:19:32 +00:00
9bf45e0036 Add a count of the number of activites using a particular module 2004-03-13 10:40:01 +00:00
1e16942739 Show version number to aid in debugging 2003-11-03 03:22:52 +00:00
bda11d2acd Code to enable config.html files in the modules. 2003-08-18 17:21:53 +00:00
2f4d324bd7 Trying something different with the admin links ... even I was starting
to get a bit lost occasionally.
2003-08-18 16:40:27 +00:00
4e29914577 If modules have a config.php file in them then a link to this is
printed in the modules screen.

These config.php screens presumably allow the setting of site-wide
parameters for modules.

Thanks to Mad Alex. :-)
2003-07-24 12:09:32 +00:00
a205123f06 Fixed page title 2003-05-29 03:02:10 +00:00
5867bfb50e New feature to manage installed code modules!
You can now hide/show individual activity modules and even delete them completely!

For example, if you hide the "choice" module, then all choice activities
will be hidden throughout the whole site, and "Choice" will not
appear on any "Add..." menu.

Deleting a module is a complete deletion of all data from the database.

If you want to try out the deletion on a real module, I suggest the
pgassignment module, since it will soon be deleted from CVS anyway
(because it's being replaced with workshop).

Look for "Manage modules" on the admin menu.
2003-05-09 17:24:17 +00:00