/** * Display page content * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['settings']) { echo $this->_action_msg; Html::form('o', 'post', 'index.php?ns=posts&ctl=settingpage'); $this->display_settings(); Html::form('c'); } else { echo ActionMessages::part_no_perm(); } }
/** * Display page content * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['post']) { echo $this->_action_msg; echo '<div id="list_wrapper">'; Html::form('o', 'post', 'index.php?ns=posts&ctl=manage'); $this->display_post_status(); $this->display_actions('top'); $this->display_table(); $this->display_actions('butt'); $this->display_pagination(); echo Helper::datalist('titles', $this->_content, '_title'); Html::form('c'); } else { echo ActionMessages::part_no_perm(); } }
/** * Display page content * * @access public */ public function display_content() { $this->display_menu(); if ($this->_user['post'] == true) { echo $this->_action_msg; Html::form('o', 'post', 'index.php?ns=posts&ctl=add'); $this->display_actions(); $this->display_form(); $this->display_medias(); Html::form('c'); } else { echo ActionMessages::part_no_perm(); } }