74 Commits

Author SHA1 Message Date
toyomoyo
fb31c40a9c fix for MDL-9398, users need site:config to create course categories 2007-04-18 04:54:47 +00:00
skodak
571880d220 MDL-9172 "Turn editing off" button disappear from category page; merged from MOODLE_18_STABLE 2007-04-02 13:46:01 +00:00
stronk7
d9bb8caa28 Adding a missing parameter to the "add new course" button. MDL-9129
Merged from MOODLE_18_STABLE
2007-03-30 15:36:52 +00:00
toyomoyo
de0d92e378 fix for MDL-9010, course request button should not appear when it is disabled 2007-03-26 05:50:55 +00:00
nicolasconnault
45b26feebb MDL-2974 - Corrected notification of correctly entered new category with multilang display 2007-03-07 01:25:43 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
toyomoyo
e2cd3ed012 merged nick's fix for MDL-8582, ampersand in course name/shortname causes xtheml strict problems 2007-02-23 06:03:09 +00:00
toyomoyo
35d0244a37 taking out deprecated width in print_courses and print_course 2007-02-14 04:56:26 +00:00
moodler
2cae9a4f11 Added a 'courseboxes' div around the course boxes on the course listing to help some CSS 2007-02-14 04:22:24 +00:00
moodler
378ef1fe98 Cleaned up HTML, quotes and styles for the neglected category editing screen MDL-8145 2007-02-05 07:27:07 +00:00
moodler
44b843b6d6 More XHTML strict stuff 2007-01-10 08:35:45 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +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
vyshane
d4a18e3460 Added missing footer for delete confirmation view. MDL-7861. 2006-12-20 01:15:15 +00:00
toyomoyo
f78aa86032 MDL-7861, strict xhtml for course/index page 2006-12-19 05:57:55 +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
skodak
6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
skodak
09575480bb fixed several warnings in get_course() 2006-09-17 18:07:35 +00:00
toyomoyo
ae9e4c064e replacing iscreator() calls with capabilty 2006-09-12 08:56:10 +00:00
skodak
a13d2157f4 fixed wrong placement of comma 2006-09-08 15:53:24 +00:00
toyomoyo
51792df056 adding capabilities 2006-09-08 08:46:26 +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
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
skodak
d1a66080d5 Bug #6168 - missing link for course request - fixed; merged from MOODLE_16_STABLE 2006-07-31 09:18:52 +00:00
nfreear
b65f13b510 Fix, bug 5614 - added ALT text for link icons (x 5), based on TITLE. Merged from stable branch. 2006-06-02 13:18:49 +00:00
skodak
82f0028119 do not show pending courses button for nonadmins bug #5564; merged from MOODLE_16_STABLE 2006-05-20 18:08:25 +00:00
skodak
a8ff614fb8 general cleanup of xxx_parameter() functions; fixed broken requesting of courses 2006-04-12 16:41:10 +00:00
skodak
9d6a11f8ff general cleanup of xxx_parameter() functions + fixed logic of edit button - now interconnected with category.php 2006-04-11 20:39:30 +00:00
patrickslee
765d3c7dde Show category list rather than the whole list of courses if there is only one category and with more than 200 courses in it
Otherwise we will have a HUGE list of courses flooding our browser.

Backported from MOODLE_15_STABLE
2006-02-08 04:21:22 +00:00
stronk7
b3bcee2457 First field must be unique in every select. Bug 4619.
(http://moodle.org/bugs/bug.php?op=show&bugid=4619)

Merged from MOODLE_15_STABLE
2006-01-20 15:09:54 +00:00
mjollnir_
0705ff843b Course request feature. Allows normal users to 'request' courses they would like created,
and admins can approve or reject pending courses.

Also, contains the ability to restrict activity modules on a per course basic. Strict config options:
  enable restricting modules at ALL (for all courses, no courses, requested courses), what to do by default for newly created courses
  as well as what modules to enable for above category by default.

This feature was created for the aim of building a community side to moodle - for institutes that have strict courses and enrolments, allowing normal users to request interest courses is a good feature,
but some modules may be redundant (assignment, lesson, quiz etc)

  Please test!
2005-08-16 06:15:49 +00:00
thepurpleblob
7168423c82 Replaced require_variable(), optional_variable() with approproate
required_param(), optional_param() etc.
2005-06-14 09:21:09 +00:00
moodler
d22f8a5331 Small visual improvement 2005-03-22 18:17:45 +00:00
moodler
810393c804 Removed THEME from many course files 2005-01-25 14:03:43 +00:00
moodler
1040374833 Add categories editing even with one category 2005-01-11 07:01:04 +00:00
mjollnir_
72ccca5632 Merge from MOODLE_14_STABLE: moodle--eduforge--1.3.3--patch-201 - optimized calls to get_courses() to retrieve only required fields (martinlanghoff) 2004-11-17 05:05:14 +00:00
mjollnir_
ff84f65428 Confirmation for deleting course categories 2004-11-16 02:21:31 +00:00
stronk7
d99ceac20f course/index.php is using sesskey.
Merged form MOODLE_14_STABLE
2004-10-09 13:22:59 +00:00
stronk7
abf45bedf0 course/category.php is using sesskey
Merged from MOODLE_14_STABLE
2004-10-08 16:52:20 +00:00
moodler
cc57a111fc Changes for XHTML and accessibility compliance 2004-09-23 12:25:49 +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
24f2b65a4d towards XHTML compliance 2004-09-12 12:21:27 +00:00
gustav_delius
6bc502cca7 List of courses is now always ordered according to sortorder, see http://moodle.org/mod/forum/discuss.php?d=7034 2004-05-30 00:33:45 +00:00
moodler
dd506ec8e5 Removing a notice 2004-03-10 07:20:42 +00:00
moodler
c0b85daf7b Clean up of terminology course categories and courses 2004-02-20 12:56:17 +00:00
moodler
29aab4acda Obey "forcelogin" 2004-01-14 08:27:40 +00:00
moodler
17c4a01172 Don't move courses from delete categories to the "zero" category
(Make sure the grandparents are home before sending the kids there!)
2004-01-09 16:54:10 +00:00