Commit graph

71 commits

Author SHA1 Message Date
Petr Skoda
6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Petr Skoda
39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Petr Skoda
a9637e7df4 MDL-14679 fixed a lot more old style uses of insert_record() 2010-09-03 17:47:41 +00:00
Petr Skoda
72c4be397c MDL-23204 fixed import/export format issues 2010-07-18 08:52:21 +00:00
Martin Dougiamas
e3b8897c3a NOBUG Removed unused string 'searchconcept' 2010-07-01 03:30:50 +00:00
Dongsheng Cai
ab16da675e MDL-22574, use moodle form to import glossary 2010-06-04 03:14:21 +00:00
Dongsheng Cai
b61e3e80c1 MDL-22574, use filepicker import glossary xml 2010-06-02 07:30:13 +00:00
Rossiani Wijaya
2e4fd16675 MDL-20447 - bulk upload: add heading to the page and fix navbar content. 2010-05-28 06:38:17 +00:00
Jamie Pratt
c7a2b2c84f MDL-22252 "couple of typos causing errors when importing glossary contents" 2010-04-30 06:20:19 +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
Sam Hemelryk
92059c7ee5 mod MDL-21169 Removed update this module button and ensured there was a link in the settings block for it. 2009-12-23 01:57:55 +00:00
Petr Skoda
dba386b573 MDL-20901 fixed input validation 2009-11-20 08:50:12 +00:00
Petr Skoda
1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
samhemelryk
5fa0208ec3 mod-glossary MDL-19809 Added set_url calls, replaced deprecated functions 2009-09-24 07:29:14 +00:00
samhemelryk
0961861e63 mod-glossary MDL-20256 Upgraded module to use the new navigation blocks 2009-09-11 05:38:44 +00:00
samhemelryk
e6855d1aa0 mod-glossary MDL-19809 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 03:20:35 +00:00
nicolasconnault
ee9e63b5a1 MDL-19809 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:14:52 +00:00
nicolasconnault
9f555b8f1a MDL-19809 Converted print_box* to $OUTPUT->box* 2009-08-10 04:59:55 +00:00
nicolasconnault
0578c9a2a9 MDL-19809 Converted all print_footer() calls 2009-08-06 14:13:29 +00:00
nicolasconnault
2d8e042e92 MDL-19809 Migrated calls to print_heading 2009-08-06 08:23:39 +00:00
skodak
a8c31db2a3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:47:18 +00:00
skodak
9d7493399d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:35:10 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
ae8c356614 MDL-15109 glossary dml conversion 2008-06-08 10:43:39 +00:00
dongsheng
5973a4c49e "MDL-14129, fix print_error" 2008-06-06 03:15:53 +00:00
skodak
c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +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
skodak
bb5b72244a MDL-10890 all require_login() in modules reviewed and fixed use of $cm 2007-08-17 12:49:28 +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
f3c8392617 Breadcrumbs: mod/glossary changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:16:38 +00:00
nicolasconnault
20355e5ac2 MDL-9138; Edited lib/xmlize.php to return false when the passed file doesn't return any entries (when it's not valid XML or is empty). Also made it much clearer that glossary/import requires an XML file, not just any old file. 2007-04-04 03:35:23 +00:00
stronk7
8d2191e60c Show continue button after importing glossary. MDL-9071
Merged from MOODLE_18_STABLE
2007-04-03 15:44:17 +00:00
stronk7
6ca980741f Fixing import interface. Step2. MDL-8793
Merged from MOODLE_18_STABLE
2007-03-29 23:13:09 +00:00
stronk7
43e891ede5 silly change, ignore it... 2007-03-26 23:30:34 +00:00
stronk7
c2c54ac0fd Minor fixes for XHTML compliance
Merged from MOODLE_18_STABLE
2007-03-19 00:02:19 +00:00
moodler
9ca8cc0847 Basic fixing of tabs for glossary 2007-02-01 06:54:15 +00:00
toyomoyo
36a2b6bdc3 MDL-7861, xhtml strict related changes for glossary 2007-01-12 06:57:33 +00:00
toyomoyo
baecd8cd72 dropping studentcanpost in glossary, MDL_7170 2006-11-15 03:15:59 +00:00
stronk7
0db568393d Now lcase() and ucase() are out from glossary 2006-10-30 18:01:10 +00:00
skodak
7d8a3cb06a trusttext:
* proposed by Martin Dougiamas
 * implemented by skodak

Usage:
1/ change enabletrusttext to yes in site settings (it is off by default) or set it in config.php
2/ assign moodle/site:trustcontent capability to users whose text submitted in glossary entries, comments, forum posts etc. should not be cleaned == they can use javascript or any other forbidden tags in glossary and forums...

done:
 * core
 * glossary (without proper upgrade)

to do:
 * data cleaning in upgrades
 * forum, blocks and some other places (MD decides)
2006-08-26 13:00:07 +00:00
moodler
0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +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
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak
95d5682927 Bug #6170 - Glossary bug: it displays nothing when autolinking to non-ascii text and other minor cleanup; merged from MOODLE_16_STABLE 2006-07-30 22:22:22 +00:00
skodak
81b0eec894 Bug #6050 - import glossary entries to new glossary not creating new glossary; merged from MOODLE_16_STABLE 2006-07-07 19:54:22 +00:00
skodak
212039c0d8 utf8 related cleanup in glossary import and export code - please test 2006-03-03 19:49:08 +00:00