From: Laury GvR Date: Tue, 2 Oct 2018 16:24:47 +0000 (-0400) Subject: Switched position of quicklinks and topbuttons X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=47957d086c528593f17c9dfba8b03c25798d46a3;p=WP-Plugins%2Fglm-member-db.git Switched position of quicklinks and topbuttons --- diff --git a/setup/adminHooks.php b/setup/adminHooks.php index 727979d2..d6bb3116 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -457,9 +457,28 @@ add_filter( $content = [ 'title' => 'Members', 'components' => [ + [ + 'id' => 'quickLinks', + 'order' => -1, + 'template' => 'quickLinks', + 'quickLinks' => [ + 'dashboard' => [ + 'content' => 'Dashboard', + 'url' => $membersIndexPage . "&option=dashboard", + ], + 'search' => [ + 'content' => 'Advanced Search', + 'url' => $membersIndexPage . "&option=search", + ], + 'settings' => [ + 'content' => 'Settings', + 'url' => $membersSettingsPage, + ] + ], + ], [ 'id' => 'topButtons', - 'order' => -1, + 'order' => 0, 'template' => 'buttons', 'buttons' => [ 'add-member' => [ @@ -478,25 +497,6 @@ add_filter( ], ], ], - [ - 'id' => 'quickLinks', - 'order' => 0, - 'template' => 'quickLinks', - 'quickLinks' => [ - 'dashboard' => [ - 'content' => 'Dashboard', - 'url' => $membersIndexPage . "&option=dashboard", - ], - 'search' => [ - 'content' => 'Advanced Search', - 'url' => $membersIndexPage . "&option=search", - ], - 'settings' => [ - 'content' => 'Settings', - 'url' => $membersSettingsPage, - ] - ], - ], [ 'id' => 'entityAmount', 'title' => 'Number of ' . $this->config['terms']['term_member_plur_cap'],