Commit ccbe95eb authored by David Metzler's avatar David Metzler
Browse files

Remove view and edit tabs as they are no longer relevant.

parent c42abcb0
...@@ -117,21 +117,13 @@ function forena_menu() { ...@@ -117,21 +117,13 @@ function forena_menu() {
); );
$items['reports/%/view'] = array(
'title' => 'View',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10,
'file' => 'forena.common.inc',
'access arguments' => array('design any report'),
);
$items['reports/%/edit'] = array( $items['reports/%/edit'] = array(
'title' => 'Edit', 'title' => 'Edit',
'page callback' => 'forena_report_preview', 'page callback' => 'forena_report_preview',
'page arguments' => array(1), 'page arguments' => array(1),
'access arguments' => array('design any report'), 'access arguments' => array('design any report'),
'description' => 'Edit the layout of your report', 'description' => 'Edit the layout of your report',
'type' => MENU_LOCAL_TASK, 'type' => MENU_CALLBACK,
'file' => 'forena.report.inc', 'file' => 'forena.report.inc',
); );
...@@ -142,7 +134,7 @@ function forena_menu() { ...@@ -142,7 +134,7 @@ function forena_menu() {
'title' => 'Translate', 'title' => 'Translate',
'file' => 'forena.report.inc', 'file' => 'forena.report.inc',
'access arguments' => array('design any report'), 'access arguments' => array('design any report'),
'type' => MENU_LOCAL_TASK, 'type' => MENU_CALLBACK,
); );
} }
$items['reports/%/edit/parameters'] = array( $items['reports/%/edit/parameters'] = array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment