Skip to content

Commit 6e67f22

Browse files
ioigoumenikosev
authored andcommitted
Fix "Not translated" error in HTML title
1 parent c109969 commit 6e67f22

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ This version is compatible with [SimpleSAMLphp v1.18](https://simplesamlphp.org/
2727
- Fix undefined index error for `idps_in_searchable_list_index`
2828
- Load jQuery CSS script
2929
- Fix searchable list and idp buttons display order
30+
- Fix "Not translated" error in HTML title
3031

3132
### Changed
3233

themes/ssp/default/includes/header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
if (strpos($this->t('{themevanilla:default:browser_tab_title}'), 'not translated') === false) {
5757
echo $this->t('{themevanilla:default:browser_tab_title}');
5858
}
59-
if (array_key_exists('header', $this->data)) {
59+
if (array_key_exists('header', $this->data) && strpos($this->data['header'], 'not translated') === false) {
6060
echo ' | ' . $this->data['header'];
6161
}
6262
?>

themes/ssp/discopower/disco.tpl.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
}
1818

1919
$this->data['header'] = $this->t('selectidp');
20-
$this->data['header'] = $this->t($this->data['header']);
2120
$this->data['jquery'] = ['core' => true, 'ui' => false, 'css' => false];
2221

2322
$this->data['head'] = '<link rel="stylesheet" media="screen" type="text/css" href="' .

0 commit comments

Comments
 (0)