~caelj/spenglr-org/modules-user-stats

Viewing all changes in revision 50.

  • Committer: Cael Kay-Jackson
  • Date: 2008-12-25 02:43:51 UTC
  • Revision ID: z.caeljayj@googlemail.com-20081225024351-2w9yoq34za1jf4ne
 - org_mcq.inc:
   - Fixes:
     - mcq_form():
       - Errors on output when creating new (no solutions present
         because of no data to load, resulting in PHP warnings).
       - Tweaks.
     - Added safety catch to view hook for if solutions couldn't be
       loaded.
     - Bug #311112: Removed "Your form has been saved." message on create
       and edit.
   - Docblocks & code tidyup.
   - Correct solution is now required on the create/edit form.
   - Correct and incorrect solution input fields now have titles. (This
     was necessary for the correct solution to show the 'required'
     indicator, and it looks odd if the same is not done for the incorrect
     solutions).
   - Altered SQL that saves incorrect solutions to table to do it with one
     query for all instead of one for each.
   - Tidied up insertion and update code.
   - Removed redirect on question create/update (done in org_question.module).
 - org_plaintext.inc:
   - Docblocks & code tidyup.
   - Solution input is now required, and has a title attribute (in order
     to show the 'required' indicator).
   - Tidied up insertion and update code.
   - Removed redirect on question create/update (done in org_question.module).
   - Bug #311112: Removed "Your form has been saved." message on create
     and edit.
 - org_question.info: Added dependency on [core] question module.
 - org_question.module:
   - Fixes:
     - Added: hook_access().
     - Bug #311112: Removed "Your form has been saved." message on create
       and edit.
   - Docblocks & code tidyup.
 - Resources:
   - Added dependency on [core] question module.
   - Changed: get_defined_qtypes(), from the API provided by the core question
     module, is now used in place of RESOURCES_SUPPORTED_NODES (which has been
     removed).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: