summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-01-31 23:36:05 +0000
committerGreg Roach <fisharebest@gmail.com>2015-01-31 23:36:05 +0000
commita249cfbb8a82d8c84c0ad1da8acbe1c405ce750a (patch)
treeff1dcb797aa874f9249f962d2aebdd8f97c92578 /library
parent6d5ad98efe7e0a0eccd349c7169efec9d3b91154 (diff)
downloadwebtrees-a249cfbb8a82d8c84c0ad1da8acbe1c405ce750a.tar.gz
webtrees-a249cfbb8a82d8c84c0ad1da8acbe1c405ce750a.tar.bz2
webtrees-a249cfbb8a82d8c84c0ad1da8acbe1c405ce750a.zip
Position of palette menu
Diffstat (limited to 'library')
-rw-r--r--library/WT/Theme/Colors.php14
1 files changed, 10 insertions, 4 deletions
diff --git a/library/WT/Theme/Colors.php b/library/WT/Theme/Colors.php
index 8674285349..a5bee0a070 100644
--- a/library/WT/Theme/Colors.php
+++ b/library/WT/Theme/Colors.php
@@ -118,10 +118,16 @@ class Colors extends Clouds {
* @return WT_Menu[]
*/
protected function secondaryMenu() {
- $menubar = parent::secondaryMenu();
- $menubar[] = $this->menuPalette();
-
- return $menubar;
+ return array_filter(array(
+ $this->menuPendingChanges(),
+ $this->menuMyPages(),
+ $this->menuFavorites(),
+ $this->menuThemes(),
+ $this->menuPalette(),
+ $this->menuLanguages(),
+ $this->menuLogin(),
+ $this->menuLogout(),
+ ));
}
/**