1: <?php defined('_JOOS_CORE') or exit();
2:
3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15:
16: class actionsAdminPages extends joosAdminController
17: {
18: public static $submenu = array(
19: 'default' => array(
20: 'name' => 'Все страницы',
21: 'model'=>'modelAdminPages',
22: 'href' => 'index2.php?option=pages',
23: 'fields'=>array('title','created_at', 'state'),
24: 'active' => false
25: ),
26: );
27:
28: public static function action_before()
29: {
30: parent::action_before();
31:
32: joosDocument::instance()
33: ->add_js_file( JPATH_SITE . '/app/components/pages/media/js/pages.admin.js' );
34:
35: }
36:
37: }
38: