TemplateAddAction.class.php (531B)
1 <?php 2 namespace cms\action\template; 3 use cms\action\Action; 4 use cms\action\Method; 5 use cms\action\RequestParams; 6 use cms\action\TemplateAction; 7 use cms\model\Element; 8 use cms\model\Project; 9 use cms\model\Template; 10 use language\Messages; 11 12 13 class TemplateAddAction extends TemplateAddelAction { 14 public function view() { 15 16 $this->request->redirectActionAndMethod('template','addel'); 17 parent::view(); 18 } 19 20 21 public function post() { 22 23 $this->request->redirectActionAndMethod('template','addel'); 24 parent::post(); 25 } 26 }