64 Commits

Author SHA1 Message Date
skodak
973d2660e6 MDL-16613 sesskey cleanup 2009-01-02 10:51:26 +00:00
tjhunt
04c5310674 course search: MDL-10801 Search terms were not being highlighted consistently in the results. 2008-12-11 10:47:48 +00:00
skodak
67da7e65d2 MDL-13978 fixed code to use new DML syntax 2008-12-09 22:17:18 +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
jerome
c8271c87dc activities search: MDL-13987 remove AS from SQL, merged from 19 2008-11-11 07:56:55 +00:00
jerome
e48580bdcc MDL-13987: fix navigation links for Activities Administration page: check that the course list is not empty, merged from 19 2008-11-07 05:40:20 +00:00
jerome
d0b7da6966 MDL-13987: fix navigation links for Activities Administration page, merged from 19 2008-11-07 05:34:42 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
6bb0816313 MDL-14679 towards course conversion 2008-06-02 08:13:24 +00:00
skodak
c3df090199 MDL-14679 datalib conversion completed 2008-05-30 16:47:21 +00:00
skodak
06c1a1daf4 MDL-14981 regex search support in datalib, fixed course search 2008-05-25 20:43:46 +00:00
dongsheng
f581f8d64b "MDL-14129, fix print_error" 2008-05-01 05:44:41 +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
toyomoyo
deb2988f39 MDL-11167, admin blocks page should not show blocks not placed on course pages 2007-10-19 07:54:30 +00:00
iarenaza
0baafc173a Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-09 21:43:28 +00:00
martinlanghoff
026579bbc3 course/search.php: smarter about contexts, bugfix in pagination
Save a ton of queries about contexts, and a bugfix in how we are
calling the pagination for get_courses_search().
2007-09-19 07:08:50 +00:00
nicolasconnault
d02240f302 MDL-10870 A few more files with old style navigation strings. 2007-08-23 14:58:15 +00:00
nicolasconnault
0be6f67819 MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
poltawski
a044c05ddb MDL-9742 - changed tabs to spaces in a few places where there are one
or two
2007-05-08 15:07:25 +00:00
nicolasconnault
be5539d858 MDL-8697 - Fixed the legacy HTML for the search table 2007-03-02 01:26:19 +00:00
nicolasconnault
eb1f8f1dd2 MDL-8697 Moved inline text-align:right to stylesheet, and removed table and td text-align: center 2007-03-01 04:42:41 +00:00
nicolasconnault
109694fbf9 Issue MDL-8697
Someone must have fixed this earlier, because there are no more tables. However I found the use of the align attribute which I replaced with inline CSS style=\"text-align:right\"
2007-03-01 04:09:39 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
thepurpleblob
474991a19d D'oh - counting $totalcount wrongly (duplicate courses are ignored) 2007-02-21 13:09:17 +00:00
thepurpleblob
594bb20b95 Slightly more helpful message if no courses can be shown. 2007-02-21 13:03:24 +00:00
thepurpleblob
806dab4385 Whoops. Missed setting $totalcount var 2007-02-21 11:57:28 +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
tjhunt
983ce2d579 MDL-8154 - Typo in course search code. Fix thanks to Anthony Borrow. 2007-02-17 17:16:38 +00:00
tjhunt
627c9eae47 Missing space. 2007-01-19 10:07:05 +00:00
tjhunt
7f60ca5ec5 correct icon path to use $CFG->pixpath. 2007-01-19 09:59:13 +00:00
skodak
0f13ec8f9b MDL-8105 some more icon class fixes including new .iconhelp for help and docs icon 2007-01-08 20:30:38 +00:00
skodak
60af27037b MDL-7861 xhtml transient fixes for not closed input fields - I hope all of them except imported libs are now fixed 2007-01-08 19:34:16 +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
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
toyomoyo
698fa43977 merged, adding capability checks 2006-11-21 05:31:46 +00:00
toyomoyo
1ed33201b1 merged fix for MDL-7426, removed link to teacher.php 2006-11-21 04:45:32 +00:00
skodak
a44091bffe Fixing Theme Config Variables MDL-6784 2006-10-09 10:12:41 +00:00
tjhunt
ed586fb863 Typo. 2006-10-04 11:45:48 +00:00
moodler
329f40b003 Changed CONTEXT_SITE to CONTEXT_SYSTEM MDL-6506 2006-09-26 03:57:05 +00:00
toyomoyo
9c37662f22 replacing deprecated funciton calls with capability calls 2006-09-19 09:16:24 +00:00
toyomoyo
ae9e4c064e replacing iscreator() calls with capabilty 2006-09-12 08:56:10 +00:00
skodak
f2fe353f2b Fixed course searching; merged from MOODLE_16_STABLE 2006-06-08 06:25:05 +00:00
skodak
cd7d03fa48 fixed register globals issues in course/search.php; merged from MOODLE_16_STABLE 2006-05-20 18:41:59 +00:00
skodak
f8a5159a2b changes needed for new s() and p() - see bug #2338 2006-04-14 08:02:32 +00:00
patrickslee
40b4a063d4 Fixed false course category move when searching courses in editing mode 2006-03-26 20:58:54 +00:00
skodak
9cc78ee196 Fixed course searching with quotes - SC#180; merged from MOODLE_15_STABLE + other fixes in HEAD only 2005-11-02 15:36:57 +00:00
patrickslee
23c690efce Fixed a small paging problem in course search page 2005-10-12 22:00:14 +00:00