cookiemonster commited on 2010-12-04 14:47:55
Showing 3 changed files, with 4 additions and 0 deletions.
... | ... |
@@ -65,6 +65,10 @@ function shd_frontpage_helpdesk(&$subactions) |
65 | 65 |
// Now, fix the actions |
66 | 66 |
$subactions['main'] = array(null, 'shd_frontpage_source'); |
67 | 67 |
$subactions['tickets'] = array(null, 'shd_main_helpdesk'); |
68 |
+ |
|
69 |
+ // Hide the 'back to helpdesk' button. |
|
70 |
+ if(in_array($_REQUEST['sa'], array('main', 'tickets', 'viewblock', 'recyclebin', 'closedtickets'))) |
|
71 |
+ unset($context['navigation']['back']); |
|
68 | 72 |
} |
69 | 73 |
|
70 | 74 |
function shd_frontpage_options($return_config) |
71 | 75 |