Commit Graph

146 Commits

Author SHA1 Message Date
Andrew Davis (andyjdavis) b38e2e28a1 MDL-27829 blocks: altered the algorithm used to find plugin page types 2011-06-27 12:27:41 +08:00
Dongsheng Cai b1627a92e5 MDL-26105 Block settings should contains less options, and be more user friendly
AMOS BEGIN
    MOV [page-blog-index, pagetype], [page-blog-index, blog]
    MOV [page-blog-x, pagetype], [page-blog-x, blog]
    MOV [page-tag-x, pagetype], [page-tag-x, tag]
    MOV [page-course-view-weeks, pagetype], [page-course-view-weeks, format_weeks]
    MOV [page-course-view-weeks-x, pagetype], [page-course-view-weeks-x, format_weeks]
    MOV [page-course-view-topics, pagetype], [page-course-view-topics, format_topics]
    MOV [page-course-view-topics-x, pagetype], [page-course-view-topics-x, format_topics]
AMOS END
2011-06-09 13:51:14 +08:00
Sam Hemelryk 2b04c41c58 MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes
* Added the component and ratingarea fields and implemented it throughout
  the rating API as mandatory fields
* Cleanup rating indexes
* Upgrade forum/data/glossary ratings
* Moved the logic in the render_rating method to methods of the rating object.
* Added new callback for checking ratingareas
* Cleaned comments here and there
* Mark the xxx_get_participants methods as deprecated
* Refactor rate_ajax and ratingsuser_can_view_aggregate methods
* Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
* Added missing properties of the rating object that were being set throughout the rating
  API.
2011-05-23 12:35:39 +02:00
Dan Marsden e076641f77 CHOICE MDL-24102 fix tabs in code 2010-11-19 02:57:35 +00:00
Petr Skoda 516c5eca68 MDL-24698 hopefully fixed all completion_info problems 2010-11-17 06:23:56 +00:00
Sam Marshall bc499733f8 Choice: MDL-20440 Added completion support to Choice (mark completed when user makes choice) 2010-10-14 14:58:43 +00:00
Petr Skoda 39790bd805 MDL-24321 switching to stdClass in /mod/ 2010-09-21 08:37:36 +00:00
Petr Skoda 034ef76129 improved spelling 2010-09-18 12:31:20 +00:00
Petr Skoda 72d2982eb1 hmm, it is reset course not courses 2010-09-18 12:08:16 +00:00
Petr Skoda 91421f3ead a few spelling fixes 2010-09-18 12:07:01 +00:00
Petr Skoda 9d97f08e99 MDL-14679 fixed multiple old style insert_record calls, we throw exceptions now from DML 2010-09-03 16:26:04 +00:00
Rossiani Wijaya f7e9300061 MDL-23867 - removing some extra whitespaces. 2010-08-20 02:40:13 +00:00
Rossiani Wijaya 9d624d6694 MDL-23867 - fixed errors when there are no enrolled users.
also fixed incomplete use of moodle_url (MDL-19805).
2010-08-19 10:35:30 +00:00
Rossiani Wijaya 315d4971f3 MDL-20508 - update choice module to fix accessibility issue and eliminate the use of table. 2010-07-23 03:55:06 +00:00
Dan Marsden b723a4f88c Choice MDL-18602 - don't need these extra sql calls. - thanks to Brian Gray for pointing it out! 2010-07-16 00:55:54 +00:00
Dan Marsden 9b854b2d21 Choice MDL-23089 use correct strings - thanks to Brian Gray for report/fix 2010-07-05 22:56:24 +00:00
Dan Marsden c83d9e12b9 Choice MDL-23088 fix old get_record call - thanks to Brian Gray for report/patch 2010-07-05 22:44:39 +00:00
Petr Skoda 3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +00:00
David Mudrak 995f2d51d7 MDL-12192 Language specific label separator instead of hardcoded ': '
New string is available. Use get_string('labelsep', 'langconfig') to be used
as a separator between a label and the labelled text. If you want to
produce <label> HTML element, you may be interested in the new
html_writer::label() method. Simple selects and URL selects now use it.

There are bambillion places where ': ' is hardcoded as a separator. I do
not think we have to fix them manually now (and mass search and replace
would be tricky) but everybody should stop adding new.

Do not abuse 'labelsep' for any other purposes. Note that it may not be
colon in some languages or sites.
2010-07-02 12:15:36 +00:00
Patrick Malley a82fb0b629 Adding classes to lesson module 2010-05-03 17:35:21 +00:00
Eloy Lafuente 98baf0d721 MDL-22234 backup - implement choice backup (used for backup tutorial) 2010-04-29 00:00:41 +00:00
Sam Hemelryk 3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Petr Skoda 4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Sam Hemelryk 0b29477be9 navigation MDL-21565 Update this xxx is now automatically added to the nav for all modules by default and is renamed to settings as that is what was being used in the tabs system presently anyway.
The following minor changes were also made:
* Added roles links to the navigation automatically
* Handling of block context for settings navigation
* Tidied up init code for settings navigation
2010-03-22 03:04:00 +00:00
Petr Skoda 26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
Petr Skoda edc28287b2 MDL-21577 converting select auto submit code 2010-02-10 16:20:28 +00:00
Petr Skoda 2d65597b6c MDL-21403 removing ->asap() used for flicker-lessremoval of go button, no use .hiddenifjs class instead 2010-01-26 09:32:21 +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
Petr Skoda 812dbaf7d5 MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars 2009-12-27 19:47:21 +00:00
Sam Hemelryk 56115eea49 navigation MDL-21177 Removed erroneous DB queries from module extension calls 2009-12-24 02:06:05 +00:00
Petr Skoda afb6f77dd9 MDL-20929 fixed input validation 2009-11-22 11:09:11 +00:00
Petr Skoda adef30995b MDL-20901 fixed input validation 2009-11-21 15:16:09 +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 97011c648c mod-choice MDL-20248 Upgraded choice module to use the new navigation blocks 2009-09-10 07:51:53 +00:00
nicolasconnault d3fd549372 MDL-19805 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:43:12 +00:00
nicolasconnault 7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault 5ddd4e0678 MDL-19805 Migrated calls to print_heading 2009-08-06 08:23:57 +00:00
nicolasconnault 49c8c8d27e MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions. 2009-08-04 02:05:32 +00:00
nicolasconnault dc58020794 MDL-19756 Refactored JS code from SCORM and choice modules into the core function submit_form_by_id() 2009-07-28 11:24:57 +00:00
nicolasconnault db8935ef42 MDL-19805 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:33:34 +00:00
samhemelryk 9f3193726c javascript MDL-16706 Removed inline script call in mod choice and scorm 2009-06-23 01:18:22 +00:00
skodak 17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
skodak 7826abc79f MDL-18293 $DB->something is using exceptions, no need for ifs there, removing useless strings 2009-06-03 20:25:27 +00:00
samhemelryk 750eb4343a mod lib MDL-19294 Corrected package tag 2009-05-27 08:09:13 +00:00
samhemelryk b2d5a79a35 mod MDL-19294 Corrected package tags to docs spec 2009-05-27 05:33:12 +00:00
samhemelryk 4636bf8380 choice data MDL-19294 Boilerplate and Phpdocs 2009-05-27 04:06:19 +00:00
skodak dc5c2bd9eb MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:17:21 +00:00
skodak 42f103be4c MDL-18910 moving modedit features to modname_supports() 2009-04-21 08:57:20 +00:00
danmarsden 4b5ee1bf34 Choice MDL-18600 fix sort to be sorted by surname,firstname - thanks to Mihai Sucan for the fix 2009-03-26 21:23:25 +00:00
danmarsden 82ab7cb535 MDL-18092 - better checking for empty vars when no users are in course. wrong place for empty check! 2009-02-09 09:33:50 +00:00