Commit Graph

31 Commits

Author SHA1 Message Date
38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
a04c5e60a2 Breadcrumbs: mod/wiki changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:32:35 +00:00
beae179786 MDL-7861 related problems for wiki. use_html_editor() call in ewiki.php is probably causing additional problems. 2007-01-09 08:21:29 +00:00
b150307551 MDL-7861 xhtml strict fixes - fixed capital letter tags and attributes 2007-01-04 23:59:55 +00:00
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
bdbed68baf Wiki: list of pages to strip in the 'are you sure' message was incorrectly URL-encoded on display to user, this fix removes url encoding and html-encodes it instead 2006-10-04 10:11:15 +00:00
ee3cc9951c basic conversion of old wiki to new roles framework 2006-09-10 19:44:28 +00:00
bade10e350 Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
c07a004c40 merged, fixed a bug that student can't remove wiki pages in group mode 2005-12-16 07:19:59 +00:00
4c19b6ec04 fixed input validation in admin and formating+cleaning in diff and editing SC#160; merged from MOODLE_15_STABLE 2005-11-03 23:47:28 +00:00
973ec7b671 Now wiki->name supports $CFG->filterall
(specifying a multilang name allows to have different start pages too!)

I've found some bad XHTML in this module and some inconsistencies
with different cased page-names. Are wikipages different if their name case is
different? If no, we should fix it.
2005-04-10 15:30:04 +00:00
ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
f1c1d2f166 Removing the THEME variable and adding in classes where appropriate 2005-02-10 10:41:22 +00:00
cb59215c7f Merged from stable 2004-10-01 02:19:29 +00:00
8f0cd6ef0f Resolved problems with previous replacement of
& to &amp; and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
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
d2481a47ba Fixed strip_pages bug. 2004-09-13 23:03:42 +00:00
a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
087fef3ed4 Fix for Bug #1603 - Shortening URLs in Wiki pages
- Renamed wikipage in page (URL and variable)
- When groupid or userid is 0, it is not shown anymore (I hope I have changed all places)
2004-09-03 21:02:27 +00:00
90fcc576ea Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic. 2004-08-21 20:20:58 +00:00
db0178a3be Warnings eliminated and made a fix for Bug #1557 - EWIKI_NAME already defined 2004-06-10 11:42:08 +00:00
bc1f9c7349 Better fix for Bug #1530 - Wiki diffs useless when using HTML editor 2004-06-08 20:22:13 +00:00
829e635033 Better Logging 2004-06-06 18:37:54 +00:00
dd69e424c0 Security-check was wrong. 2004-06-06 17:48:13 +00:00
0dc1d62340 Made diff more usable for HTML: may fix Bug #1530 - Wiki diffs useless when using HTML editor 2004-06-06 15:37:18 +00:00
a9de02428d Export mechanism and Administration restriction. 2004-06-06 12:07:28 +00:00
39fcb981b8 Wiki module, copied from contrib/wiki.
I've left out stuff that didn't seem necessary ... including a lot
of the Wiki plugins which were quote large... I'm not sure if this
is currently working ... I'm about to try it out.
2004-06-02 12:45:55 +00:00