minor patch [now with attachment]
Tarjei Huse <[email protected]> Fri, 14 May 2004 16:52:56 +0200
| Newsgroups | gmane.comp.horde.hermes |
|---|---|
| Message-ID | <[email protected]> |
It seems that the functionality to export a searchresult was lost in the general cleanup patch Jason commited recently. Here's a ptach to get it back. Tarjei -- hermes mailing list - Join the hunt: http://horde.org/bounties/#hermes Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]
search.php.export
(text/x-patch, 656 B)
Index: search.php
===================================================================
RCS file: /repository/hermes/search.php,v
retrieving revision 1.11
diff -u -r1.11 search.php
--- search.php 2 May 2004 21:25:56 -0000 1.11
+++ search.php 14 May 2004 14:36:24 -0000
@@ -67,7 +67,6 @@
$title = _("Search for Time");
require HERMES_TEMPLATES . '/common-header.inc';
-
Hermes::menu();
if ($vars->exists('id')) {
@@ -109,4 +108,7 @@
}
}
+$exportForm = &Horde_Form::singleton('ExportForm', $vars);
+$exportForm->renderActive($r, $vars, 'search.php', 'post');
+
require $registry->getParam('templates', 'horde') . '/common-footer.inc';