Interface improvements https://github.com/LibreTime/libretime/issues/313
This commit is contained in:
parent
29e7cc38a7
commit
2fd1e71620
|
@ -77,26 +77,28 @@ $pages[] = array(
|
||||||
array(
|
array(
|
||||||
'label' => _('General'),
|
'label' => _('General'),
|
||||||
'module' => 'default',
|
'module' => 'default',
|
||||||
'controller' => 'preference'
|
'controller' => 'preference',
|
||||||
|
'resource' => 'preference'
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => _('My Profile'),
|
'label' => _('My Profile'),
|
||||||
'controller' => 'user',
|
'controller' => 'user',
|
||||||
'action' => 'edit-user',
|
'action' => 'edit-user',
|
||||||
'resource' => 'user'
|
'resource' => 'usersettings'
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => _('Users'),
|
'label' => _('Users'),
|
||||||
'module' => 'default',
|
'module' => 'default',
|
||||||
'controller' => 'user',
|
'controller' => 'user',
|
||||||
'action' => 'add-user',
|
'action' => 'add-user',
|
||||||
'resource' => 'user'
|
'resource' => 'user'
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => _('Streams'),
|
'label' => _('Streams'),
|
||||||
'module' => 'default',
|
'module' => 'default',
|
||||||
'controller' => 'preference',
|
'controller' => 'preference',
|
||||||
'action' => 'stream-setting'
|
'action' => 'stream-setting',
|
||||||
|
'resource' => 'preference'
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'label' => _('Status'),
|
'label' => _('Status'),
|
||||||
|
@ -220,4 +222,4 @@ $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…
Reference in New Issue