87 Commits

Author SHA1 Message Date
stronk7
a301c1e972 Reviewed breadcrumb in HEAD. Page name was missing. MDL-16331 2008-09-29 22:38:30 +00:00
stronk7
cae4bace8f Re-introducing colons in page names + cleaning tabs output. MDL-15896 ; merged from 19_STABLE 2008-09-15 16:24:48 +00:00
mchurch
d39bbb8a0e MDL-15896 - Clean 'page' and 'q' parameters to only allow normal page name characters. 2008-07-31 14:06:18 +00:00
dongsheng
4d6ba0f097 "MDL-14129, fix print_error" 2008-06-15 10:47:14 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
4cd241c3e1 MDL-15117 wiki converted 2008-06-05 09:14:42 +00:00
skodak
655b09ca8a MDL-15117 wiki converted and other regressions fixed 2008-06-04 21:34:14 +00:00
stronk7
00f9b05834 Avoid $_REQUEST["id"] usage. MDL-14806 ; merged from 19_STABLE 2008-05-13 01:48:45 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
scyrma
ffa2134012 MDL-12514 - Added missing js library (thanks Johannes Albert) and fixed missing string escaping. (merge) 2008-03-18 01:22:37 +00:00
tjhunt
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
moodler
f389ceff2a Don't try to use YUI when AJAX is not enabled 2007-09-03 06:15:58 +00:00
mattc-catalyst
27978302ad MDL-10888: groupings - mod/wiki - add support for groupings, use new groups functions 2007-08-23 04:56:39 +00:00
mattc-catalyst
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
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
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
mattc-catalyst
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
mattc-catalyst
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
toyomoyo
bb84fffea1 replacing fieldsets with divs for small forms 2007-03-02 01:29:28 +00:00
sam_marshall
6022c4f560 MDL-8621 Fixed wiki locking 2007-02-22 17:46:27 +00:00
sam_marshall
434170fe71 MDL-8544 Fixed wiki locking require_js usage 2007-02-16 14:31:27 +00:00
sam_marshall
d6f15b5eb3 MDL-8227 - Made wiki locking only apply to group being edited! 2007-01-19 15:25:35 +00:00
sam_marshall
7f93cff60e MDL-8225 Made it not display wiki title twice in navigation, when first page has same name as title. 2007-01-19 12:48:35 +00:00
moodler
c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
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
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
4aac765f4c MDL-7861, fixng broken xhtml 2006-12-21 06:01:35 +00:00
moodler
a2af00edf1 Merged fix for MDL-7248 from stable 2006-10-29 13:31:27 +00:00
sam_marshall
352b1adb8c Wiki: fixed issue if you tried to set a page content to completely blank (you need to switch the html editor into text mode to get this, otherwise it puts in <br/>, but one of our QA people managed to find it anyway).
Also corrected whitespace on some of the lock stuff (weird - how did those tabs get in there? hrm)
2006-10-10 17:23:24 +00:00
sam_marshall
745c19685c Wiki: some changes to improve error messages and (slightly) behaviour when in group mode 2006-10-09 14:29:14 +00:00
sam_marshall
4db1861a8d Wiki: Improve page locking to make it more robust and support non-javascript users (not very friendlily, though...) 2006-09-27 11:22:57 +00:00
sam_marshall
22e846cde2 Wiki enhancement: edit locking (uses AJAX) 2006-09-25 17:42:32 +00:00
vyshane
73ebd5e23a Removed mod/wiki:view 2006-09-22 03:14:08 +00:00
skodak
ee3cc9951c basic conversion of old wiki to new roles framework 2006-09-10 19:44:28 +00:00
moodler
dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +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
martinlanghoff
51886e2fb4 wiki: Added a link to force reloading of the page (WR#515)
The link allows the page to be reloaded, which saves people from only seeing the cached copy. This is the equivalent of doing Shift+Reload in most
browsers.


Author: Luke Hudson <luke@catalyst.net.nz>
2006-07-31 04:56:12 +00:00
martinlanghoff
95900e17f2 wiki: Fix for broken view on new (empty) wiki pages.
The wiki should display the 'edit' screen when a user tries to view a page
that doesn't exist. This output should not be filtered.

Merged from MOODLE_16_STABLE

Author: Donal McMullan
2006-07-06 05:08:11 +00:00
stronk7
13ca56cf52 Solving double addslashes to DB when the site is running with
magic_quotes_gpc() disabled (because Moodle addslashes to
everything). Not a pretty hack, but it seems to work.
(http://moodle.org/mod/forum/discuss.php?d=38127)

Merged from MOODLE_15_STABLE
2006-01-27 23:01:34 +00:00
stronk7
e734dbb66b There! :-P :-D
(just looking for one BIG problem in wiki - pagename is lost, so page
is never detected, so the edit page is showed once and again and again,
and again.......)
2006-01-22 20:27:11 +00:00
toyomoyo
fc7fc3c005 merged, wrong param type for $page 2005-12-21 03:26:19 +00:00
moodler
aa8139414e Replaced optional_var with optional_param 2005-12-07 06:21:58 +00:00
moodler
fa22fd5fff BIG FEATURE - MULTIPLE GROUPS
Users can now be assigned to multiple groups.  Thanks Yu!
Break out the Bob Marley!!

Otherwise groups work more or less like they did before.

This has been pretty well tested by Yu and myself, but since Yu started
uncovering lots of existing groups bugs it's possible there may be still
a few corner cases still lurking here and there.

Please help test this thoroughly for 1.6!!
2005-11-08 07:19:27 +00:00
moodler
7328a56c81 Fix for the jumpy flickering HTML editor! 2005-05-04 10:45:39 +00:00
moodler
b8a11dfff9 Only add a Wiki edit log entry when we have submitted changes. (SE) 2005-04-29 23:24:25 +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
moodler
41682d287c Now uses the new tab structure (SE) 2005-03-15 09:58:14 +00:00
moodler
b846ac39ff Standardise the intro box using an ID 2005-03-13 16:17:55 +00:00
moodler
69ad0d6928 Better logging and recent activity 2005-03-10 14:11:07 +00:00
mchurch
1fb5d4b081 Added the 'get_recent_activity' function (see bug 1897). 2005-03-05 04:14:51 +00:00