<?php echo Horde::label($pref, $_prefs[$pref]['desc']) ?>&nbsp;<?php echo $helplink ?><br />
<select id="<?php echo htmlspecialchars($pref) ?>" name="<?php echo htmlspecialchars($pref) ?>">
<?php $curval = $prefs->getValue($pref); foreach ($_prefs[$pref]['enum'] as $key => $val): ?>
<option<?php echo $curval == $key ? ' selected="selected"' : '' ?> value="<?php echo htmlspecialchars($key) ?>"><?php echo htmlspecialchars($val) ?></option>
<?php endforeach ?>
</select>
<br />
