From aa58225e680c048431bdaadb974803271d82926b Mon Sep 17 00:00:00 2001
From: Paul Baranowski
Date: Fri, 2 Sep 2011 14:37:40 -0400
Subject: [PATCH] Changed the "Configure" menu item to "System". Changed
Help->About to Help->Getting Started. Added Help->"User Manual" Added ability
to specify a "target" in the main menu navigation - this allows us to open up
a new tab for the User manual. Adde
---
.../application/configs/navigation.php | 21 ++++++++++++-------
.../views/scripts/dashboard/help.phtml | 2 +-
.../application/views/scripts/menu.phtml | 2 +-
3 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/airtime_mvc/application/configs/navigation.php b/airtime_mvc/application/configs/navigation.php
index 0aad75da0..fcdc7578a 100644
--- a/airtime_mvc/application/configs/navigation.php
+++ b/airtime_mvc/application/configs/navigation.php
@@ -37,7 +37,7 @@ $pages = array(
'resource' => 'schedule'
),
array(
- 'label' => 'Configure',
+ 'label' => 'System',
'uri' => '#',
'resource' => 'preference',
'pages' => array(
@@ -70,6 +70,13 @@ $pages = array(
'module' => 'default',
'controller' => 'Preference',
'action' => 'support-setting'
+ ),
+ array(
+ 'label' => 'Status',
+ 'module' => 'default',
+ 'controller' => 'systemstatus',
+ 'action' => 'index',
+ 'resource' => 'systemstatus'
)
)
),
@@ -79,18 +86,16 @@ $pages = array(
'resource' => 'dashboard',
'pages' => array(
array(
- 'label' => 'About',
+ 'label' => 'Getting Started',
'module' => 'default',
'controller' => 'dashboard',
'action' => 'help',
- 'resource' => 'dashboard'
+ 'resource' => 'dashboard'
),
array(
- 'label' => 'System Status',
- 'module' => 'default',
- 'controller' => 'systemstatus',
- 'action' => 'index',
- 'resource' => 'systemstatus'
+ 'label' => 'User Manual',
+ 'uri' => "http://en.flossmanuals.net/airtime/",
+ 'target' => "_blank"
)
)
)
diff --git a/airtime_mvc/application/views/scripts/dashboard/help.phtml b/airtime_mvc/application/views/scripts/dashboard/help.phtml
index 23411f640..60d1de162 100644
--- a/airtime_mvc/application/views/scripts/dashboard/help.phtml
+++ b/airtime_mvc/application/views/scripts/dashboard/help.phtml
@@ -11,6 +11,6 @@
Select your playlist and drag and drop it to the "Items in this show" area.
Then you're good to go!
-For more detailed help, read the user manual
+For more detailed help, read the user manual.
diff --git a/airtime_mvc/application/views/scripts/menu.phtml b/airtime_mvc/application/views/scripts/menu.phtml
index 9cf6c1aa5..f6f82c173 100644
--- a/airtime_mvc/application/views/scripts/menu.phtml
+++ b/airtime_mvc/application/views/scripts/menu.phtml
@@ -9,7 +9,7 @@