Better use of breadcrumbs in SuiteDesk
This commit is contained in:
parent
6c766c0cfb
commit
b3f2e096e1
29 changed files with 62 additions and 57 deletions
|
@ -443,7 +443,7 @@ function stormtask_stormproject_change_hierarchy($project_nid, $organization_nid
|
|||
|
||||
function stormtask_form(&$node) {
|
||||
$breadcrumb = array();
|
||||
$breadcrumb[] = l(t('SuiteDesk'), 'dashboard');
|
||||
$breadcrumb[] = l(t('Home'), '<front>');
|
||||
|
||||
if (array_key_exists('project_nid', $_GET)) {
|
||||
$breadcrumb[] = l(t('Projects'), 'projects');
|
||||
|
@ -1005,7 +1005,7 @@ function stormtask_validate(&$node) {
|
|||
|
||||
function stormtask_view($node, $teaser = FALSE, $page = FALSE) {
|
||||
$breadcrumb = array();
|
||||
$breadcrumb[] = l(t('SuiteDesk'), 'dashboard');
|
||||
$breadcrumb[] = l(t('Home'), '<front>');
|
||||
$breadcrumb[] = l(t('Tasks'), 'tasks');
|
||||
drupal_set_breadcrumb($breadcrumb);
|
||||
|
||||
|
|
Reference in a new issue