74 Commits

Author SHA1 Message Date
Sujith Haridasan
73d604369d MDL-71062 core: Step 1 deprecation of print_error function 2022-07-13 08:20:54 +05:30
Ilya Tregubov
9e5ffa2229 Merge branch 'MDL-72095-master-3' of https://github.com/bmbrands/moodle 2021-12-13 18:46:16 +02:00
Peter Dias
7e5b0f6289 MDL-72413 feedback: Use the common module for setting the header 2021-12-13 09:49:34 +08:00
Bas Brands
946fd915e2 MDL-72095 theme_boost: max width for activity pages 2021-12-08 17:29:49 +01:00
Peter Dias
773051b98f MDL-71914 mod_feedback: Add tertiary nav in feedback 2021-10-26 11:21:32 +08:00
Marina Glancy
c04dc3ca13 MDL-53638 mod_feedback: JS confirmation of deleting item 2016-04-27 16:04:44 +08:00
Marina Glancy
97d71cbc3a MDL-53638 mod_feedback: convert to moodleforms 2016-04-27 13:28:43 +08:00
Marina Glancy
df003a85f0 MDL-53443 mod_feedback: templates code clean up and behat tests 2016-04-13 09:21:33 +08:00
Marina Glancy
42756192d7 MDL-53129 mod_feedback: forms cleanup and behat tests 2016-02-23 13:17:21 +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
Eloy Lafuente (stronk7)
b629de817a Merge branch '44155-27' of git://github.com/samhemelryk/moodle 2014-02-18 00:54:28 +01:00
Sam Hemelryk
9714baa1bb MDL-44155 mod_feedback: unified @package use 2014-02-18 10:50:13 +13:00
Andrew Nicols
af64bc6179 MDL-33099 Javascript: Deprecate the ajaxenabled function 2014-02-17 14:11:21 +08:00
Rossiani Wijaya
8c6ca6961a MDL-42339 - removed double formatting for set_title() and set_heading() 2014-02-05 14:47:23 +08:00
Rossiani Wijaya
846cebe5b3 MDL-40687 Feedback: improve page heading levels and layouts 2013-09-09 09:48:05 +08:00
Ankit Agarwal
0601e0eef6 MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core 2013-07-04 15:41:06 +08:00
Andreas Grabs
205c61898d MDL-36990 mod_feedback - remove single move icon, prevent autoscrolling 2013-03-13 07:32:04 +01:00
Andreas Grabs
c76b19bf37 MDL-36990 feedback - added check for ->enableajax 2013-03-09 16:16:44 +01:00
Andreas Grabs
3fa1aec8f8 MDL-36990 mod_feedback - moved css selectoren into constants 2013-03-09 16:16:40 +01:00
Andreas Grabs
bdd694fd85 MDL-36990 mod_feedback - migrated the yui dragdrop stuff into a yui module 2013-03-09 16:16:40 +01:00
Andreas Grabs
fa9ea3e703 MDL-36990 mod_feedback - correct some comments 2013-03-09 16:16:38 +01:00
Andreas Grabs
67e12ed2fd MDL-36990 mod_feedback - removed unneeded parameters for js 2013-03-09 16:16:36 +01:00
Andreas Grabs
00cd08b0e9 MDL-36990 mod_feedback - change double with single quoted strings 2013-03-09 16:16:36 +01:00
Andreas Grabs
e4d1546116 MDL-36990 - fix position of target boxes with disabled javascript 2013-03-09 16:16:33 +01:00
Andreas Grabs
f94e501b23 MDL-36990 - item-position text change on dragdrop 2013-03-09 16:16:32 +01:00
Andreas Grabs
590378bdbf MDL-36990 - first try of a dragdrop version 2013-03-09 16:16:31 +01: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
Andrew Robert Nicols
536328fb0a MDL-32065 Allow feedback images to be themed 2012-03-15 11:48:21 +00:00
Andreas Grabs
9c5bc7a580 MDL-29804 - Clean up Feedback modules coding style 2011-10-28 00:30:42 +02:00
Eloy Lafuente (stronk7)
22ca3e49e0 NOBUG - whitespace fixes (MDL-19488, MDL-27242, MDL-29435) 2011-10-17 10:19:59 +02:00
Andreas Grabs
7b1126fd20 MDL-19488 - allow the creation of a "Public" feedback 2011-10-13 11:10:15 +02:00
Andreas Grabs
e70dab0646 MDL-19488 - allow the creation of a "Public" feedback 2011-10-13 11:10:15 +02:00
Andreas Grabs
485ec5941e MDL-19488 - allow the creation of a "Public" feedback 2011-10-13 11:10:14 +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
73043833e9 MDL-19489 - add conditional branching (my first try) 2010-05-16 20:05:51 +00:00
Andreas Grabs
9d092aa91c adding line $PAGE->set_heading(format_string($course->fullname)); 2010-05-09 21:37:48 +00:00
Andreas Grabs
71720abd2f public templates deactivated 2010-05-02 22:17:26 +00:00
Andreas Grabs
31c0fa53b0 Start replacing tables with div-tags and css-classes 2010-05-02 12:00:56 +00:00
Andreas Grabs
afdb192056 Start replacing tables with div-tags and css-classes 2010-04-30 23:02:30 +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
9fffbfc0fa MDL-21695 example of help_icon() conversion
AMOS BEGIN
 HLP feedback/preview.html,[preview_hlp,mod_feedback]
AMOS END
2010-04-13 22:08:28 +00:00
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +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
Andreas Grabs
5dee2210f4 Non standard codingstyle,
replaced some urls with use of moodle_url class
2010-03-28 15:29:49 +00:00
Andreas Grabs
7e55c2ef9c MDL-21739 - Error: Invalid course module ID on edit_item.php 2010-02-28 21:44:47 +00:00
Andreas Grabs
d5e51c5a1c MDL-21739 - Error: Invalid course module ID on edit_item.php 2010-02-28 18:56:20 +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