45 Commits

Author SHA1 Message Date
skodak
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
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
sam_marshall
f73a36c0df MDL-12030 Incorrect double quotes in sql 2007-11-05 17:57:26 +00:00
toyomoyo
ab95195566 MDL-11836, show number of blocks but do not link if no reference to any course 2007-10-26 03:25:39 +00:00
toyomoyo
deb2988f39 MDL-11167, admin blocks page should not show blocks not placed on course pages 2007-10-19 07:54:30 +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
cc1ffd0147 Deleting inline styles from the "incompatible" table. MDL-8419 2007-02-21 23:16:23 +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
62f60a45ce First cut of blocks admin page re-styling. MDL-8419 2007-02-21 16:52: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
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
stronk7
cc0bf61676 Now blocks deletion looks both for tables without and with the
"block_" part in table names.
This is an interim situation until "block_" will be required. See:
http://docs.moodle.org/en/Development:Coding#Database_structures
http://tracker.moodle.org/browse/MDL-6786

Also, it's the FIRST use of XMLDB DDL functions inside Moodle! B-)
2006-10-02 23:06:36 +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
koenr
f2137ac2a5 fixed MDL-6551 2006-09-19 22:14:57 +00:00
moodler
b5839add55 Passing cleanup 2006-09-15 09:04:23 +00:00
skodak
e9a207595c allow deleting of block when original code not present 2006-09-03 17:46:27 +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
skodak
592c30370c Bug #6184 - unexpected T_OBJECT_OPERATOR on Admin/blocks; PHP 4.x compatibility 2006-07-29 09:08:56 +00:00
skodak
ad0f9c828e Bug #6136 - Hard coded admin paths; merged from MOODLE_16_STABLE 2006-07-19 08:13:25 +00:00
sam_marshall
44c55d4662 Added hooks so that blocks can create functions that are run when they are installed and uninstalled. The base implementation does nothing. 2006-07-14 11:17:46 +00:00
skodak
1c47adc540 parameter cleaup - round 1 2006-03-06 10:02:59 +00:00
defacer
061d8339a6 Merging from STABLE. 2005-05-28 18:37:47 +00:00
defacer
521729041a The admin blocks page now doesn't crash when encountering an incompatible block;
instead, it shows a notice.
2005-04-30 03:22:59 +00:00
moodler
3c5206598d FIxed some formatting 2005-02-08 14:49:57 +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
defacer
9b4b78fd6a Da monster-commit of blocks version 2!
Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!

Please test the hell out of it as it's sure to have issues that need to be
ironed out.
2004-10-19 21:04:28 +00:00
stronk7
16567e7ef9 admin/blocks.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-02 23:34:09 +00:00
stronk7
c1b70c8edc admin/block.php is now using sesskey.
And bug where one object was used like an array.

Merged from MOODLE_14_STABLE
2004-10-02 23:15:51 +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
defacer
f184e8311f Improved error handling a bit. 2004-06-25 07:01:08 +00:00
defacer
a8ae6b3923 Removed the "hardcoded" method to find the block name, the correct is to ask
the block itself. It was causing errors for blocks with no lang file. Also,
removed some useless commented code.
2004-05-13 12:24:11 +00:00
stronk7
c3ff2d75c6 Added two strings about deleting blocks from admin interface... 2004-05-06 22:41:55 +00:00
defacer
c867774d76 Changed the way the fix for bug 1255 works, while making sure it still works :)
It just didn't feel right to intrusively set object properties from "outside",
and since it's now one variable assignment less, I thought why not... :)
2004-04-22 07:11:55 +00:00
stronk7
acf4fe1773 Solved one issue that caused the show/hide option to fail.
See bug 1255 (http://moodle.org/bugs/bug.php?op=show&bugid=1255)
2004-04-21 16:18:51 +00:00
stronk7
0f3fe4b6ad First Official realease of the "Blocks System".
Integrated with Moodle:
    - Install automatically.
    - Update course->blockinfo for each course at installation time.
    - Modified course creation to insert into blockinfo field.
    - Modified restore to insert into blockinfo field.
    - Admin options (hide, show, delete, config) from admin page.
    - Lang strings inserted (en only).
    - Database support to mysql and postgresql (not tested!!).
Moodle, backup and block versions updated to 2004041800.
Tested with mysql: Install fresh and upgrade from previous.
section_activities block renamed to social_activities and created
its own lang file to support name "Social Activities". This can
be changed at any time.

TODO:
=====
Support it really in backup/restore.
????

Enjoy!! Ciao :-)
2004-04-18 23:20:53 +00:00