1. 06 Jan, 2014 1 commit
  2. 10 Sep, 2013 1 commit
  3. 30 Jul, 2013 1 commit
    • Sam Hemelryk's avatar
      MDL-39814 frontend: pre-integration fixes: · ea5a01fb
      Sam Hemelryk authored
      * Fixed IE8 display of icons.
      * Fixed blocks using course renderer.
      * Fixed behat tests.
      * codecheckers fixes
      * Removed alt from icons with descriptive text
      * Tweaked actionmenu initialisation for performance
      ea5a01fb
  4. 14 Jan, 2013 4 commits
  5. 15 Oct, 2012 2 commits
  6. 24 Jul, 2012 1 commit
  7. 26 Jan, 2011 1 commit
    • sam marshall's avatar
      lib MDL-25981 Improved modinfo · 0d8b6a69
      sam marshall authored
      This commit:
      a) moves modinfo code into new library modinfolib.php
      b) uses classes instead of stdClass objects, allowing a huge amount of documentation (and IDE completion)
      c) adds hooks so that plugins other than forum can display messages like forum's 'unread', and plugins other than label can display html (apart from/as well as their view.php link) on the course view page
      d) removes current hacks for forum and label (mainly in print_section but also across the code), replacing with new 'content' and similar variables [this is the reason for the changes in blocks, etc]
      e) reduces size of modinfo in database (only when rebuilt) by excluding empty fields
      
      The change is intended to be backward compatible and does not affect the format of modinfo in database.
      0d8b6a69
  8. 05 Nov, 2010 1 commit
  9. 21 Sep, 2010 1 commit
  10. 20 Aug, 2010 1 commit
  11. 04 Jul, 2010 1 commit
  12. 11 Apr, 2010 1 commit
  13. 17 Dec, 2009 2 commits
  14. 01 Nov, 2009 1 commit
  15. 02 Jul, 2009 2 commits
  16. 06 May, 2009 3 commits
  17. 02 Jan, 2009 1 commit
  18. 01 Jun, 2008 2 commits
  19. 03 Mar, 2008 1 commit
  20. 25 Jan, 2008 1 commit
  21. 08 Jan, 2007 1 commit
  22. 25 Nov, 2006 1 commit
  23. 22 Nov, 2006 1 commit
  24. 05 Sep, 2006 1 commit
  25. 16 Aug, 2006 1 commit
  26. 06 Nov, 2005 1 commit
  27. 10 May, 2005 1 commit
    • defacer's avatar
      · 4fad3618
      defacer authored
      I 'm fed up with the crappy HTML for blocks that keeps giving us
      no end of trouble (bug 1718 is just the tip of the iceberg).
      
      Rehauling things... these two divs are superfluous.
      4fad3618
  28. 11 Apr, 2005 1 commit
  29. 03 Mar, 2005 1 commit
    • defacer's avatar
      · 3ef642d9
      defacer authored
      Implemented discussion from bug 2547:
      
      * Block authors no longer need to set $this->content_type
      * If you want to make a "list" block, just derive from block_list
        instead of block_base
      * All switch() statements gone from library code
      * Overloaded method is_empty() added to block classes for convenience
      3ef642d9
  30. 08 Feb, 2005 1 commit
    • defacer's avatar
      · 8a47e075
      defacer authored
      Changing the way that applicable formats for each block are defined:
      
      The format for each page is now the same as the id attribute of the
      BODY tag, which in turn is a simple function of the script's relative path:
      
      The format for e.g. a quiz view page is "mod-quiz-view". The format for the
      site index is "site-index". Exception: the format for courses is not just
      "course-view", but "course-view-weeks" etc.
      
      Obviously the applicable_formats() override for each block should now take
      this into account. The matching rules now are:
      
      * You can specify the full format, e.g. "mod-quiz-view" => true
        will allow the block to be added in quizzes
      * Prefixes match the full page format, e.g. "mod" matches ALL activities
      * You can use "*" as a wildcard, e.g. "mod-*-view" matches just the view.php
        page of all activities
      * These rules interoperate, thus "mod-*" is the same as "mod"
      * "all" remains as a catch-all situation
      8a47e075
  31. 24 Nov, 2004 1 commit
    • defacer's avatar
      · e89d741a
      defacer authored
      New naming conventions for class names to bring them in line with the
      rest of Moodle. The convention for blocks is now:
      
      class block_something extends block_base { ... }
      
      HOWTO updated accordingly, plus some more minor polishing. More to come.
      e89d741a