* @category Horde * @license http://www.horde.org/licenses/lgpl LGPL-2 * @package Horde */ require_once __DIR__ . '/../../lib/Application.php'; Horde_Registry::appInit('horde', array('nologintaks' => true)); $tag = Horde_Util::getFormData('tag'); $results = array(); foreach ($registry->listAPIs() as $api) { if ($registry->hasMethod($api . '/listTagInfo')) { try { $results = array_merge( $results, $registry->{$api}->searchTags(array($tag), 10, 0, '', $registry->getAuth())); } catch (Horde_Exception $e) { Horde::log($e, 'ERR'); } } } echo '
' . sprintf(_("Results for %s"), '' . htmlspecialchars($tag) . '') . '' . Horde::link('#', '', '', '', '$(\'cloudsearch\').hide();', '', '', array('style' => 'font-size:75%;')) . '(' . _("Hide Results") . ')
';