|
@@ 132-134 (lines=3) @@
|
| 129 |
|
// require_once SMARTOBJECT_ROOT_PATH . 'class/smartobjectcontroller.php'; |
| 130 |
|
$controller = new ObjectController($this->_objectHandler); |
| 131 |
|
|
| 132 |
|
if (in_array('edit', $this->_actions)) { |
| 133 |
|
$actions[] = $controller->getEditItemLink($object, false, true); |
| 134 |
|
} |
| 135 |
|
if (in_array('delete', $this->_actions)) { |
| 136 |
|
$actions[] = $controller->getDeleteItemLink($object, false, true); |
| 137 |
|
} |
|
@@ 135-137 (lines=3) @@
|
| 132 |
|
if (in_array('edit', $this->_actions)) { |
| 133 |
|
$actions[] = $controller->getEditItemLink($object, false, true); |
| 134 |
|
} |
| 135 |
|
if (in_array('delete', $this->_actions)) { |
| 136 |
|
$actions[] = $controller->getDeleteItemLink($object, false, true); |
| 137 |
|
} |
| 138 |
|
$aObject['actions'] = $actions; |
| 139 |
|
|
| 140 |
|
$this->_tpl->assign('smartobject_actions_column_width', count($actions) * 30); |