X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=wci.php;h=0c5f6cc150c50d91e01b0dbd9e3d60d09820121a;hb=68f8aff61c9ebe7eced95e635bdbc440645e5665;hp=1603bc035a59ff49e23280af2ad7b7146b30aa57;hpb=35ddb542941c7340be6574e28c684f8d818193e2;p=com.zyxware.civiwci.git diff --git a/wci.php b/wci.php index 1603bc0..0c5f6cc 100644 --- a/wci.php +++ b/wci.php @@ -119,7 +119,7 @@ function wci_civicrm_navigationMenu( &$params ) { // inserting WCI menu at the place of old help location $params[$helpID] = array ( 'attributes' => array ( - 'label' => ts('WCI'), + 'label' => ts('Widgets and Progress Bars'), 'name' => 'WCI', 'url' => null, 'permission' => 'access CiviReport,access CiviContribute', @@ -131,7 +131,7 @@ function wci_civicrm_navigationMenu( &$params ) { 'child' => array ( '1' => array ( 'attributes' => array ( - 'label' => ts('New widget'), + 'label' => ts('New Widget'), 'name' => 'new_widget', 'url' => 'civicrm/wci/widget/add', 'permission' => 'access CiviReport,access CiviContribute', @@ -143,7 +143,7 @@ function wci_civicrm_navigationMenu( &$params ) { '2' => array ( 'attributes' => array ( - 'label' => ts('Manage widget'), + 'label' => ts('Manage Widget'), 'name' => 'manage_widget', 'url' => 'civicrm/wci/widget?reset=1', 'permission' => 'access CiviReport,access CiviContribute', @@ -155,7 +155,7 @@ function wci_civicrm_navigationMenu( &$params ) { '3' => array ( 'attributes' => array ( - 'label' => ts('New Progress bar'), + 'label' => ts('New Progress Bar'), 'name' => 'new_progress_bar', 'url' => 'civicrm/wci/progress-bar/add', 'permission' => 'access CiviReport,access CiviContribute', @@ -167,7 +167,7 @@ function wci_civicrm_navigationMenu( &$params ) { '4' => array ( 'attributes' => array ( - 'label' => ts('Manage Progress bar'), + 'label' => ts('Manage Progress Bar'), 'name' => 'manage_progress_bar', 'url' => 'civicrm/wci/progress-bar?reset=1', 'permission' => 'access CiviReport,access CiviContribute', @@ -175,9 +175,20 @@ function wci_civicrm_navigationMenu( &$params ) { 'separator' => 1, 'parentID' => $navId, 'navID' => $navId+4, - 'active' => 1)), + 'active' => 1)), + + '5' => array ( + 'attributes' => array ( + 'label' => ts('Widget Settings'), + 'name' => 'manage_progress_bar', + 'url' => 'civicrm/wci/settings?reset=1', + 'permission' => 'access CiviReport,access CiviContribute', + 'operator' => 'OR', + 'separator' => 1, + 'parentID' => $navId, + 'navID' => $navId+5, + 'active' => 1)), ), ); } -