Changeset 1903:931d1495a1c7 for inc/admin
- Timestamp:
- 09/16/13 10:11:39 (12 years ago)
- Branch:
- actionsreloaded
- Location:
- inc/admin/actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/actions/class.dcaction.php
r1807 r1903 52 52 * @return mixed Value. 53 53 */ 54 public function __construct($core,$uri ) {54 public function __construct($core,$uri,$redirect_args=array()) { 55 55 $this->core = $core; 56 56 $this->actions = new ArrayObject(); 57 57 $this->combo = array(); 58 58 $this->uri = $uri; 59 $this->redir_args = array();59 $this->redir_args = $redirect_args; 60 60 $this->redirect_fields = array(); 61 61 $this->action = ''; 62 62 $this->cb_title = __('Title'); 63 $this->entries = array(); 63 64 $this->from = new ArrayObject($_POST); 64 65 } -
inc/admin/actions/class.dcactionposts.php
r1808 r1903 14 14 class dcPostsActionsPage extends dcActionsPage 15 15 { 16 public function __construct($core,$uri ) {17 parent::__construct($core,$uri );16 public function __construct($core,$uri,$redirect_args=array()) { 17 parent::__construct($core,$uri,$redirect_args); 18 18 $this->redirect_fields = array('user_id','cat_id','status', 19 19 'selected','month','lang','sortby','order','page','nb'); 20 $this->loadDefaults(); 21 $core->callBehavior('adminPostsActionsPage',$core,$this); 22 } 23 24 protected function loadDefaults() { 20 25 // We could have added a behavior here, but we want default action 21 26 // to be setup first 22 dcDefaultPostActions::adminPostsActionsPage($core,$this); 23 $core->callBehavior('adminPostsActionsPage',$core,$this); 24 25 } 26 27 dcDefaultPostActions::adminPostsActionsPage($this->core,$this); 28 } 29 27 30 public function beginPage($breadcrumb='',$head='') { 28 31 dcPage::open(
Note: See TracChangeset
for help on using the changeset viewer.