diff --git a/application/controllers/SyncruleController.php b/application/controllers/SyncruleController.php index 057cd9ab..52201209 100644 --- a/application/controllers/SyncruleController.php +++ b/application/controllers/SyncruleController.php @@ -28,6 +28,15 @@ class SyncruleController extends ActionController } else { $this->view->run = null; } + $this->view->checkForm = $this + ->loadForm('syncCheck') + ->setSyncRule($rule) + ->handleRequest(); + + $this->view->runForm = $this + ->loadForm('syncRun') + ->setSyncRule($rule) + ->handleRequest(); } public function addAction() diff --git a/application/views/scripts/syncrule/index.phtml b/application/views/scripts/syncrule/index.phtml index 9ec34870..9ac398e9 100644 --- a/application/views/scripts/syncrule/index.phtml +++ b/application/views/scripts/syncrule/index.phtml @@ -43,6 +43,8 @@ TODO: check whether... - there have been activities since then */ ?>
+= $this->checkForm ?> += $this->runForm ?> run): ?>= $this->escape( print_r($this->run->getProperties(), 1)); ?>-