CC-2047: Add Audio menu could be labeled Add Media
Changed.
This commit is contained in:
parent
c35e78a620
commit
38e84b81db
1 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Navigation container (config/array)
|
* Navigation container (config/array)
|
||||||
|
|
||||||
* Each element in the array will be passed to
|
* Each element in the array will be passed to
|
||||||
* Zend_Navigation_Page::factory() when constructing
|
* Zend_Navigation_Page::factory() when constructing
|
||||||
* the navigation container below.
|
* the navigation container below.
|
||||||
|
@ -16,7 +16,7 @@ $pages = array(
|
||||||
'resource' => 'nowplaying'
|
'resource' => 'nowplaying'
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => 'Add Audio',
|
'label' => 'Add Media',
|
||||||
'module' => 'default',
|
'module' => 'default',
|
||||||
'controller' => 'Plupload',
|
'controller' => 'Plupload',
|
||||||
'action' => 'plupload',
|
'action' => 'plupload',
|
||||||
|
@ -51,7 +51,7 @@ $pages = array(
|
||||||
'module' => 'default',
|
'module' => 'default',
|
||||||
'controller' => 'user',
|
'controller' => 'user',
|
||||||
'action' => 'add-user',
|
'action' => 'add-user',
|
||||||
'resource' => 'user'
|
'resource' => 'user'
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
@ -64,10 +64,10 @@ $pages = array(
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// Create container from array
|
// Create container from array
|
||||||
$container = new Zend_Navigation($pages);
|
$container = new Zend_Navigation($pages);
|
||||||
$container->id = "nav";
|
$container->id = "nav";
|
||||||
|
|
||||||
//store it in the registry:
|
//store it in the registry:
|
||||||
Zend_Registry::set('Zend_Navigation', $container);
|
Zend_Registry::set('Zend_Navigation', $container);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue