26 Commits

Author SHA1 Message Date
toyomoyo
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
skodak
b150307551 MDL-7861 xhtml strict fixes - fixed capital letter tags and attributes 2007-01-04 23:59:55 +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
sam_marshall
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
skodak
ee3cc9951c basic conversion of old wiki to new roles framework 2006-09-10 19:44:28 +00:00
moodler
bade10e350 Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
skodak
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
toyomoyo
c07a004c40 merged, fixed a bug that student can't remove wiki pages in group mode 2005-12-16 07:19:59 +00:00
skodak
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
stronk7
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
gustav_delius
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
moodler
f1c1d2f166 Removing the THEME variable and adding in classes where appropriate 2005-02-10 10:41:22 +00:00
moodler
cb59215c7f Merged from stable 2004-10-01 02:19:29 +00:00
gustav_delius
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
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
mchurch
d2481a47ba Fixed strip_pages bug. 2004-09-13 23:03:42 +00:00
gustav_delius
a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
skaldrom
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
gustav_delius
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
skaldrom
db0178a3be Warnings eliminated and made a fix for Bug #1557 - EWIKI_NAME already defined 2004-06-10 11:42:08 +00:00
skaldrom
bc1f9c7349 Better fix for Bug #1530 - Wiki diffs useless when using HTML editor 2004-06-08 20:22:13 +00:00
skaldrom
829e635033 Better Logging 2004-06-06 18:37:54 +00:00
skaldrom
dd69e424c0 Security-check was wrong. 2004-06-06 17:48:13 +00:00
skaldrom
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
skaldrom
a9de02428d Export mechanism and Administration restriction. 2004-06-06 12:07:28 +00:00
moodler
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