1. 20 Aug, 2010 1 commit
  2. 04 Jul, 2010 1 commit
  3. 11 Apr, 2010 1 commit
  4. 17 Dec, 2009 2 commits
  5. 01 Nov, 2009 1 commit
  6. 02 Jul, 2009 2 commits
  7. 06 May, 2009 3 commits
  8. 02 Jan, 2009 1 commit
  9. 01 Jun, 2008 2 commits
  10. 03 Mar, 2008 1 commit
  11. 25 Jan, 2008 1 commit
  12. 08 Jan, 2007 1 commit
  13. 25 Nov, 2006 1 commit
  14. 22 Nov, 2006 1 commit
  15. 05 Sep, 2006 1 commit
  16. 16 Aug, 2006 1 commit
  17. 06 Nov, 2005 1 commit
  18. 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
  19. 11 Apr, 2005 1 commit
  20. 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
  21. 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
  22. 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
  23. 22 Nov, 2004 1 commit
  24. 20 Oct, 2004 1 commit
    • defacer's avatar
      Da monster-commit of blocks version 2! · 9b4b78fd
      defacer authored
      Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!
      
      Please test the hell out of it as it's sure to have issues that need to be
      ironed out.
      9b4b78fd
  25. 17 Sep, 2004 1 commit
    • gustav_delius's avatar
      XHTML compliance · 839f2456
      gustav_delius authored
      - fixed (hopefully) all <img> tags
      - global replace on <br> to <br />
      - &amp; in URLs
      - got the forum module XHTML compliant
      Julian Sedding
      839f2456
  26. 13 Sep, 2004 1 commit
  27. 23 Aug, 2004 1 commit
    • defacer's avatar
      Fix for bug 1662: · 2b0d60ec
      defacer authored
      Changed the way applicable formats for blocks are handled. The changes are
      short codewise, but to grasp all the implications read the forum discussion
      at the relevant URL.
      2b0d60ec
  28. 30 Jul, 2004 1 commit
  29. 27 Jul, 2004 1 commit
  30. 29 May, 2004 1 commit
  31. 19 Apr, 2004 1 commit
    • stronk7's avatar
      First Official realease of the "Blocks System". · 0f3fe4b6
      stronk7 authored
      Integrated with Moodle:
          - Install automatically.
          - Update course->blockinfo for each course at installation time.
          - Modified course creation to insert into blockinfo field.
          - Modified restore to insert into blockinfo field.
          - Admin options (hide, show, delete, config) from admin page.
          - Lang strings inserted (en only).
          - Database support to mysql and postgresql (not tested!!).
      Moodle, backup and block versions updated to 2004041800.
      Tested with mysql: Install fresh and upgrade from previous.
      section_activities block renamed to social_activities and created
      its own lang file to support name "Social Activities". This can
      be changed at any time.
      
      TODO:
      =====
      Support it really in backup/restore.
      ????
      
      Enjoy!! Ciao :-)
      0f3fe4b6