1. 15 Dec, 2009 1 commit
    • Andrew Robert Nicols's avatar
      Improvements to per-institution theme selection · 01c43b82
      Andrew Robert Nicols authored
      To allow an institution to have multiple themes available to it, this
      change introduces a check on an optional theme parameter
      $theme->institution. Only themes where $theme->institution matches the name
      of the institution given, or where the value is not set are returned.
      
      This change allows for multiple themes to be made available to an
      institution.
      
      The following behaviours should be seen:
      * admin/users/institutions.php now only shows themes which are sitewide, or
        intended for the specified institution;
      * admin/site/options.php shows all themes on the system (not just sitewide
        themes); and
      * view/blocks.php lists all themes for all institutions a user belongs to,
        plus sitewide themes. This changes the behaviour introduced in
        4e0132ac
      
       which restricted available view
        themes to the currently set themes of each institution. However, I feel
        that this change offers more possibilities as institutions will be able
        to have a series of themes available for views; in addition to their
        primary Mahara theme.
      Signed-off-by: default avatarAndrew Robert Nicols <andrew.nicols@luns.net.uk>
      01c43b82
  2. 09 Dec, 2009 1 commit
  3. 01 Dec, 2009 1 commit
  4. 18 Nov, 2009 1 commit
  5. 15 Nov, 2009 1 commit
  6. 06 Nov, 2009 2 commits
  7. 28 Oct, 2009 3 commits
  8. 20 Oct, 2009 1 commit
  9. 19 Oct, 2009 1 commit
  10. 14 Oct, 2009 1 commit
    • Iaki Arenaza's avatar
      MAH-3317 Cannot Login to Mahara from Moodle When Picture is added to Moodle Profile · a3d82f91
      Iaki Arenaza authored
      
      
      Instead of using a fixed platform-specific path for temporary image files,
      create a new temporary directory inside dataroot and place temporary files
      there.
      
      In addition to it, make sure we prefix the profile icon file names with 'mpi_'
      (stands for mnet profile icon) to prevent clashes (as per Nigel's suggestion)
      and check the return result from file_put_contents() for errors (but otherwise
      and continue gracefully if the file can't be written, as Nigel suggested on the
      bug tracker).
      
      While in this particular case the related code takes care of the temporary
      files, if we are going to have a temp directory, it might be good to have a
      cronjob to clean it out (We should file a bug to remind us to do that)
      
      [Minor whitespace fixups by Nigel]
      Signed-off-by: default avatarIñaki Arenaza <iarenaza@eps.mondragon.edu>
      Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
      a3d82f91
  11. 18 Sep, 2009 1 commit
  12. 15 Sep, 2009 1 commit
  13. 14 Sep, 2009 1 commit
  14. 10 Sep, 2009 1 commit
  15. 07 Sep, 2009 5 commits
  16. 04 Sep, 2009 1 commit
  17. 03 Sep, 2009 1 commit
  18. 26 Aug, 2009 2 commits
  19. 14 Aug, 2009 1 commit
  20. 06 Aug, 2009 1 commit
  21. 23 Jul, 2009 1 commit
  22. 01 Jul, 2009 1 commit
  23. 25 Jun, 2009 1 commit
  24. 23 Jun, 2009 1 commit
  25. 16 Jun, 2009 1 commit
  26. 15 Jun, 2009 1 commit
  27. 12 Jun, 2009 1 commit
  28. 11 Jun, 2009 2 commits
  29. 10 Jun, 2009 1 commit
    • Nigel McNie's avatar
      New Theme object, to manage theme configuration. · f3ce0ed6
      Nigel McNie authored
      Reads in themeconfig.php for all themes. Allows the theme objects to set
      their own fields if necessary.
      
      The root theme is now 'raw', and this cannot be changed. All themes
      extend from the raw theme.
      
      A bunch of fields were added to do with the widths and colours of the
      columns. Now, it's technically possible for a Mahara site to have
      sideblocks on the left, or sideblocks on both sides, and the widths of
      these columns can be set in pixels or percent.
      f3ce0ed6
  30. 04 Jun, 2009 1 commit
  31. 11 May, 2009 1 commit