[dev] trean patch - delete/edit didn't work

Klavs Klavsen kl at vsen.dk
Tue Jan 14 14:53:20 PST 2003


I guys,

found a small bug in trean/templates/bookmark/standard.inc.

patch changes 2 lines (which sets the url for the delete and edit icons)
so they state <?php echo.. instead of <?echo :)

--- standard.inc.orig   2003-01-14 14:50:16.000000000 +0100
+++ standard.inc        2003-01-14 14:50:27.000000000 +0100
@@ -20,9 +20,9 @@
     <?php echo trim($name) ?></a></td>
 <?php if ($prefs->getValue('display_edit') && !empty($category)) : ?>
     <td valign="bottom" rowspan="<?php echo (empty($description)) ? '2'
: '3'; ?>">-        <?echo Horde::link($delurl, _('Delete')) ?>
+        <?php echo Horde::link($delurl, _('Delete')) ?>
         <?php echo Horde::img('delete.gif', _('Delete')); ?></a>
-        <?echo Horde::link($editurl, _('Edit')) ?>
+        <?php echo Horde::link($editurl, _('Edit')) ?>
         <?php echo Horde::img('edit.gif', _('Edit')); ?></a>
     </td>
 <?php endif; ?>



More information about the dev mailing list