<form method="get" name="appswitch" action="<?php echo $registry->get('webroot', 'horde') . '/services/prefs.php' ?>">
<?php echo Util::formInput() ?>
<div class="header">
 <span class="smallheader rightFloat">
  <?php echo _("Edit options for:") ?>
  <select name="app" onchange="document.appswitch.submit();">
    <option value=""></option>
   <?php foreach ($apps as $key => $val): ?>
    <option value="<?php echo htmlspecialchars($key) ?>"><?php echo htmlspecialchars($val) ?></option>
   <?php endforeach; ?>
  </select>
  <input class="button" type="submit" onclick="return document.appswitch.app.selectedIndex != 0;" value="<?php echo _("Go") ?>" />
 </span>
 <?php printf(_("Options for %s"), $registry->get('name')) ?>
 <br class="clear" />
</div>
</form>
<br class="spacer" />
