Skip to content
Snippets Groups Projects
  1. Aug 22, 2020
  2. Jun 13, 2020
  3. Feb 15, 2020
  4. Feb 14, 2020
  5. Oct 01, 2019
  6. Feb 11, 2019
  7. Nov 27, 2018
  8. 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.
      Unverified
      d42f26f3
  9. Oct 17, 2018
  10. Aug 22, 2018
  11. Aug 13, 2018
  12. Aug 01, 2018
  13. Dec 12, 2017
  14. Oct 19, 2017
  15. Mar 09, 2016
  16. Jan 15, 2015
  17. Aug 27, 2009
  18. Nov 14, 2008
  19. Sep 24, 2008
  20. Aug 20, 2008
Loading