[turba] [PATCH] Add default directory option to Turba

Brad Dameron bdameron at tscnet.com
Tue Dec 3 01:04:44 2002


Chuck,

Here's an additional patch I think if usefull. It just add's shortcuts for
the edit and delete entries in the browse view.
Had many customers confused on how to delete an address entry.


---
Brad Dameron									Network Account Executive
TSCNet Inc.								         	www.tscnet.com
Silverdale, WA.									1-888-8TSCNET



> -----Original Message-----
> From: turba-bounces@lists.horde.org
> [mailto:turba-bounces@lists.horde.org]On Behalf Of Chuck Hagenbuch
> Sent: Monday, December 02, 2002 4:50 PM
> To: turba@lists.horde.org
> Subject: Re: [turba] [PATCH] Add default directory option to Turba
>
>
> Quoting Richard Heggs <Richard.Heggs@nottinghamcity.gov.uk>:
>
> > Attached is a patch which adds functionality to Turba, to
> enable users to
> > select a default directory for searching, adding to, creating lists in,
> > etc.
> >
> > My first patch, so please be nice. :)
>
> Well, I committed it, so it can't be that bad! ;)
>
> Seriously, this looked pretty good. I changed a few things; you
> didn't need
> a 'special' pref for this, a 'select' works just fine; also, I didn't
> include your change to advanced.php because it could cause breakage if
> sources change, etc. (and isn't needed there, since there's only one
> possible source anyway).
>
> Also, you didn't quite have an up-to-date checkout except for
> your changes,
> so your diff included some changes which simply reverted completely
> unrelated changes; try to be careful about that in the future.
>
> Thanks for your contribution!
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck@horde.org>
> "People ask me all the time what it will be like living without otters."
>  - Google, thanks to Harpers
>
> --
> Turba mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe@lists.horde.org
>
-------------- next part --------------
--- templates/search/row.inc    Mon Dec  2 16:48:25 2002
+++ templates/search/row.inc.orig       Mon Dec  2 16:55:45 2002
@@ -44,10 +44,4 @@
         <?= $field ?>
     </td>
 <?php endforeach; ?>
+    <td>
+      <?= Horde::link(Horde::applicationUrl('editobject.php?source=' . urlencode($GLOBALS['source']) . '&key=' . urlencode($ob->getValue('__key'))), _("Edit"), 'menuitem') . _("Edit") ?></a>
+    </td>
+    <td>
+      <?= Horde::link(Horde::applicationUrl('deleteobject.php?source=' . urlencode($GLOBALS['source']) . '&key=' . urlencode($ob->getValue('__key'))), _("Delete"), 'menuitem') . _("Delete") ?></a>
+    </td>
 </tr>


More information about the turba mailing list