Commit Graph

147 Commits

Author SHA1 Message Date
Dan Poltawski 1804b7c1bc MDL-32508 course/formats: Respect single page course display mode
Topics and weeks have been converted to use a shared renderer to output
their content.

Note, I started with good intentions but this renderer has mixed
paradgims due to fast and cheap winning out on the trinity.

AMOS BEGIN
   MOV [currenttopic,access],[currentsection,format_topics]
   MOV [currentweek,access],[currentsection,format_weeks]
AMOS END
2012-05-04 10:53:01 +08:00
Dan Poltawski 45774bddf7 MDL-32508 course: Switch to 'section' URL param
This is a course format independent url param and replaces weekly/topic specific params.
By using a standardised param we are able to use this url consistenly across the codebase
and reduce the risk of param collision
2012-05-04 10:52:58 +08:00
Dan Poltawski 3fe600aacf MDL-32505 course formats: zooming feature be gone! 2012-05-04 10:52:57 +08:00
Dan Poltawski b9bcdb54da MDL-32505 course: drop course_display table and settings 2012-05-04 10:52:56 +08:00
Ruslan Kabalin d95b77bdb7 MDL-32657: Add format.js for topics format and remove default
Using topics format as default is not a great idea, as we can end up
half-working dragdrop for some formats. With the current soiution, drag-drop
will not work for format, unless required js functions have been created in
format.js
2012-05-02 09:42:06 +01:00
Ruslan Kabalin 15e2552f00 MDL-31216 Create dragdrop course module 2012-04-23 21:28:39 +01:00
Andrew Robert Nicols ebaa29d107 MDL-31096 Convert course resource/section javascript to YUI3 Module
AMOS BEGIN
  MOV [hideweekfromothers,moodle],[hidefromothers,format_week]
  MOV [showweekfromothers,moodle],[showfromothers,format_week]
  MOV [hidetopicfromothers,moodle],[hidefromothers,format_topics]
  MOV [showtopicfromothers,moodle],[showfromothers,format_topics]
AMOS END
2012-04-23 21:28:39 +01:00
Eloy Lafuente (stronk7) bb77ead0a4 Merge branch 'MDL-31255-master-3' of git://git.luns.net.uk/moodle 2012-03-07 00:18:27 +01:00
Ruslan Kabalin 93d46f4802 MDL-31255 Fix move of highlighted section when JS is off 2012-02-29 09:08:58 +00:00
Andrew Robert Nicols 7aefaa91c9 MDL-31245 Add missing 'icon' class to highlight button in topics format 2012-01-18 14:12:09 +00:00
Andrew Robert Nicols 75cd9d2ab6 MDL-30362 Change icon class for editsection icons in course formats 2011-12-07 14:58:10 +00:00
Sam Hemelryk 71e0b3b5c7 MDL-29188 multilang Reviewed the uses of section name and ensured things were being formatted consistently 2011-09-08 09:27:38 +12:00
Dan Poltawski f40bbf7dce MDL-25417 - remove redunant code 2011-08-05 12:06:57 +01:00
Aparup Banerjee 13801a49a2 MDL-23939 lazy load course_display with new course_get_display()
This change speeds up user login and makes the session smaller.
2011-02-12 22:45:17 +01:00
sam marshall 563e97b8b9 completion MDL-25927 Change print_help_icon to display_help_icon (returns html instead of printing) 2011-01-10 13:04:54 +00:00
Petr Skoda 516c5eca68 MDL-24698 hopefully fixed all completion_info problems 2010-11-17 06:23:56 +00:00
Sam Hemelryk 367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Petr Skoda 36b1c872a3 MDL-24927 fixed orphaned activities regression when single topic selected 2010-10-29 20:01:21 +00:00
Sam Hemelryk 45390cf744 course-format-topic MDL-24680 Fixed XHTML bug that was destroying page layout. 2010-10-28 03:32:40 +00:00
Petr Skoda 46b2346b57 MDL-24316 new lang string, improved visualisation 2010-10-14 10:20:30 +00:00
Petr Skoda 04cc7da3e4 MDL-20366 removing the ability to add new activities to invisible sections, I do not think we should encourage this kind of tricks 2010-10-14 10:02:32 +00:00
Petr Skoda 4cac68ab13 MDL-24316 adding support for stealth sections on course edit page - work in progress, we need to decide how to visualise it and what lang strings to use 2010-10-13 20:17:56 +00:00
Petr Skoda fbaea88faa MDL-24321 switching to stdClass in /c*/ 2010-09-21 08:13:11 +00:00
Petr Skoda f685e83030 MDL-14679 fixed remaining old style set_field()s 2010-09-03 18:14:55 +00:00
Sam Hemelryk 47e75d04b8 course MDL-23996 section names now used in jump to menu 2010-08-30 01:32:45 +00:00
Eloy Lafuente 1459becf88 NOBUG fixed notice - when creating missing sections 2010-07-21 23:27:13 +00:00
Petr Skoda 64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Rossiani Wijaya 6b0034a695 MDL-20475 - add skip to 'maincontent' handler. 2010-06-23 09:57:45 +00:00
Petr Skoda f9f952e89a fixed more annoying notices 2010-05-30 22:49:18 +00:00
Sam Hemelryk e34a326f72 course-section MDL-22262 Added a summaryformat field to the database and implemented it when editing/viewing sections and backup 2010-05-27 03:07:54 +00:00
Sam Hemelryk b767607103 course MDL-20628 Fixed up topics so section names are printed on view 2010-04-23 08:00:30 +00:00
Sam Hemelryk 7e18467262 course-format MDL-22071 Added clearfix class to section lis 2010-04-15 02:04:28 +00:00
Petr Skoda e926e953a3 MDL-22015 removing obsolete TODOs 2010-04-14 14:38:56 +00:00
Petr Skoda 3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
Petr Skoda 6fe3775a2d MDL-20204 some more steps away from html_select 2010-02-09 19:50:11 +00:00
Petr Skoda 6597e6b7ae MDL-20601 added missing covnersion of url placeholders 2010-02-07 12:58:25 +00:00
Petr Skoda 279d11c959 MDL-21400 removed unnecessary includes 2010-01-21 22:43:53 +00:00
Petr Skoda 4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Petr Skoda b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
Sam Hemelryk 8bdc9cacad files MDL-20601 Conversion of many of the uses of print_textarea, and the mforms htmleditor to the new editor
Please forgive me if I have missed converting any output statements. If you do find an output statement that is not formatting correctly please refere to the table I added to this bug in regards to how it should be formatted.
2009-11-04 06:14:06 +00:00
rwijaya ddc660600a course/view MDL-20123 section 0 visibility and highlight 2009-10-21 06:25:21 +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 82fcab32c1 MDL-19794 Converted calls to popup_form() 2009-08-10 03:35:14 +00:00
nicolasconnault 64e12bb710 MDL-19794 Converting calls to popup_form() 2009-08-08 09:31:01 +00:00
nicolasconnault 27ca34af62 MDL-19794 Upgraded calls to print_heading_block 2009-08-06 01:25:52 +00:00
nicolasconnault 69e80c0502 MDL-19794 Updated topic and course format's use of popup_form for temporarily working with new outputlib code. Will eventually need proper upgrading. 2009-07-30 03:48:08 +00:00
tjhunt d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
tjhunt 6b608f8f50 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
sam_marshall e3568fde9c MDL-19692: Improvement to help icon for completion tickboxes, based on user testing 2009-07-02 09:18:26 +00:00