* * http://www.radix.net/~cknudsen * * -------------------------------------------- * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * \**************************************************************************/ /* $Id$ */ $phpgw_flags["currentapp"] = "calendar"; if (! $keywords) { // If we reach this it becuase they didn't search for anything, // attempt to send them back to where they where. Header("Location: " . $phpgw->link($from,"date=$datemonth=$month&day=$day&year=$year")); } include("../header.inc.php"); $error = ""; if (strlen($keywords) == 0) $error = lang_calendar("You must enter one or more search keywords."); $matches = 0; ?>
"; else if ($matches > 0) echo "" . lang_calendar("x matches found",$matches) . ".
"; else $error = lang_calendar("no matches found."); // now sort by number of hits if (! strlen($error)) { arsort ($ids); for (reset($ids); $key = key($ids); next($ids)) { echo "