59 Commits

Author SHA1 Message Date
Eugene Venter
8309373cbf MDL-48204 mod_wiki: admin.php - fix syntax error 2014-11-13 00:46:43 +01:00
John Okely
a481e32f02 MDL-47949 mod_wiki: Validate parameters for page deletion 2014-11-07 15:29:40 +08:00
Marina Glancy
3a7b9b76c2 MDL-39990 wiki: more detailed validation of view/edit access rights 2014-03-03 14:45:03 +08:00
Sam Hemelryk
593b838546 MDL-44159 mod_wiki: unify @package use 2014-02-21 08:32:58 +13:00
Rajesh Taneja
d6a54be3a6 MDL-40058 mod_wiki: Replaced add_to_log for admin to event 2013-12-11 13:52:59 +11:00
Damyon Wiese
74df2951d1 Revert "MDL-39876 Change get_record('course') calls to get_course"
This reverts commit ab7632b74c331540c90229bf03d13aa2e6bdd9be.
2013-08-21 13:42:30 +08:00
sam marshall
ab7632b74c MDL-39876 Change get_record('course') calls to get_course 2013-08-15 11:31:20 +01:00
Ankit Agarwal
1df2362669 MDL-34470 wiki: Replace all instances of get_context_instance() with context_xxx::instance() in mod/wiki 2012-07-23 15:10:07 +08:00
Petr Skoda
cdbea7eed1 MDL-31607 use full course object for require_login() if already available
This eliminates 1 db query.
2012-04-22 17:41:47 +02:00
Rajesh Taneja
476aea8d8b MDL-26674 wiki2.0: cleaned wiki event logging patch 2012-03-19 11:15:06 +08:00
Rajesh Taneja
ac0a82cf92 MDL-23520 mod-wiki-2.0: Added delete page and version feature as it was in 1.9 2011-08-31 13:54:05 +08:00
Dongsheng Cai
00710f4cc1 MDL-22112, push wiki 2.0 into head 2010-05-02 11:28:11 +00:00
Petr Skoda
c80877aa0e MDL-20204 fixed recent regressions + improved action handling - sorrrry 2010-02-11 15:44:06 +00:00
Petr Skoda
3224f709d7 MDL-20204 selects conversion 2010-02-11 10:03:28 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
14a960ac7b MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 19:53:01 +00:00
samhemelryk
87a6540343 mod-wiki MDL-19817 Added set_url calls, replaced deprecated functions 2009-09-24 08:58:36 +00:00
samhemelryk
c6ef21e313 mod-wiki MDL-19817 Updated print_header_simple and build_navigation to OUTPUT and PAGE equivalents 2009-09-08 02:16:33 +00:00
nicolasconnault
7ce73e926e MDL-19817 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:46:39 +00:00
nicolasconnault
56da74f311 MDL-19817 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:17:28 +00:00
nicolasconnault
7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault
9237e77678 MDL-19817 Converted all print_footer() calls 2009-08-06 14:16:02 +00:00
nicolasconnault
49c8c8d27e MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions. 2009-08-04 02:05:32 +00:00
nicolasconnault
71106544b3 MDL-19817 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:33:14 +00:00
dongsheng
4d6ba0f097 "MDL-14129, fix print_error" 2008-06-15 10:47:14 +00:00
skodak
655b09ca8a MDL-15117 wiki converted and other regressions fixed 2008-06-04 21:34:14 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +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
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
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
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