[dev] [patch] mnemo edit.png fix

Vilius Šumskas vilius at lnk.lt
Tue Nov 9 01:17:47 PST 2004


Hello

patch makes mnemo to use Horde's edit.png

-- 
  Best Regards,

  Vilius
-------------- next part --------------
Index: memo_headers.inc
===================================================================
RCS file: /repository/mnemo/templates/list/memo_headers.inc,v
retrieving revision 1.16
diff -u -r1.16 memo_headers.inc
--- memo_headers.inc	19 Oct 2004 15:22:08 -0000	1.16
+++ memo_headers.inc	9 Nov 2004 09:13:27 -0000
@@ -1,7 +1,7 @@
 <?php $sortbyurl = Util::addParameter('list.php', 'sortdir=' . abs(1 - $sortdir)) ?>
 <table width="100%" border="0" cellpadding="0" cellspacing="0" style="padding-right:5px;">
  <tr class="item">
-  <td nowrap="nowrap" width="3%" align="center"><?php echo Horde::img('edit.png', _("Edit Note")) ?></td>
+  <td nowrap="nowrap" width="3%" align="center"><?php echo Horde::img('edit.png', _("Edit Note"), '', $registry->getImageDir('horde')) ?></td>
   <th class="<?php echo ($sortby == MNEMO_SORT_DESC) ? 'selected' : 'item' ?>" width="82%" align="left" nowrap="nowrap">
     <?php if ($sortby == MNEMO_SORT_DESC) echo Horde::link(Horde::applicationUrl(Util::addParameter($sortbyurl, 'sortby', MNEMO_SORT_DESC)), _("Change sort direction"), 'widget') . Horde::img($sortdir ? 'za.png' : 'az.png', _("Change sort direction"), '', $registry->getImageDir('horde')) . '</a>' ?>
     <?php echo Horde::widget(Horde::applicationUrl(Util::addParameter('list.php', 'sortby', MNEMO_SORT_DESC)), _("Sort by Note Text"), 'widget', '', '', _("No_te")) ?>
Index: memo_summaries.inc
===================================================================
RCS file: /repository/mnemo/templates/list/memo_summaries.inc,v
retrieving revision 1.26
diff -u -r1.26 memo_summaries.inc
--- memo_summaries.inc	19 Oct 2004 08:11:19 -0000	1.26
+++ memo_summaries.inc	9 Nov 2004 09:13:27 -0000
@@ -2,7 +2,7 @@
   <td nowrap="nowrap" align="center" class="linedRow">
     <?php if (!is_a($share, 'PEAR_Error') && $share->hasPermission(Auth::getAuth(), PERMS_EDIT)): ?>
       <?php echo Horde::link(Horde::applicationUrl(Util::addParameter($memourl, 'actionID', 'modify_memo')), _("Edit Note"), 'widget') .
-                 Horde::img('edit.png', _("Edit Note")) ?></a>
+                 Horde::img('edit.png', _("Edit Note"), '', $registry->getImageDir('horde')) ?></a>
     <?php endif; ?>
   </td>
   <td nowrap="nowrap" class="linedRow">


More information about the dev mailing list