File modules/cms/action/template/TemplateAddAction.class.php
Last commit: Fri Mar 11 20:28:18 2022 +0100 dankert Using the global "add" method to add new template elements.
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 }
Downloadmodules/cms/action/template/TemplateAddAction.class.php
History Fri, 11 Mar 2022 20:28:18 +0100 dankert Using the global "add" method to add new template elements.