Commit Graph

36 Commits

Author SHA1 Message Date
Michael Milette cba011942c MDL-42462 - Feedback - Fix for WCAG 2.0 issue with Informational and Error Content Displayed in red
1) The same code used in other Moodle forms is now used in Feedback to display the "There are required fields in this form marked (*/Required field)" message at the top of the screen and each of the asterisks next to required fields.

2) Feedback specific styles (missingrequire, feeback_required_mark), which were used to highlight required and error fields, have been eliminated. These colours are now controlled by the common Moodle styles (mform1, mform, fdescription, required, req and error) that are used throughout the rest of Moodle for a more uniform appearance.

3) Field level error reporting now displays a message instead of just highlighting the field in a similar way that other Moodle forms do.

Affected files:

- /mod/feedback/styles.css
- /mod/feedback/complete.php
- /mod/feedback/complete_guest.php
- /mod/feedback/edit.php
- /mod/feedback/print.php
- /mod/feedback/item/captcha/lib.php
- /mod/feedback/item/info/lib.php
- /mod/feedback/item/multichoice/lib.php
- /mod/feedback/item/multichoicerated/lib.php
- /mod/feedback/item/numeric/lib.php
- /mod/feedback/item/textarea/lib.php
- /mod/feedback/item/textfield/lib.php
- /mod/feedback/lang/en/feedback.php

Signed-off-by: Michael Milette <michael.milette@instruxmedia.com>
2014-04-03 09:25:37 -04:00
Andreas Grabs 25d37fe24c MDL-37800 mod_feedback - item "information" does not appear correctly 2013-02-01 11:44:52 +01:00
Dan Poltawski 0e35ba6ffc MDL-36357 cleanup - remove double semicolons 2012-11-15 09:51:26 +08:00
David Monllao 2c979976e1 MDL-34464 mod_feedback Replace all instances of get_context_instance() with respective context_XXXX class in mod/feedback 2012-07-27 09:13:57 +08:00
Sam Hemelryk d2448b8bd2 Merge branch 'MDL-27675_master' of git://github.com/grabs/moodle 2012-06-21 11:25:07 +12:00
Andreas Grabs e7fc2ff42e MDL-27675 - Feedback module abuses data_submitted 2012-06-06 23:17:35 +02:00
Sam Hemelryk 378eb6f6a2 Revert "Merge branch 'MDL-27675_master_wip' of git://github.com/grabs/moodle"
This reverts commit a09a9be812, reversing
changes made to 08e0aaa173.
2012-05-30 16:34:11 +12:00
Sam Hemelryk 064cac7866 MDL-27675 mod_feedback: Tidy up of phpdocs and scope within feedback mod 2012-05-28 13:38:36 +12:00
Andreas Grabs 9a2c4dbd00 MDL-27675 - Feedback module abuses data_submitted 2012-05-28 00:40:04 +02:00
Petr Skoda 411fd747cf MDL-32735 fix multiple E_STRICT feedback issues 2012-05-06 12:02:54 +02:00
Andreas Grabs 9c5bc7a580 MDL-29804 - Clean up Feedback modules coding style 2011-10-28 00:30:42 +02:00
Aparup Banerjee 7eae2c5ae2 Merge branch MDL-29187-master of git://github.com/samhemelryk/moodle
- resolved conflict.
2011-09-13 13:52:31 +08:00
Sam Hemelryk 63390481c4 MDL-29187 multilang Reviewed the uses of category name and ensured things are being formatted correctly 2011-09-08 09:37:07 +12:00
Sam Hemelryk 8ebbb06adf MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
Sam Hemelryk 80c1289773 MDL-25637 Fixed whitespace 2011-01-24 16:20:30 +08:00
Aparup Banerjee b692e4aa29 Performance MDL-25637 moved static count/sizeof functions out of for loop conditions 2011-01-24 14:51:21 +08:00
Andreas Grabs bf1b9ef70b MDL-24357 - Information on Course in Feedback Module Prints Incorrectly in Show Responses Tab 2010-09-23 22:24:18 +00:00
Petr Skoda 39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Petr Skoda 1d28bdbde1 MDL-24058 removed forgotten addslashes from feedback 2010-09-02 12:34:51 +00:00
Andreas Grabs b8baf0ad03 MDL-23275 - Feedback error also when update a question 2010-08-11 19:25:58 +00:00
Andreas Grabs 9e1aed5330 existing questions now can be saved as new question 2010-06-04 21:12:27 +00:00
Andreas Grabs 6cc1599e09 captcha now uses the recaptcha-plugin and
some code cleanups
2010-06-04 20:21:08 +00:00
Andreas Grabs 73043833e9 MDL-19489 - add conditional branching (my first try) 2010-05-16 20:05:51 +00:00
Andreas Grabs afdb192056 Start replacing tables with div-tags and css-classes 2010-04-30 23:02:30 +00:00
Andreas Grabs 45c2f92aa3 MDL-21227 - convert Feedback to new files api 2010-04-23 23:18:56 +00:00
Andreas Grabs a59ff6b085 MDL-21227 - convert Feedback to new files api 2010-04-23 21:25:27 +00:00
Andreas Grabs 9d5fbd6554 the function feedback_print_item() now is splitted into 3 functions
feedback_print_item_preview()
feedback_print_item_complete()
feedback_print_item_show_value()
Now there is more control over the output
2010-04-21 11:48:49 +00:00
Petr Skoda e372f4c7c1 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [thisdirection,core],[thisdirection,core_langconfig]
AMOS END
2010-04-10 18:26:20 +00:00
Andreas Grabs 51859310b3 no more modification of form outside the form class. All needed data are passed by the _customdata array 2010-04-08 19:32:43 +00:00
Andreas Grabs 01910dff66 changed line - defined('FEEDBACK_INCLUDE_TEST') ... to defined('MOODLE_INTERNAL')... 2010-03-28 10:00:24 +00:00
Andreas Grabs 51129b9922 MDL-21740 - excel-export should use the moodle-excel library 2010-02-28 22:19:30 +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
nicolasconnault 9fad7b201e MDL-19807 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:14:12 +00:00
nicolasconnault d4b1d58ca3 MDL-19807 Converted print_box* to $OUTPUT->box* 2009-08-10 04:59:26 +00:00
agrabs b7a479588a MDL-17721 - feedback items now have a label which is printed on analysing and excel
export
2009-03-13 14:35:25 +00:00
agrabs ed93c78b8e MDL-18529 - the editing textbox of questions now has a with of 80 chars.
additionally I added the item information from feedback for 1.9
2009-03-12 11:04:21 +00:00