diff options
| author | Christopher Guindon | 2016-11-10 18:11:24 +0000 |
|---|---|---|
| committer | Christopher Guindon | 2016-11-10 18:11:24 +0000 |
| commit | 70485bdd773dfcb30a7d41ef768e9a24b4ab06e2 (patch) | |
| tree | 5346fa05797f8e2a0a05013b1027d6307be4cb8b | |
| parent | 6f40465ea479243b351fb5ee9cc954afd213d56b (diff) | |
| download | eclipse.org-common-70485bdd773dfcb30a7d41ef768e9a24b4ab06e2.tar.gz eclipse.org-common-70485bdd773dfcb30a7d41ef768e9a24b4ab06e2.tar.xz eclipse.org-common-70485bdd773dfcb30a7d41ef768e9a24b4ab06e2.zip | |
Bug 472396 - [security] LEAKING PASSWORD RESET TOKEN VIA REFERRER
Signed-off-by: Christopher Guindon <chris.guindon@eclipse.org>
| -rw-r--r-- | classes/themes/baseTheme.class.php | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/classes/themes/baseTheme.class.php b/classes/themes/baseTheme.class.php index 6464fab0..7f9b66c2 100644 --- a/classes/themes/baseTheme.class.php +++ b/classes/themes/baseTheme.class.php @@ -1285,7 +1285,8 @@ EOHTML; 'barebone', 'thin', 'thin-header', - 'default-with-footer-min' + 'default-with-footer-min', + 'thin-with-footer-min' ); $this->layout = 'default'; if (in_array($layout, $acceptable_layouts)) { @@ -1925,6 +1926,21 @@ EOHTML; print $this->getThemeFile('menu'); break; + case 'thin-with-footer-min': + $this->setAttributes('header-wrapper', 'thin-header'); + $this->resetAttributes('header-left', 'class'); + $this->setAttributes('header-left', 'col-sm-6 col-md-6 col-lg-5'); + $this->resetAttributes('main-menu-wrapper', 'class'); + $this->setAttributes('main-menu-wrapper', 'col-sm-18 col-md-18 col-lg-19'); + $this->setAttributes('main-menu', 'navbar-right'); + $this->setAttributes('header-row', 'row'); + $this->setDisplayHeaderRight(FALSE); + print $this->getThemeFile('header'); + print $this->getThemeFile('menu'); + print $this->getThemeFile('body'); + print $this->getThemeFile('footer-min'); + break; + case 'default-header': print $this->getThemeFile('header'); print $this->getThemeFile('menu'); |
