[Tickets #1390] NEW: Preferences Menus Visual Enhancement
bugs at bugs.horde.org
bugs at bugs.horde.org
Wed Feb 16 11:26:25 PST 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=1390
-----------------------------------------------------------------------
Ticket | 1390
Created By | scott at realorganized.com
Summary | Preferences Menus Visual Enhancement
Queue | Horde Framework Packages
State | New
Priority | 1. Low
Type | Enhancement
Owners |
-----------------------------------------------------------------------
scott at realorganized.com (2005-02-16 11:26) wrote:
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']) ?> <?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 />
More information about the bugs
mailing list