Now jot downs will be reminders
This commit is contained in:
parent
308998cde9
commit
da05c9b673
2 changed files with 5 additions and 5 deletions
|
@ -118,7 +118,7 @@ function stormidea_menu() {
|
||||||
$items = array();
|
$items = array();
|
||||||
|
|
||||||
$items['ideas'] = array(
|
$items['ideas'] = array(
|
||||||
'title' => 'Jot downs',
|
'title' => 'Reminders',
|
||||||
'description' => 'SuiteDesk ideas',
|
'description' => 'SuiteDesk ideas',
|
||||||
'page callback' => 'stormidea_list',
|
'page callback' => 'stormidea_list',
|
||||||
'access arguments' => array('Storm idea: access'),
|
'access arguments' => array('Storm idea: access'),
|
||||||
|
@ -157,7 +157,7 @@ function stormidea_node_info() {
|
||||||
function stormidea_form(&$node) {
|
function stormidea_form(&$node) {
|
||||||
$breadcrumb = array();
|
$breadcrumb = array();
|
||||||
$breadcrumb[] = l(t('Home'), '<front>');
|
$breadcrumb[] = l(t('Home'), '<front>');
|
||||||
$breadcrumb[] = l(t('Jot downs'), 'ideas');
|
$breadcrumb[] = l(t('Reminders'), 'ideas');
|
||||||
drupal_set_breadcrumb($breadcrumb);
|
drupal_set_breadcrumb($breadcrumb);
|
||||||
|
|
||||||
$type = node_get_types('type', $node);
|
$type = node_get_types('type', $node);
|
||||||
|
@ -192,7 +192,7 @@ function stormidea_nodeapi($node, $op, $a3 = NULL, $a4 = NULL) {
|
||||||
function stormidea_view($node, $teaser = FALSE, $page = FALSE) {
|
function stormidea_view($node, $teaser = FALSE, $page = FALSE) {
|
||||||
$breadcrumb = array();
|
$breadcrumb = array();
|
||||||
$breadcrumb[] = l(t('Home'), '<front>');
|
$breadcrumb[] = l(t('Home'), '<front>');
|
||||||
$breadcrumb[] = l(t('Jot downs'), 'ideas');
|
$breadcrumb[] = l(t('Reminders'), 'ideas');
|
||||||
drupal_set_breadcrumb($breadcrumb);
|
drupal_set_breadcrumb($breadcrumb);
|
||||||
|
|
||||||
return theme('stormidea_view', $node, $teaser, $page);
|
return theme('stormidea_view', $node, $teaser, $page);
|
||||||
|
@ -210,7 +210,7 @@ function stormidea_storm_dashboard_links($type) {
|
||||||
if ($type == 'page' || $type == 'block') {
|
if ($type == 'page' || $type == 'block') {
|
||||||
$links[] = array(
|
$links[] = array(
|
||||||
'theme' => 'storm_dashboard_link',
|
'theme' => 'storm_dashboard_link',
|
||||||
'title' => t('Jot downs'),
|
'title' => t('Reminders'),
|
||||||
'icon' => 'stormidea-item',
|
'icon' => 'stormidea-item',
|
||||||
'path' => 'ideas',
|
'path' => 'ideas',
|
||||||
'params' => array(),
|
'params' => array(),
|
||||||
|
|
|
@ -207,7 +207,7 @@ function zuitedesk_preprocess_page(&$vars, $hook) {
|
||||||
// User submenu:
|
// User submenu:
|
||||||
$submenu = '';
|
$submenu = '';
|
||||||
$submenu .= _zuitedesk_option($deskmenu[11], "$lang/notes", t('My notes'), 'notes', 'note');
|
$submenu .= _zuitedesk_option($deskmenu[11], "$lang/notes", t('My notes'), 'notes', 'note');
|
||||||
$submenu .= _zuitedesk_option($deskmenu[12], "$lang/ideas", t('Jot downs'), 'ideas', 'idea');
|
$submenu .= _zuitedesk_option($deskmenu[12], "$lang/ideas", t('Reminders'), 'ideas', 'idea');
|
||||||
$partial = '';
|
$partial = '';
|
||||||
$partial .= _zuitedesk_option($deskmenu[17], "$lang/user/watcher", t('Watcher'), 'watcher', 'apply');
|
$partial .= _zuitedesk_option($deskmenu[17], "$lang/user/watcher", t('Watcher'), 'watcher', 'apply');
|
||||||
$partial .= _zuitedesk_option($deskmenu[18], "$lang/trash", t('Trash'), 'trash', 'trash');
|
$partial .= _zuitedesk_option($deskmenu[18], "$lang/trash", t('Trash'), 'trash', 'trash');
|
||||||
|
|
Reference in a new issue