Better use of breadcrumbs in SuiteDesk
This commit is contained in:
parent
6c766c0cfb
commit
b3f2e096e1
29 changed files with 62 additions and 57 deletions
|
@ -156,7 +156,7 @@ function stormidea_node_info() {
|
|||
|
||||
function stormidea_form(&$node) {
|
||||
$breadcrumb = array();
|
||||
$breadcrumb[] = l(t('SuiteDesk'), 'dashboard');
|
||||
$breadcrumb[] = l(t('Home'), '<front>');
|
||||
$breadcrumb[] = l(t('My ideas'), 'ideas');
|
||||
drupal_set_breadcrumb($breadcrumb);
|
||||
|
||||
|
@ -189,7 +189,7 @@ function stormidea_nodeapi($node, $op, $a3 = NULL, $a4 = NULL) {
|
|||
|
||||
function stormidea_view($node, $teaser = FALSE, $page = FALSE) {
|
||||
$breadcrumb = array();
|
||||
$breadcrumb[] = l(t('SuiteDesk'), 'dashboard');
|
||||
$breadcrumb[] = l(t('Home'), '<front>');
|
||||
$breadcrumb[] = l(t('My ideas'), 'ideas');
|
||||
drupal_set_breadcrumb($breadcrumb);
|
||||
|
||||
|
|
Reference in a new issue