49 Commits

Author SHA1 Message Date
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
dongsheng
b8b3d87c2c "MDL13233, fix unclosed li elements, and remove extra <html> tags, see tracker" 2008-05-01 02:46:09 +00:00
dongsheng
01260c78fa "MDL-13233, make emoticons documentation should be dynamic" 2008-04-30 03:49:12 +00:00
sam_marshall
facc7b387f MDL-14286: Help popup now includes title of help page in window <title> 2008-04-10 11:50:52 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
nicolasconnault
072901a9eb MDL-13789 Fixed the index file issue (with a hack) and also documented extra credits properly. 2008-03-21 15:05:51 +00:00
mudrd8mz
45f5cfd4bf MDL-12291 help.php is now able to skip _local langpacks. Merged from MOODLE_19_STABLE 2008-01-19 22:00:39 +00:00
tjhunt
dba21d4a19 Use the locale to sort the list of activites everywhere. This matches a change a made in one place before christmas. If you don't do this, the PHP sorts by ASCII order, so mixed case names, or special characters, get sorted wrongly. Merged from MOODLE_19_STABLE. 2008-01-07 16:46:35 +00:00
nicolasconnault
3b84c6bd05 MDL-8853 Applied Ann's patch 2007-11-06 13:39:42 +00:00
nfreear
73418a3ce3 Big fix for MDL-9890 "Help should be well-formed, XHTML Strict and semantic". 2007-05-23 12:03:22 +00:00
tjhunt
6cad9e6069 MDL-8772 - Use the same list of places to search in get_string and help.php. Merged from MOODLE_18_STABLE. 2007-03-14 20:15:20 +00:00
mudrd8mz
2f40b60145 _local language packs take precedence with both forced language and non-forced language settings.
Fixes reopened MDL-8089.
2007-02-10 21:54:19 +00:00
dwoolhead
20cc8f6066 MDL-7442 Changed search order for help files to be more consistent with language files (backwards compatible) 2007-01-12 12:29:42 +00:00
mudrd8mz
f35a69cfca Help files stored in _local language packs take precedence. Implements MDL-8089. 2007-01-08 09:04:08 +00:00
moodler
7475775d4a XHTML Strict fixes MDL-7861 2007-01-05 16:16:21 +00:00
skodak
868ca14f1f fixed trailing whitespace in last commit :-(; merged from MOODLE_16_STABLE 2006-08-22 22:12:17 +00:00
skodak
6be7abc726 Rewritten help.php by Tim Hunt with minor fixes - SC#292; merged from MOODLE_16_STABLE 2006-08-22 22:04:06 +00:00
skodak
508d4a0d14 adding proper checks that the requested help file exists SC#292; merged from MOODLE_16_STABLE 2006-08-14 20:08:52 +00:00
skodak
496d06443a better cleaning of $file parameter SC#276; merged from MOODLE_16_STABLE 2006-07-11 13:19:52 +00:00
moodler
8634bc275d Fixed bug 5300 and removed moodle docs link from help pages 2006-04-24 01:58:31 +00:00
vyshane
c05181937a Added $forcelang optional parameter. This is useful if we want to get help.php
to display the help content in a language irrespective of the site language
settings. This is needed for /admin/helpdoc.php script. This view requires
previews for:

1) en_utf8
2) the current language the site is set to

Without the change to /help.php, 1) is not possible.
2006-03-22 03:16:27 +00:00
toyomoyo
f344731398 fix for 4758 2006-02-20 01:30:30 +00:00
toyomoyo
9214c22430 fix for 4758 2006-02-15 01:55:04 +00:00
moodler
6db498061f Fixed bug #4536 : error in optional_param 2006-01-09 01:55:42 +00:00
moodler
fc64d5cf2c Merged param fixes from stable, even though they were already here :-) 2005-12-05 04:23:50 +00:00
gustav_delius
b1c9e0998a Allow underscore and hypen in module names 2005-09-25 20:46:43 +00:00
thepurpleblob
ad644234b1 Replaced optional_variable() instances with secure alternatives. 2005-06-10 19:19:08 +00:00
moodler
1c2999bcd1 New documentation for new assignment types 2005-04-18 09:30:45 +00:00
gustav_delius
68396ed91f If help file is not found in language directory then look in language subdirectory of module directory. 2005-04-10 05:08:31 +00:00
moodler
6bc21ecf93 Close footer properly 2005-03-27 05:44:31 +00:00
dhawes
822a106319 Added a file level phpdoc docblock tag. Also converted double quote strings to single quote literals. 2004-09-29 18:19:39 +00:00
moodler
6da4b2618f The resource types are now always displayed in a standard order
no matter what the language.
2004-08-02 19:11:15 +00:00
moodler
32a4f1f160 Merged XSS bug fix from stable 2004-07-13 03:51:05 +00:00
moodler
4bd22e0f4e Bug fix for possible XSS situation in Bug 1292 2004-04-30 12:45:55 +00:00
moodler
d6f73f538f Put the help inside a box, in case the background is dark 2003-10-21 02:30:42 +00:00
moodler
1e6e23fe93 Only show visible modules in help 2003-10-08 01:24:49 +00:00
moodler
1517c0aa4d New version of help.php that automatically constructs the index.html
and mods.html files.

Direct from Mad Alex
2003-07-24 12:56:17 +00:00
moodler
95b500763a Added an index to all help files. :-) Manually maintained at the moment. :-( 2003-06-14 03:52:23 +00:00
moodler
aa635c4727 Modifications so that help falls back on parent language too 2003-06-12 11:35:12 +00:00
moodler
6c8e8b5ed4 IMPORTANT SECURITY FIX: this prevents bad characters being passed to help.php 2003-05-09 02:05:16 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
e5dfd0f31f Improvements to help, and addition of new "Activity modules" help
for teachers adding new modules.
2002-10-21 03:00:40 +00:00
moodler
5c0ee23cc3 Now uses real current language (may not be the same as $CFG->lang) 2002-10-13 10:06:01 +00:00
martin
0a260c54f8 Better error (don't need a link) 2002-08-18 15:24:44 +00:00
martin
70442fe3c4 Ah, that's nicer-looking code. (got rid of the HTML header) 2002-08-11 14:22:38 +00:00
martin
65cf9fc390 Improvements to the help system 2002-07-21 08:34:25 +00:00
martin
ed5ab9f7f5 Further internationalisation 2002-07-02 07:09:26 +00:00
martin
be2e8c2ede Changes to the location of help files 2002-06-27 08:46:22 +00:00
martin
229b6580e1 First pass at a simple help system 2002-03-11 03:18:13 +00:00