tjhunt
830dd6e9cd
moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting
2009-05-06 08:59:29 +00:00
tjhunt
948203a5e8
moodle_page: MDL-12212 ->category and ->categories
2009-05-06 08:46:05 +00:00
Jonathan Newman
4d933beb8a
cvsimport fixups
2009-01-20 23:53:34 +00:00
skodak
d4a1fcaf11
MDL-16613 sesskey cleanup
2009-01-02 10:36:25 +00:00
tjhunt
92f008465c
admin tree: MDL-10047 and MDL-13104 weird things happen when you turn editing on and off.
...
That was becuase not enough information was being passed in for the blocks editing controls to construct the right URL to reload the page.
It is also now possible for admin external pages to add some UI next to the turn blocks editing on/off button. For example, when you are editing the list of course catgories, the turn editing off button is now in the right place.
2008-12-11 09:21:41 +00:00
tjhunt
77eddcd527
course request: MDL-9854 major cleanup to the course request code.
...
* Rewrite all the forms to use formslib and improve usability.
* Put the place where admins need to go to process approvals in the admin menu.
* Show the request course/pending requests button on the page for the category that requested courses get added to.
2008-12-05 08:56:54 +00:00
tjhunt
8ed5dd63ee
course categories: Fix many bugs with category editing and permissions. Clean up code.
...
Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.
* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.
Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.
Merged from MOODLE_19_STABLE.
2008-12-04 08:53:10 +00:00
tjhunt
9101efd312
cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
...
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
skodak
d7531392f7
MDL-15431 User icon and Guest icon mixed up on compressed Course list; merged from MOODLE_19_STABLE
2008-10-06 22:29:36 +00:00
skodak
2942a5cd34
MDL-9983, MDL-13998 core events related cleanup; merged from MOODLE_19_STABLE
2008-07-06 17:57:06 +00:00
skodak
0cbe81112a
MDL-14580 rewritten course sorting algorithms
2008-06-16 14:25:53 +00:00
skodak
294ce9870f
MDL-15189 magic quotes finally removed
2008-06-09 16:53:30 +00:00
skodak
c7da43571b
MDL-14679 converted some count_records
2008-06-02 21:47:31 +00:00
skodak
6bb0816313
MDL-14679 towards course conversion
2008-06-02 08:13:24 +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
8e48039682
MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE
2008-04-24 08:39:47 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
moodler
10ed581c9a
Merged MDL-13541 from 1.9
2008-02-20 06:07:50 +00:00
poltawski
e0bd367d01
MDL-12888 - remove require to form no longer used
...
merged from MOODLE_19_STABLE
2008-01-09 11:04:39 +00:00
poltawski
f4eb549fbd
MDL-12697 - Category Themes do not appear when editing off
...
merged from MOODLE_19_STABLE
2007-12-25 01:00:31 +00:00
skodak
f26cfa228d
MDL-11800 improving previous commit; merged from MOODLE-19_STABLE
2007-12-15 12:05:54 +00:00
toyomoyo
7aabbf3b58
MDL-11800, multilang support for category description
2007-11-28 02:56:51 +00:00
nicolasconnault
150f64e661
MDL-11608 Removed stripslashes_safe($rename) and changed PARAM_RAW to PARAM_TEXT for rename param
2007-10-10 04:59:35 +00:00
moodler
09deab0661
Miscellaneous fixes for MDL-11543
...
- added button to edit current category
- removed old mini-forms to do the same
- tidied up various things and CSS as well
2007-10-10 04:05:46 +00:00
nicolasconnault
62ecaed9df
MDL-11608 The $rename param was obtained with PARAM_NOTAG, I changed that to PARAM_RAW. I also changed the rename field's value to htmlspecialchars($category->name)
2007-10-09 14:08:05 +00:00
nicolasconnault
86830be66e
MDL-11543 Temporary solution originally proposed by Martin
2007-10-09 12:53:24 +00:00
martinlanghoff
679b617967
categories: Categories page and get_courses_page() - smarter about context
...
This patch saves 1600 context lookups on a 1600 course category. rcache
does help a bit with small categories, but on large setups, this is
not sustainable.
And it's not needed either. We have the data right at our fingertips.
Just get it when it's cheap...
2007-09-19 07:08:24 +00:00
moodler
7b0d5cd551
Merged fixes for MDL-7425 from 1.8 stable
2007-08-30 06:01:57 +00:00
toyomoyo
1dc08b85b1
MDL-4384, fixed undefined function call, hide the add sub category form in non-editing mode
2007-08-20 01:59:50 +00:00
nicolasconnault
e295df447f
MDL-10870 All files updated to new build_navigation() method.
2007-08-17 11:18:58 +00:00
toyomoyo
ca5d523bef
MDL-4384, description for course categories
2007-08-15 08:28:40 +00:00
thepurpleblob
6f83b034e0
MDL-10604:
...
Add ability to add sub categories directly from category screens.
Merged from STABLE_18
2007-07-25 14:02:27 +00:00
urs_hunkler
a08d370b51
changed old getElementById(id).submit() to the new submitFormById(id) call.
2007-07-25 11:19:42 +00:00
toyomoyo
a160cf0b17
fix for MDL-9983, trigger certain events out of the core to modules
2007-07-10 02:33:38 +00:00
toyomoyo
e513826187
MDL-9983, adding triggers for certain events, no handler implemented
2007-07-09 06:43:33 +00:00
ikawhero
2230cb9178
Call theme_setup() after change so new theme displays correctly
2007-05-05 07:43:08 +00:00
ikawhero
a907c54043
GUI for category themes.
...
New language strings.
2007-05-03 07:00:55 +00:00
andreabix
4e957c8698
Fixed Task MDL-9611
2007-04-30 18:18:07 +00:00
skodak
40935142f7
MDL-9647 simplify dealing with headers/footers in admin sections; some more cleanup
...
fixed continue button in error() on admin page when link present
2007-04-30 17:28:29 +00:00
skodak
1ae083e424
MDL-9647 simplify dealing with headers/footers in admin sections
2007-04-30 17:08:34 +00:00
moodler
be63689802
Merge XHTML fixes for MDL-9589
2007-04-26 08:49:21 +00:00
toyomoyo
115a622d8c
merged MDL-9273 related fixes
2007-04-13 05:40:11 +00:00
nicolasconnault
f4f274d10c
MDL-9273 Applied suggested fix
2007-04-13 02:00:41 +00:00
moodler
3730488451
Merging MDL-9101 from 1.8
2007-03-29 03:28:37 +00:00
toyomoyo
cbc943f755
merged fix for MDL-8885, teachers should not be able to set course as hidden if they can not view hidden courses
2007-03-14 04:31:04 +00:00
poltawski
b469b1b49c
Duplicate alt tags in course category page MDL-8711, merged from MOODLE_18_STABLE
2007-03-01 14:47:52 +00:00
moodler
6ba65fa08d
Merged Nicolas' changes from MDL-8582 into HEAD.
2007-02-28 06:25:22 +00:00
vyshane
2585a68d54
Merged from 1.8.
2007-02-16 08:46:55 +00:00
toyomoyo
6463b3dea7
adding a div to help with css
2007-02-14 05:45:36 +00:00