Better use of breadcrumbs in SuiteDesk
This commit is contained in:
parent
6c766c0cfb
commit
b3f2e096e1
29 changed files with 62 additions and 57 deletions
|
@ -262,7 +262,7 @@ function stormperson_stormorganization_change($organization_nid, $organization_t
|
|||
|
||||
function stormperson_form(&$node) {
|
||||
$breadcrumb = array();
|
||||
$breadcrumb[] = l(t('SuiteDesk'), 'dashboard');
|
||||
$breadcrumb[] = l(t('Home'), '<front>');
|
||||
$breadcrumb[] = l(t('People'), 'people');
|
||||
drupal_set_breadcrumb($breadcrumb);
|
||||
|
||||
|
@ -737,7 +737,7 @@ function stormperson_load($node) {
|
|||
|
||||
function stormperson_view($node, $teaser = FALSE, $page = FALSE) {
|
||||
$breadcrumb = array();
|
||||
$breadcrumb[] = l(t('SuiteDesk'), 'dashboard');
|
||||
$breadcrumb[] = l(t('Home'), '<front>');
|
||||
$breadcrumb[] = l(t('People'), 'people');
|
||||
drupal_set_breadcrumb($breadcrumb);
|
||||
|
||||
|
|
Reference in a new issue