1. 12 Feb, 2005 2 commits
  2. 02 Feb, 2005 2 commits
    • defacer's avatar
      · 60fe9736
      defacer authored
      Updating index page with all the latest from blocklib and pagelib.
      60fe9736
    • defacer's avatar
      · c1d8705f
      defacer authored
      Change the semantics of blocks_print_adminblock() to make life easier to
      developers who use pages. Conversely simplified the code a bit in courses.
      c1d8705f
  3. 31 Jan, 2005 1 commit
    • defacer's avatar
      · 7542a4e5
      defacer authored
      Dropping the use of MOODLE_PAGE_COURSE <gasp>!
      
      The new constant is PAGE_COURSE_VIEW, and it's more streamlined with the
      new CSS-related ids for 1.5. There are great possibilities for the future
      here, so we 're getting ready.
      
      On the other hand, this has to be the ugliest hack I 've ever inflicted
      on any program (look at pagelib.php). Thankfully it will only stay for just
      a little while.
      7542a4e5
  4. 29 Jan, 2005 1 commit
  5. 28 Jan, 2005 1 commit
    • defacer's avatar
      · 5921e0a0
      defacer authored
      Fixed incorrect use of optional_param.
      
      Fixed the double-header bug when configuring a block in the front page,
      as reported in bug #2440. Credits to Dan Marsden for the report and the fix.
      5921e0a0
  6. 25 Jan, 2005 1 commit
  7. 18 Jan, 2005 1 commit
  8. 28 Dec, 2004 2 commits
  9. 29 Nov, 2004 1 commit
    • defacer's avatar
      · 9b128500
      defacer authored
      Fix for bug 2241:
      
      I hope this time I got everything changed to the new Page interface! I 'm
      really sorry for messing up and breaking new installations... :(
      
      Also moved the only two functions of the API outside the page_base class.
      9b128500
  10. 26 Nov, 2004 1 commit
    • defacer's avatar
      · 99110470
      defacer authored
      Somehow I forgot to commit these and the whole page setup wasn't working
      after renaming MoodlePage => page_base.
      99110470
  11. 24 Nov, 2004 1 commit
  12. 13 Nov, 2004 1 commit
    • defacer's avatar
      Pages/blocks code updates: · c8e0b579
      defacer authored
      NEW: The code now supports dynamically plugging your own Pages and block position
      identifiers into Moodle without messing with the main libraries at all.
      
      UPDATE: Many functions in blocklib now use pass-by-reference for speed.
      
      UPDATE: Class MoodlePage has been made more presentable and robust.
      c8e0b579
  13. 09 Nov, 2004 1 commit
    • defacer's avatar
      · f032aa7a
      defacer authored
      MAJOR CHANGES:
      --------------
      
      Brand-new pagelib.php at your disposal! It slices, it dices, it makes your coffee.
      It still doesn't understand women... Read the comments in pagelib.php for a first
      impression. Feedback highly encouraged!
      
      Blocks code has undergone significant changes to work with Pages. Flexibility is its
      middle name, since I think (without having tried it) that adding e.g. a third
      placeholder for "center" blocks in courses, with full support for moving around etc,
      will now take about 15 lines of new or edited code. If you are not impressed yet, I
      suggest watching a documentary on solar physics. :P
      
      MINOR CHANGES:
      --------------
      
      Added instance_allow_config() in the blocks class hierarchy to supplement per-instance
      configuration options. You can override it to return true and thus get configuration
      amenities without allowing multiple instances.
      
      Minor polishing to comments and documentation (whatever caught my eye was game).
      
      Tightened up some code here and there by utilizing all the new features.
      
      BUGFIXES:
      ---------
      
      A bug in restore_execute.html caused hidden blocks to not be restored at all.
      f032aa7a
  14. 07 Nov, 2004 1 commit
  15. 22 Oct, 2004 1 commit
  16. 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
  17. 01 Oct, 2004 2 commits
  18. 13 Sep, 2004 3 commits
  19. 07 Sep, 2004 2 commits
  20. 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
  21. 12 Aug, 2004 1 commit
  22. 09 Aug, 2004 1 commit
  23. 08 Aug, 2004 1 commit
  24. 27 Jul, 2004 1 commit
  25. 09 Jul, 2004 1 commit
  26. 02 Jul, 2004 1 commit
  27. 30 Jun, 2004 1 commit
  28. 20 Jun, 2004 1 commit
  29. 01 Jun, 2004 1 commit
    • defacer's avatar
      Fixes for bug 1485: · df9e0f89
      defacer authored
      Now the site has blocks by default. Also, block panel width is restricted even
      if there are no blocks to display.
      df9e0f89
  30. 28 May, 2004 1 commit
  31. 07 Apr, 2004 1 commit
  32. 13 Mar, 2004 1 commit
  33. 15 Feb, 2004 1 commit