1 |
joko |
1.1 |
--- row.inc.orig 2002-05-27 19:34:08.000000000 +0200 |
2 |
|
|
+++ row.inc.patched 2002-10-21 12:42:48.000000000 +0200 |
3 |
|
|
@@ -44,4 +44,17 @@ |
4 |
|
|
<?= $field ?> |
5 |
|
|
</td> |
6 |
|
|
<?php endforeach; ?> |
7 |
|
|
+ <? |
8 |
|
|
+ if ($ob->hasValue('__key') && $ob->hasValue('name')) { |
9 |
|
|
+ $urlparam = 'source=' . urlencode($GLOBALS['source']) . '&key=' . urlencode($ob->getValue('__key')); |
10 |
|
|
+ ?> |
11 |
|
|
+ <td> |
12 |
|
|
+ <?= Horde::link(Horde::applicationUrl('editobject.php?' . $urlparam), |
13 |
|
|
+ sprintf(_("Edit '%s'"), $ob->getValue('name'))) . _("[Edit]") . "</a>"; ?> |
14 |
|
|
+ </td> |
15 |
|
|
+ <td> |
16 |
|
|
+ <?= Horde::link(Horde::applicationUrl('deleteobject.php?' . $urlparam), |
17 |
|
|
+ sprintf(_("Delete '%s'"), $ob->getValue('name'))) . _("[Delete]") . "</a>"; ?> |
18 |
|
|
+ </td> |
19 |
|
|
+ <? } ?> |
20 |
|
|
</tr> |