Profile menu (#145)
Jeremy D

Jeremy D commited on 2021-08-18 13:39:14
Showing 2 changed files, with 3 additions and 2 deletions.


* Fixes profile menu links

Fixes #139

* Oops

* Sync issues
... ...
@@ -153,8 +153,8 @@ $txt['shd_theme_note'] = 'Normally the helpdesk will inherit the theme a user ha
153 153
 $txt['shd_theme_use_default'] = 'Use the forum default theme';
154 154
 $txt['shd_hidemenuitem'] = 'Hide the Helpdesk menu item?';
155 155
 $txt['shd_hidemenuitem_note'] = 'This is most useful if helpdesk departments are presented on the board index.';
156
-$txt['shd_hidemenuitem'] = 'Hide the Helpdesk Profile menu item?';
157
-$txt['shd_hidemenuitem_note'] = 'If you are using the user menu, this is useful to hide.';
156
+$txt['shd_hideprofilemenuitem'] = 'Hide the Helpdesk Profile menu item?';
157
+$txt['shd_hideprofilemenuitem_note'] = 'If you are using the user menu, this is useful to hide.';
158 158
 $txt['shd_disable_unread'] = 'Disable integration with Unread Posts/Unread Replies';
159 159
 $txt['shd_disable_unread_note'] = 'Normally, SimpleDesk adds a list of topics to the unread posts/unread replies page but sometimes (e.g. certain mobile themes) this does not always work so well.';
160 160
 $txt['shd_zerofill'] = 'Smallest number of digits to use';
... ...
@@ -397,6 +397,7 @@ function shd_modify_display_options($return_config)
397 397
 		array('int', 'shd_zerofill', 'subtext' => $txt['shd_zerofill_note']),
398 398
 		'',
399 399
 		array('check', 'shd_hidemenuitem', 'subtext' => $txt['shd_hidemenuitem_note']),
400
+		array('check', 'shd_hideprofilemenuitem', 'subtext' => $txt['shd_hideprofilemenuitem_note']),
400 401
 		'',
401 402
 		array('check', 'shd_disable_unread', 'subtext' => $txt['shd_disable_unread_note']),
402 403
 		array('check', 'shd_disable_boardint', 'subtext' => $txt['shd_disable_boardint_note']),
403 404