/[cvs]/nfo/patches/horde/turba/actions-in-listview/row.inc.patch
ViewVC logotype

Contents of /nfo/patches/horde/turba/actions-in-listview/row.inc.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Mon Oct 21 11:20:16 2002 UTC (21 years, 8 months ago) by joko
Branch: MAIN
CVS Tags: HEAD
initial checkin

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>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed