Commit Graph

44 Commits

Author SHA1 Message Date
martinlanghoff
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
stronk7
6b0caaee81 Now module confguration (records from config) is deleted
when a module is deleted. MDL-11056
2007-08-29 15:14:18 +00:00
skodak
d46306de6a MDL-9848 eventslib improvements and cleanup 2007-05-22 10:26:29 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
stronk7
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
stronk7
6b99bd0df5 Adding some table classes to align all them. MDL-8419 2007-02-21 20:17:58 +00:00
stronk7
38287e169c inline are now 100% out. Let's CSS handle them. MDL-8419 2007-02-21 17:57:21 +00:00
stronk7
e12d37df2b Setting the correct id for each table. MDL-8419 2007-02-21 17:27:26 +00:00
stronk7
778951f899 First cut of modules admin page re-styling. MDL-8419 2007-02-21 17:09:58 +00:00
thepurpleblob
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
thepurpleblob
616ad119ad MDL-8087
Modules and Blocks lists now link to course search page for
actual instances.
2007-02-21 11:42:48 +00:00
toyomoyo
60a9a6ea67 fix for some of the MDL-8425 issues 2007-02-07 07:34:53 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +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
skodak
fd98800ea2 another admin ui cleanup 2006-09-21 08:28:25 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
moodler
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
skodak
50999a0b94 new admin block fixes and reorganisation - I guess we need something more traditional for now 2006-09-03 13:10:56 +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
vinkmar
90a73bb361 Admin page cleanup (Google soc 2006) 2006-08-18 07:25:17 +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
tjhunt
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
vyshane
7eaf5045ce Fix for Bug #5441. 2006-05-08 03:56:26 +00:00
vyshane
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
gustav_delius
1e7b7003f2 Deal with modules that are missing their language strings 2006-04-23 15:20:26 +00:00
vyshane
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
skodak
636c2c08d9 parameter cleaup - round 3 2006-03-06 14:25:26 +00:00
gustav_delius
7f30d941bc Corrected the page comment 2006-02-17 17:28:47 +00:00
thepurpleblob
993ef10da7 require_variable() and optional_variable() replaced with required_param() &
optional_param. Other tweaks to suit.
2005-06-15 12:31:09 +00:00
moodler
33aa00b4c7 Removed some stupid paragraphs 2005-02-08 08:14:53 +00:00
moodler
3c02d134da Removed $THEME from admin pages 2005-01-25 17:08:05 +00:00
stronk7
4e27a2b92e Changed some sesskey behaviours SC#73 (admin part) 2005-01-22 19:53:28 +00:00
stronk7
5ba7f1b70b admin/modules.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 15:09:31 +00:00
stronk7
ebfff4e014 admin/module.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 09:48:08 +00:00
gustav_delius
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
gustav_delius
0cdd138180 some fixes for XHTML compliance 2004-09-12 00:21:21 +00:00
moodler
854f7dcec5 Merged require_logins from stable 2004-07-08 01:19:32 +00:00
moodler
9bf45e0036 Add a count of the number of activites using a particular module 2004-03-13 10:40:01 +00:00
moodler
1e16942739 Show version number to aid in debugging 2003-11-03 03:22:52 +00:00
moodler
bda11d2acd Code to enable config.html files in the modules. 2003-08-18 17:21:53 +00:00
moodler
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
moodler
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
moodler
a205123f06 Fixed page title 2003-05-29 03:02:10 +00:00
moodler
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