Changeset 497 in subversion
- Timestamp:
- Feb 26, 2007 1:51:39 AM (6 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcube_shared.inc (modified) (1 diff)
-
program/steps/mail/compose.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r491 r497 1 1 CHANGELOG RoundCube Webmail 2 2 --------------------------- 3 4 2007/02/25 (estadtherr) 5 ---------- 6 - Fixed priority selector issue (#1484150) 7 3 8 4 9 2007/02/21 (thomasb) -
trunk/roundcubemail/program/include/rcube_shared.inc
r493 r497 1010 1010 if (!is_array($select)) 1011 1011 $select = array((string)$select); 1012 1012 1013 1013 foreach ($this->options as $option) 1014 1014 { 1015 $selected = ((!empty($option['value']) && in_array($option['value'], $select, TRUE)) || 1016 (in_array($option['text'], $select, TRUE))) ? $this->_conv_case(' selected', 'attrib') : ''; 1015 $selected = ((isset($option['value']) && 1016 in_array($option['value'], $select, TRUE)) || 1017 (in_array($option['text'], $select, TRUE))) ? 1018 $this->_conv_case(' selected', 'attrib') : ''; 1017 1019 1018 1020 $options_str .= sprintf("<%s%s%s>%s</%s>\n", 1019 1021 $this->_conv_case('option', 'tag'), 1020 !empty($option['value']) ? sprintf($value_str, $option['value']) : '',1022 isset($option['value']) ? sprintf($value_str, $option['value']) : '', 1021 1023 $selected, 1022 1024 Q($option['text'], 'strict', FALSE), 1023 1025 $this->_conv_case('option', 'tag')); 1024 1026 } 1025 1027 1026 1028 // return final tag 1027 1029 return sprintf('<%s%s>%s</%s>%s', -
trunk/roundcubemail/program/steps/mail/compose.inc
r493 r497 767 767 array(5, 4, 0, 2, 1)); 768 768 769 $sel = isset($_POST['_priority']) ? $_POST['_priority'] : rcube_label('normal');769 $sel = isset($_POST['_priority']) ? $_POST['_priority'] : 0; 770 770 771 771 $out = $form_start ? "$form_start\n" : '';
Note: See TracChangeset
for help on using the changeset viewer.
