| Summary | Preferences Menus Visual Enhancement |
| Queue | Horde Framework Packages |
| Type | Enhancement |
| State | Rejected |
| Priority | 1. Low |
| Owners | |
| Requester | scott (at) realorganized (dot) com |
| Created | 02/16/2005 (7570 days ago) |
| Due | |
| Updated | 10/23/2005 (7321 days ago) |
| Assigned | |
| Resolved | 10/23/2005 (7321 days ago) |
| Milestone | |
| Patch | No |
State ⇒ Feedback
(or the fields, depending on the order) wouldn't line up anymore.
And the code snippet you posted was actually the current code.
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Preferences Menus Visual Enhancement
Queue ⇒ Horde Framework Packages
drop-down menu ityself on a second line. Readability and visual
compactness can be improved by putting these two elements on the same
line.
Files that would be changed are:
horde/templates/prefs/enum.inc
horde/templates/prefs/select.inc
below is a sample of one the file files. For each file:
1. Remove the <br />
2. Move the <?php echo $helplink ?> to after the drop-down menu
<?php echo Horde::label($pref, $_prefs[$pref]['desc']) ?> <?php
echo $helplink ?><br />
<select id="<?php echo $pref ?>" name="<?php echo $pref ?>">
<?php $select_var = $pref . '_options'; foreach ($GLOBALS[$select_var]
as $select_key => $select_val): ?>
<option value="<?php echo htmlspecialchars($select_key) ?>"<?php
if ($select_key == $prefs->getValue($pref)) echo '
selected="selected"' ?>><?php echo $select_val ?></option>
<?php endforeach; ?>
</select>
<br />