diff options
author | Jaime Perez Crespo <jaime.perez@uninett.no> | 2016-02-05 13:34:23 +0100 |
---|---|---|
committer | Jaime Perez Crespo <jaime.perez@uninett.no> | 2016-02-05 13:34:23 +0100 |
commit | 79576e09f1a80b7749be871d42376d07f46204be (patch) | |
tree | fe8546028248c6c9f9e3178b295c57b61a9f210c /lib/SimpleSAML/XHTML/Template.php | |
parent | 6389e5c14d32d134ad94e4b72996de90b0786ea8 (diff) | |
download | simplesamlphp-79576e09f1a80b7749be871d42376d07f46204be.zip simplesamlphp-79576e09f1a80b7749be871d42376d07f46204be.tar.gz simplesamlphp-79576e09f1a80b7749be871d42376d07f46204be.tar.bz2 |
Reformat the new \SimpleSAML\Locale\Language class.
Diffstat (limited to 'lib/SimpleSAML/XHTML/Template.php')
-rw-r--r-- | lib/SimpleSAML/XHTML/Template.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php index c2ee848..fd1d44e 100644 --- a/lib/SimpleSAML/XHTML/Template.php +++ b/lib/SimpleSAML/XHTML/Template.php @@ -115,7 +115,7 @@ class SimpleSAML_XHTML_Template $themeName = $tmp[0]; } - // First check the current theme + // first check the current theme if ($themeModule !== null) { // .../module/<themeModule>/themes/<themeName>/<templateModule>/<templateName> @@ -133,13 +133,13 @@ class SimpleSAML_XHTML_Template return $filename; } - // Not found in current theme + // not found in current theme SimpleSAML_Logger::debug( $_SERVER['PHP_SELF'].' - Template: Could not find template file ['. $template.'] at ['. $filename.'] - now trying the base template' ); - // Try default theme + // try default theme if ($templateModule !== 'default') { // .../module/<templateModule>/templates/<templateName> $filename = SimpleSAML_Module::getModuleDir($templateModule).'/templates/'.$templateName; @@ -152,7 +152,7 @@ class SimpleSAML_XHTML_Template return $filename; } - // Not found in default template - log error and throw exception + // not found in default template - log error and throw exception $error = 'Template: Could not find template file ['.$template.'] at ['.$filename.']'; SimpleSAML_Logger::critical($_SERVER['PHP_SELF'].' - '.$error); |