Better use of breadcrumbs in SuiteDesk

This commit is contained in:
Manuel Cillero 2017-09-01 06:58:16 +02:00
parent 6c766c0cfb
commit b3f2e096e1
29 changed files with 62 additions and 57 deletions

View file

@ -331,7 +331,7 @@ function stormproject_stormperson_change($person_nid, $person_title) {
function stormproject_form(&$node) {
$breadcrumb = array();
$breadcrumb[] = l(t('SuiteDesk'), 'dashboard');
$breadcrumb[] = l(t('Home'), '<front>');
$breadcrumb[] = l(t('Projects'), 'projects');
drupal_set_breadcrumb($breadcrumb);
@ -864,7 +864,7 @@ function stormproject_load($node) {
function stormproject_view($node, $teaser = FALSE, $page = FALSE) {
$breadcrumb = array();
$breadcrumb[] = l(t('SuiteDesk'), 'dashboard');
$breadcrumb[] = l(t('Home'), '<front>');
$breadcrumb[] = l(t('Projects'), 'projects');
drupal_set_breadcrumb($breadcrumb);