/** * Create a page, more or less an alias for the edit action. */ public function create_action() { $this->scm = new ScmTabEntry(); $this->scm->user_id = $GLOBALS['user']->id; $this->scm->chdate = time(); $this->first_entry = ScmTabEntry::countBySql('range_id = ?', array($GLOBALS['SessSemName'][1])) == 0; $this->set_title(_('Neue Informationsseite anlegen')); $this->render_action('edit'); }