6.0.0-beta1
11/8/25

[#1390] Preferences Menus Visual Enhancement
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

History
10/23/2005 12:10:21 AM Jan Schneider State ⇒ Rejected
 
03/06/2005 01:40:07 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
I think this would actually decrease readability because the labels 
(or the fields, depending on the order) wouldn't line up anymore.



And the code snippet you posted was actually the current code.
02/16/2005 07:26:24 PM scott (at) realorganized (dot) com Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Preferences Menus Visual Enhancement
Queue ⇒ Horde Framework Packages
Reply to this comment
For preferences, the title of a drop-down menu is on one line and the 
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']) ?>&nbsp;<?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 />


Saved Queries