Skip to content
Snippets Groups Projects
  1. Feb 11, 2019
  2. Nov 27, 2018
  3. Nov 23, 2018
    • Jaime Pérez Crespo's avatar
      Create a new "configpage" hook for those modules that need to inject anything... · d42f26f3
      Jaime Pérez Crespo authored
      Create a new "configpage" hook for those modules that need to inject anything in the configuration page.
      
      This allows us to change the signature of the hook, so that we pass it the \SimpleSAML\XHTML\Template object and then the hook can not only add data to be passed to the twig template, but also add its own translation domain. This was needed because many modules were putting their translations inside "core", and when moving those to the modules themselves, the new translation system cannot perform the translation because only the translations for the current module in use are loaded (in the config page, that's the core module). Therefore, we needed a way to get the Localization instance from the template, and a way to pass that to the hook so that the hook can register the translations for its own module.
      d42f26f3
  4. Oct 17, 2018
  5. Aug 22, 2018
  6. Aug 13, 2018
  7. Aug 01, 2018
  8. May 31, 2018
  9. Dec 12, 2017
  10. Oct 19, 2017
  11. Mar 09, 2016
  12. Jan 15, 2015
  13. Aug 27, 2009
  14. Feb 26, 2009
  15. Nov 14, 2008
Loading