- Oct 07, 2016
-
-
Jaime Pérez authored
-
- Oct 04, 2016
-
-
Jaime Pérez authored
Since the class names were prepended with "\", the original extension was used, instead of our own wrapper. This fixes that issue, and sets the two new methods in SimpleSAML\Locale\Translate as the functions to use to replace the calls to gettext() and ngettext(). Support for the old translation system is still missing for twig templates.
-
Jaime Pérez authored
Define SimpleSAML\XHTML\Template::$twig as a property (previously only set in the constructor) and make sure we use proper type checking when using it.
-
Jaime Pérez authored
-
- Sep 15, 2016
-
-
Hanne Moa authored
This makes instanciating the Translate/Template-class unnecessary.
-
- Sep 07, 2016
-
-
Hanne Moa authored
-
- Aug 31, 2016
- Aug 30, 2016
- Aug 25, 2016
-
-
Sergio Gómez authored
-
- Jul 26, 2016
-
-
Jaime Pérez authored
-
- Jul 13, 2016
-
-
Hanne Moa authored
-
Jaime Pérez authored
Both have been migrated to use namespaces.
-
- Jun 08, 2016
-
-
Jaime Perez Crespo authored
-
- Mar 01, 2016
- Feb 29, 2016
-
-
Jaime Perez Crespo authored
Move the list of language localized names to the SimpleSAML\Locale\Language class, and make the array of languages generated by SimpleSAML_XHTML_Template::generateLanguageBar() a bit more useful.
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
-
Hanne Moa authored
-
Hanne Moa authored
Now works for: new SimpleSAML_XHTML_Template($globalConfig, 'saml:sp/wrong_authncontextclassref.tpl.php');
-
Hanne Moa authored
That is, the following styles work: * SimpleSAML_XHTML_Template($config, 'hostnames.php'); * SimpleSAML_XHTML_Template($globalConfig, 'negotiate:disable.php'); These do not: * SimpleSAML_XHTML_Template($this->config, 'discopower:disco-tpl.php', 'disco'); * SimpleSAML_XHTML_Template($globalConfig, 'saml:sp/wrong_authncontextclassref.tpl.php'); * new SimpleSAML_XHTML_Template($config, 'metadata.php', 'admin'); * SimpleSAML_XHTML_Template($config, 'consentAdmin:consentadmin.php', 'consentAdmin:consentadmin'); Loading from themes also not in place
-
- Feb 26, 2016
- Feb 18, 2016
-
-
Jaime Perez Crespo authored
-
- Feb 05, 2016
-
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
Restore the rest of the public methods in SimpleSAML_XHTML_Template that were removed, make them wrappers of the new methods, and mark them as deprecated.
-
Jaime Perez Crespo authored
Restore SimpleSAML_XHTML_Template::getLanguageCookie() and setLanguageCookie() temporarily, as wrappers over the new methods in SimpleSAML\Locale\Language.
-
Jaime Perez Crespo authored
Add a method SimpleSAML_XHTML_Template::getTranslator() to retrieve the SimpleSAML\Locale\Translate instance local to the template, and use it to fix a bug in a template of the consent module.
-
Jaime Perez Crespo authored
Return lang_merge() to SimpleSAML_XHTML_Template, as it was public, and mark it as deprecated. Use array_merge_recursive() instead.
-
Jaime Perez Crespo authored
Rename \SimpleSAML\Locale\Translate::getTranslation() to the more comprehensive \SimpleSAML\Locale\Translate::getPreferredTranslation().
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
-