6218 Commits

Author SHA1 Message Date
tjhunt
7d87171ba9 MDL-9565 - Question preview links don't work in developer debug mode, and not XHTML strict. Merged from OU Moodle. 2007-04-24 16:59:32 +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
stronk7
1ba1b3977a Now resource/view.php?r=XXX links are recoded properly in backup/restore. MDL-9450
Merged from MOODLE_18_STABLE
2007-04-22 22:07:03 +00:00
skodak
a33bbfddfc (MDL-9470) Survey submission JS broken; merged from MOODLE_18_STABLE 2007-04-20 17:52:41 +00:00
nicolasconnault
77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
cataluke
b99b25ea04 MDL-8569 - mod/data sorting by numerical field now works with PostgreSQL
Author: Luke Hudson <luke@catalyst.net.nz>
2007-04-18 02:11:09 +00:00
skodak
a32fa3588a MDL-9387 Message "Adding discussions to this forum requires group membership" if not logged; nerged from MOODLE_18_STABLE 2007-04-17 08:36:58 +00:00
cataluke
c8c765c0ab MDL-7856 - make database search case-insensitive for PostgreSQL too.
Author: Andrew Walbran <andrew.walbran@catalyst.net.nz>
Committer: Luke Hudson <luke@catalyst.net.nz>
2007-04-17 05:41:31 +00:00
mattc-catalyst
4e5d3c9728 mod/wiki: HTML fix
<![CDATA tags were being lowercased preventing Firefox from displayign the
page in standards compliance mode.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 23:21:59 +00:00
mattc-catalyst
f8c609e4a9 mod/exercise: HTML fixes
Fixed errors in HTML causing parser errors in Firefox when in developers
debug mode.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 23:20:39 +00:00
mattc-catalyst
04bc70fc26 mod/scorm: HTML fix
Fixed and HTML causing a parser error in Firefox when in developer debug
mode.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 23:18:32 +00:00
mattc-catalyst
eee75231c1 mod/glossary: HTML fixes
Fixed HTML errors causing parser errors in Firefox when in developer debug
mode.


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 23:16:25 +00:00
mattc-catalyst
859d05a03e mod/journal: HTML fixes
Fixed HTML errors causing parser errors in Firefox when in developer debug
mode.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 23:12:26 +00:00
mattc-catalyst
06dfa0cc33 Breadcrumbs: mod/resource changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:57:09 +00:00
mattc-catalyst
236387ab93 Breadcrumbs: mod/journal changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:43:05 +00:00
mattc-catalyst
ec55218d98 Breadcrumbs: mod/hotpot changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:40:46 +00:00
mattc-catalyst
a46ed6f917 Breadcrumbs: mod/exercise changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:38:34 +00:00
mattc-catalyst
e210cd9447 Breadcrumbs: mod/workshop changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:35:36 +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
mattc-catalyst
dc0e9265f6 Breadcrumbs: mod/survey changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:29:42 +00:00
mattc-catalyst
afd97d1c9d Breadcrumbs: mod/scorm changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:27:08 +00:00
mattc-catalyst
9ac0c1b328 Breadcrumbs: mod/quiz changes
- Modified to use build_navigation() for breadcrumb generation.
- Removed print_header method is now provided by base class.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:23:17 +00:00
mattc-catalyst
f8513eca8d Breadcrumbs: mod/lesson changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:20:20 +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
mattc-catalyst
e3f58dfb4e Breadcrumbs: mod/forum changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:12:29 +00:00
mattc-catalyst
ad7767be7a Breadcrumbs: mod/data changes
- Modified to use build_navigation() for breadcrumb generation.
- Removed print_header method is now provided by base class.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:05:21 +00:00
mattc-catalyst
161fbddf13 Breadcrumbs: mod/choice changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:02:24 +00:00
mattc-catalyst
160addd2b2 Breadcrumbs: mod/chat changes
- Modified to use build_navigation() for breadcrumb generation.
- Removed print_header method as base class now provides this
  functionality.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 20:59:17 +00:00
mattc-catalyst
b9dc2734a3 Breadcrumbs: mod/assignment changes
- modified to use build_navigation() for creating breadcrumbs.


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 20:52:48 +00:00
stronk7
f5ae7c498e Fixed quesry to work agains Oracle. Repeated fields + limit
are incompatible (and not needed) for Oracle. MDL-9321

Merged from MOODLE_18_STABLE
2007-04-16 14:43:57 +00:00
skodak
61da828a31 MDL-9226 missing closing label tag - patch by Mark Scherfling; merged from MOODLE_18_STABLE 2007-04-15 17:19:35 +00:00
nicolasconnault
ff406a88da MDL-9220 Only fixed 1.8, since 1.7 doesn't seem affected. 2007-04-13 02:42:49 +00:00
tjhunt
15aa9df958 MDL-5799 - quiz previews were sometimes showing up in the quiz overview report. Merged from MOODLE_18_STABLE. 2007-04-12 20:11:27 +00:00
tjhunt
99ba746d29 MDL-6368 and MDL-6369 - allow question type plugins to easily provide some bits of Javascript and CSS.
If there are any of the files styles.css, styles.php, script.js or script.php in the plugin folder, they will be linked to in the head of the quiz attempt page (only for the question types used on that page).

If you need to do something more complicated in your question type, you can override the get_html_head_contributions method instead.
2007-04-12 15:58:32 +00:00
stronk7
73710a4679 Fixing typo causing some (a few) sites to break on upgrade. Credit
goes to Rafa Gutierrez. MDL-9316

Merged from MOODLE_18_STABLE
2007-04-12 15:34:47 +00:00
csantossaenz
eb0e9d9da7 Fixed problem for the Moodle 1.7 scorm packages which didn't show the structure when you updated your version to 1.8. Now is possible to access to that structure and to each sco as well. 2007-04-12 10:31:33 +00:00
csantossaenz
9d759a0e85 Fixed problem with scorm_get_sco to connect with the API when there is no data in the scorm_scoes_data table. 2007-04-12 10:28:51 +00:00
nicolasconnault
1670305df4 Added a few more comments 2007-04-12 05:59:09 +00:00
nicolasconnault
1f11c89751 Typo, sorry 2007-04-12 05:01:09 +00:00
nicolasconnault
0a4ac01b3e Converted all function comments to PHPdoc style, and added stub phpdocs for functions without comments. 2007-04-12 04:25:47 +00:00
nicolasconnault
e2c51b2dfb MDL-9223 Fixed a coding error: $group->id changed to $discussion->groupid 2007-04-12 02:23:28 +00:00
tjhunt
dcc2ffde63 MDL-9082 - moodle/question:manage does not let you create questions. Also: * remove useless option from print_question_icon * use the right module context in question_list * a bit of XHTML strrrict in question_list Merged from MOODLE_18_STABLE. 2007-04-11 22:57:46 +00:00
tjhunt
807ae30aaa MDL-9079 - Paging broken in quiz overview report. Merged from MOODLE_17_STABLE. 2007-04-11 20:38:02 +00:00
tjhunt
86ccf19cdb MDL-9280 - JavaScript countdown timer did not work in 1.8 due to XHTML strict changes. Also, fixing a few more XHTML strrrrict things in attempt.php. Merged from MOODLE_18_STABLE. 2007-04-11 20:07:36 +00:00
nicolasconnault
47c97990b2 MDL-9241 Fixed a typo: used if($mimetype = 'application/x-pdf') instead of == 2007-04-11 06:15:23 +00:00
nicolasconnault
632730fdd7 MDL-9213 Corrected $forum->format to $forum->type 2007-04-11 01:05:28 +00:00
skodak
413efd2200 MDL-7888 rewritten email alerts to graders - "mod/assignment:grade" permission is now used instead of legacy teacher; it should also fix missing alerts when using separate groups; merged from MOODLE_18_STABLE 2007-04-10 14:51:34 +00:00
tjhunt
26d12a0c16 quiz/locallib.php clean up:
* Tidy up comment layout.
 * Strip trailing whitespace.
2007-04-10 14:37:36 +00:00
tjhunt
50d7b53ecb attempt.php refactor.
* Move all output code to the end.
 * Make comment style consistent.
 * Trim trailing whitespace from lines.
2007-04-10 14:27:56 +00:00
tjhunt
dc6c8ca1ac Minor cleanups to the quiz code. 2007-04-10 13:02:09 +00:00