/* Show the current application and a form for switching
* applications. */
$t = clone $base_ui;
- $t->set('horde', !empty($apps['horde']));
+ $t->set('horde', !empty($apps['horde']) && ($this->app != 'horde'));
unset($apps['horde'], $apps[$this->app]);
$tmp = array();
foreach ($apps as $key => $val) {
<span class="smallheader rightFloat">
<select id="app" name="app">
<option value=""><gettext>Edit Options for</gettext>:</option>
-<if:horde>
<option value="" disabled="disabled">- - - - - - - - -</option>
+<if:horde>
<option value="horde"><gettext>Global Options</gettext></option>
<option value="" disabled="disabled">- - - - - - - - -</option>
</if:horde>