mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix menu link
This commit is contained in:
parent
c26cd298c3
commit
6717ce209d
|
|
@ -127,11 +127,11 @@ class modOpenSurvey extends DolibarrModules
|
|||
'prefix' => img_picto('', $this->picto, 'class="paddingright pictofixedwidth"'),
|
||||
'mainmenu' => 'tools',
|
||||
'leftmenu' => 'opensurvey',
|
||||
'url' => '/opensurvey/index.php?mainmenu=tools&leftmenu=opensurvey',
|
||||
'url' => '/opensurvey/list.php?mainmenu=tools&leftmenu=opensurvey',
|
||||
'langs' => 'opensurvey',
|
||||
'position' => 200,
|
||||
'enabled' => '$conf->opensurvey->enabled', // Define condition to show or hide menu entry. Use '$conf->NewsSubmitter->enabled' if entry must be visible if module is enabled.
|
||||
'perms' => '$user->rights->opensurvey->read',
|
||||
'enabled' => 'isModEnabled("opensurvey")', // Define condition to show or hide menu entry. Use '$conf->NewsSubmitter->enabled' if entry must be visible if module is enabled.
|
||||
'perms' => '$user->hasRight("opensurvey", "read")',
|
||||
'target' => '',
|
||||
'user' => 0,
|
||||
);
|
||||
|
|
@ -146,8 +146,8 @@ class modOpenSurvey extends DolibarrModules
|
|||
'url' => '/opensurvey/wizard/index.php',
|
||||
'langs' => 'opensurvey',
|
||||
'position' => 210,
|
||||
'enabled' => '$conf->opensurvey->enabled', // Define condition to show or hide menu entry. Use '$conf->NewsSubmitter->enabled' if entry must be visible if module is enabled.
|
||||
'perms' => '$user->rights->opensurvey->write',
|
||||
'enabled' => 'isModEnabled("opensurvey")', // Define condition to show or hide menu entry. Use '$conf->NewsSubmitter->enabled' if entry must be visible if module is enabled.
|
||||
'perms' => '$user->hasRight("opensurvey", "write")',
|
||||
'target' => '',
|
||||
'user' => 0,
|
||||
);
|
||||
|
|
@ -162,8 +162,8 @@ class modOpenSurvey extends DolibarrModules
|
|||
'url' => '/opensurvey/list.php',
|
||||
'langs' => 'opensurvey',
|
||||
'position' => 220,
|
||||
'enabled' => '$conf->opensurvey->enabled', // Define condition to show or hide menu entry. Use '$conf->NewsSubmitter->enabled' if entry must be visible if module is enabled.
|
||||
'perms' => '$user->rights->opensurvey->read',
|
||||
'enabled' => 'isModEnabled("opensurvey")', // Define condition to show or hide menu entry. Use '$conf->NewsSubmitter->enabled' if entry must be visible if module is enabled.
|
||||
'perms' => '$user->hasRight("opensurvey", "read")',
|
||||
'target' => '',
|
||||
'user' => 0,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user