Enable object actions.
authorGunnar Wrobel <p@rdus.de>
Tue, 28 Apr 2009 20:56:08 +0000 (22:56 +0200)
committerGunnar Wrobel <p@rdus.de>
Tue, 28 Apr 2009 20:56:08 +0000 (22:56 +0200)
koward/app/views/Object/view.html.php

index ecb5cd8..b9da7d2 100644 (file)
@@ -1,8 +1,13 @@
 <?= $this->renderPartial('header'); ?>
 <?= $this->renderPartial('menu'); ?>
 <?php
+if (isset($this->actions)) {
+    echo $this->actions->renderActive(new Horde_Form_Renderer(), $this->vars,
+                                      $this->post, 'post');
+}
+
 if (isset($this->form)) {
     echo $this->form->renderInactive(new Horde_Form_Renderer(), $this->vars);
 
     echo $this->edit;
-}
\ No newline at end of file
+}