1. 08 Jun, 2012 21 commits
  2. 07 Jun, 2012 2 commits
  3. 06 Jun, 2012 2 commits
  4. 05 Jun, 2012 3 commits
  5. 01 Jun, 2012 10 commits
  6. 31 May, 2012 2 commits
    • Richard Mansfield's avatar
      Add config option to allow users to change their theme · e250631d
      Richard Mansfield authored
      
      
      Part of bug #793308
      
      Adds a config.php option which lets users change their theme (for
      browsing) via a drop-down on the Settings page.  The allowed themes
      are the same set accessible to the user when the viewthemes option is
      availiable.  Any theme which is restricted to one or more institutions
      in its themeconfig.php file is not available in the drop-down unless
      the user is a member of one of those institutions.
      
      Change-Id: If6a7db9a4c160e16b38d22a074c128777968c4ca
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      e250631d
    • Richard Mansfield's avatar
      Add support in User for theme preference · c1fda6fe
      Richard Mansfield authored
      
      
      Part of bug #793308
      
      If a user has the 'theme' property set in their account preferences,
      this is used instead of the site or institution's theme.
      
      The LiveUser::reset_institutions() function, which recalculates the
      institution theme, is now called in place of LiveUser::update_theme()
      whenever a user's institutions have changed.  reset_institutions() now
      calls update_theme() if the user is a LiveUser.
      
      Change-Id: I75b36da85a5aa249c3098078b8588b8a20ac9b48
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      c1fda6fe