1. 15 Jun, 2015 3 commits
    • Aaron Wells's avatar
      Reorganizing theme files: Adding "plugintype"; eliminating "static". · 5d7bdaea
      Aaron Wells authored
      Bug 1465107: Use Bootstrap CSS Framework
      
      1. Moving all the pluginfiles for themes into a "plugintype" directory. So
      e.g. htdocs/theme/raw/blocktype/clippy/templates/clippy.tpl becomes
      htdocs/theme/raw/plugintype/blocktype/clippy/templates/clippy.tpl.
      
      2. Moving all the things under "static" in themes, to the theme's root.
      So htdocs/theme/raw/static/style/style.css becomes htdocs/theme/raw/style.css
      and htdocs/theme/raw/blocktype/clippy/static/images/clippy.png becomes
      htdocs/theme/raw/blocktype/clippy/images/clippy.png
      
      This should make things a little clearer for new theme devs. It's
      still confusing to have all the images scattered throughout the plugin
      subdirectories, but that's hard to fix because we treat the asset type
      as part of the filename, e.g. $THEME->get_url('style/style.css') instead
      of $THEME->get_url('style', 'style.css');
      
      Change-Id: Ia216a40fb72624113e56d7eac698bfeb5adafcf0
      5d7bdaea
    • Naomi Guyer's avatar
      NEW:Optionally include parent theme, Forms, icons, tidyup (bootstrap) · 4739efeb
      Naomi Guyer authored and Aaron Wells's avatar Aaron Wells committed
      Bug 1465107: Use Bootstrap CSS Framework
      
      Change-Id: I1f631d6f2637b22e00ea9e0972f0447a52304f4c
      4739efeb
    • Naomi Guyer's avatar
      Page Builder and BUG fixes (bootstrap) · 74b5a5e0
      Naomi Guyer authored and Aaron Wells's avatar Aaron Wells committed
      Bug 1465107: Use Bootstrap CSS Framework
      
      Change-Id: I332f8f2ea0c317b5171fe9163912c760f6bc2c77
      74b5a5e0
  2. 26 Mar, 2015 1 commit
  3. 04 Feb, 2015 1 commit
  4. 13 Jun, 2014 3 commits
    • Aaron Wells's avatar
      Dwoo includes were breaking when the plugintype was written as uppercase · 2bdb96c7
      Aaron Wells authored
      Bug 1231755
      
      Change-Id: I198f04bb652d3220bcceb77c685edcae2fe68e52
      2bdb96c7
    • Aaron Wells's avatar
      Expect plugin theme directories to have a "templates" subdirectory · aada15e7
      Aaron Wells authored
      Bug 1328319. Still keeping the old location in the search path as well,
      for backwards-compatibility.
      
      Change-Id: Iee2c908bad933a3942f103df6f827ace3beee259
      aada15e7
    • Aaron Wells's avatar
      Allow plugin theme files to live under the /theme and /local directory · fd85506f
      Aaron Wells authored
      Bug 1231755. In order to make it easier for custom theme authors to customize
      the appearance of plugins, I'm adding the /theme directory to the search path
      for plugin files.
      
      Example: smarty->display('artefact:fun:path/to/file.tpl')
      
      Old searchpath:
      
      /artefact/fun/theme/(themename)/path/to/file.tpl
      
      New searchpath (in order of precedence):
      
      1. /local/theme/artefact/fun/templates/path/to/file.tpl
      2. /theme/(themename)/artefact/fun/templates/path/to/file.tpl
      3. /artefact/fun/theme/(themename)/path/to/file.tpl
      
      Further notes:
      
      The /local directory doesn't have separate copies for separate
      themes. It's a sitewide override of all themes.
      
      For some reason theme directories under plugins don't have a "templates"
      directory. The templates sit loose under the theme directory. In my new
      version, plugin directories under themes DO have a "templates" directory.
      
      Change-Id: Id90ee1d1dec0bda93a0d30e54229fd7dacbe5b96
      fd85506f
  5. 12 Jun, 2014 1 commit
    • Aaron Wells's avatar
      Refactor the Dwoo_Template_Mahara files · 97e96de0
      Aaron Wells authored
      Bug 1231755
      
      - Cleanup, documentation, and removing replicated code.
      
      - Not checking for whether the file exists. We'll just make a list
      of search paths and pass those through to Dwoo_Template_File, and
      let it determine which path has the file.
      
      - Eliminating the separate Dwoo_Template_Mahara classes for plugintypes,
      and moving the custom logic for how plugintypes find their template files,
      into the Plugin class itself.
      
      Change-Id: I877a4221323333e8e8b6c6df54062a0f8bf2b817
      97e96de0
  6. 14 Oct, 2013 1 commit
  7. 19 Sep, 2013 1 commit
  8. 20 Aug, 2013 1 commit
  9. 15 Jan, 2013 2 commits
  10. 31 Jul, 2012 1 commit
  11. 28 Feb, 2012 1 commit
  12. 04 Jan, 2012 1 commit
  13. 28 Jul, 2011 1 commit
  14. 15 Jul, 2011 1 commit
  15. 01 Jun, 2011 1 commit
  16. 17 May, 2011 1 commit
  17. 16 May, 2011 1 commit
  18. 03 May, 2011 1 commit
  19. 15 Nov, 2010 1 commit
  20. 07 Oct, 2010 3 commits
  21. 04 Jul, 2010 1 commit
  22. 18 May, 2010 1 commit
  23. 04 May, 2010 1 commit
  24. 11 Mar, 2010 1 commit
  25. 24 Nov, 2009 1 commit
  26. 15 Oct, 2009 3 commits
  27. 14 Oct, 2009 1 commit
  28. 13 Oct, 2009 3 commits