creating a separate controller for playouthistory templates.
This commit is contained in:
parent
5aa983be36
commit
653a6384b9
14 changed files with 217 additions and 162 deletions
|
@ -23,6 +23,7 @@ $ccAcl->add(new Zend_Acl_Resource('library'))
|
|||
->add(new Zend_Acl_Resource('preference'))
|
||||
->add(new Zend_Acl_Resource('showbuilder'))
|
||||
->add(new Zend_Acl_Resource('playouthistory'))
|
||||
->add(new Zend_Acl_Resource('playouthistorytemplate'))
|
||||
->add(new Zend_Acl_Resource('listenerstat'))
|
||||
->add(new Zend_Acl_Resource('usersettings'))
|
||||
->add(new Zend_Acl_Resource('audiopreview'))
|
||||
|
@ -46,7 +47,8 @@ $ccAcl->allow('G', 'index')
|
|||
->allow('H', 'plupload')
|
||||
->allow('H', 'library')
|
||||
->allow('H', 'playlist')
|
||||
->allow('A', 'playouthistory')
|
||||
->allow('H', 'playouthistory')
|
||||
->allow('A', 'playouthistorytemplate')
|
||||
->allow('A', 'listenerstat')
|
||||
->allow('A', 'user')
|
||||
->allow('A', 'systemstatus')
|
||||
|
|
|
@ -38,6 +38,12 @@ define('MDATA_KEY_CUE_OUT' , 'cueout');
|
|||
define('UI_MDATA_VALUE_FORMAT_FILE' , 'File');
|
||||
define('UI_MDATA_VALUE_FORMAT_STREAM' , 'live stream');
|
||||
|
||||
//User types
|
||||
define('UTYPE_HOST' , 'H');
|
||||
define('UTYPE_ADMIN' , 'A');
|
||||
define('UTYPE_GUEST' , 'G');
|
||||
define('UTYPE_PROGRAM_MANAGER' , 'P');
|
||||
|
||||
//Constants for playout history template fields
|
||||
define('TEMPLATE_DATE', 'date');
|
||||
define('TEMPLATE_TIME', 'time');
|
||||
|
|
|
@ -20,7 +20,7 @@ $pages = array(
|
|||
'module' => 'default',
|
||||
'controller' => 'Plupload',
|
||||
'action' => 'index',
|
||||
'resource' => 'plupload'
|
||||
'resource' => 'plupload'
|
||||
),
|
||||
array(
|
||||
'label' => _('Library'),
|
||||
|
@ -103,9 +103,9 @@ $pages = array(
|
|||
array(
|
||||
'label' => _('History Templates'),
|
||||
'module' => 'default',
|
||||
'controller' => 'playouthistory',
|
||||
'action' => 'template',
|
||||
'resource' => 'playouthistory'
|
||||
'controller' => 'playouthistorytemplate',
|
||||
'action' => 'index',
|
||||
'resource' => 'playouthistorytemplate'
|
||||
),
|
||||
)
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue