Commit Graph

31 Commits

Author SHA1 Message Date
Marina Glancy
97d71cbc3a MDL-53638 mod_feedback: convert to moodleforms 2016-04-27 13:28:43 +08:00
Marina Glancy
4832a0b3dd MDL-53227 mod_feedback: merge files complete_guest.php and complete.php
Simplify access check, add behat tests
2016-03-18 07:54:59 +08:00
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
Sam Hemelryk
9714baa1bb MDL-44155 mod_feedback: unified @package use 2014-02-18 10:50:13 +13:00
Rossiani Wijaya
8c6ca6961a MDL-42339 - removed double formatting for set_title() and set_heading() 2014-02-05 14:47:23 +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
Petr Skoda
cdbea7eed1 MDL-31607 use full course object for require_login() if already available
This eliminates 1 db query.
2012-04-22 17:41:47 +02:00
Andreas Grabs
9c5bc7a580 MDL-29804 - Clean up Feedback modules coding style 2011-10-28 00:30:42 +02:00
Rossiani Wijaya
dfc511888f MDL-20447 - add heading to the page and fix navbar content. 2010-05-28 03:38:41 +00:00
Andreas Grabs
38b5a5e2bb adding more infos on overview-tab
adding a preview-icon on header
adding a missing help-string
2010-05-04 21:21:36 +00:00
Andreas Grabs
31c0fa53b0 Start replacing tables with div-tags and css-classes 2010-05-02 12:00:56 +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
Andreas Grabs
b6f2600152 correction of $cm, $course, $feedback setup 2010-04-02 21:26:17 +00:00
Andreas Grabs
53ba55eca2 insert calls to require_capability() 2010-04-02 20:38:17 +00:00
Andreas Grabs
c987dbad0e removed all calls to feedback_load_capabilities() 2010-04-02 11:34:28 +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
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
84973212c4 mod-feedback MDL-19807 Added set_url calls, replaced deprecated functions 2009-09-24 06:11:39 +00:00
samhemelryk
84f797db5d feedback MDL-19807 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 08:10:42 +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
nicolasconnault
c6ea08764b MDL-19807 Converted all print_footer() calls 2009-08-06 14:15:15 +00:00
nicolasconnault
53b1f5da00 MDL-19807 Migrated calls to print_heading 2009-08-06 08:20:46 +00:00
dongsheng
ff9b4ea40a "MDL-17570,clean align property, merged from 1.9" 2008-12-10 07:24:11 +00:00
dongsheng
5d2edd1ce9 "MDL-14129, fixed hardcoded print_error in feedback module" 2008-09-25 08:47:55 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
0085fff8b2 MDL-15107 feedback dml conversion 2008-06-07 22:22:06 +00:00
agrabs
efc5916754 fixed issue MDL-14531
added an option to switch autonumbering on or off
2008-04-30 22:17:04 +00:00
agrabs
6178c62a9a fixed required_sesskey missing on complete_guest.php
added grouping feature (it have to be tested yet)
2008-04-28 21:19:27 +00:00
moodler
c70ad9f736 MDL-14493 First checkin of Feedback module into HEAD.
I made a number of small tidy-ups to the contrib version before adding this here:

  - fixed some language string names
  - renamed a capability from deletecompleteds to deletesubmissions (can we use "submissions" everywhere?)
  - got rid of language packs (moved english to correct location)
  - deleted 'pics' type (it needs to be rewritten to use user files in moodledata)
  - moved changelog into README.txt
  - moved captcha font out of subdir
  - bumped version to today

Thanks very much to Andreas Grabs for all your work on this module so far, and congratulations!   :-)
2008-04-23 09:33:54 +00:00