1. 21 Dec, 2009 3 commits
  2. 15 Dec, 2009 2 commits
    • Richard Mansfield's avatar
    • 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
  3. 09 Dec, 2009 1 commit
  4. 01 Dec, 2009 1 commit
  5. 18 Nov, 2009 1 commit
  6. 15 Nov, 2009 1 commit
  7. 06 Nov, 2009 2 commits
  8. 28 Oct, 2009 3 commits
  9. 20 Oct, 2009 1 commit
  10. 19 Oct, 2009 1 commit
  11. 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
  12. 18 Sep, 2009 1 commit
  13. 15 Sep, 2009 1 commit
  14. 14 Sep, 2009 1 commit
  15. 10 Sep, 2009 1 commit
  16. 07 Sep, 2009 5 commits
  17. 04 Sep, 2009 1 commit
  18. 03 Sep, 2009 1 commit
  19. 26 Aug, 2009 2 commits
  20. 14 Aug, 2009 1 commit
  21. 06 Aug, 2009 1 commit
  22. 23 Jul, 2009 1 commit
  23. 01 Jul, 2009 1 commit
  24. 25 Jun, 2009 1 commit
  25. 23 Jun, 2009 1 commit
  26. 16 Jun, 2009 1 commit
  27. 15 Jun, 2009 1 commit
  28. 12 Jun, 2009 1 commit
  29. 11 Jun, 2009 1 commit