Changeset 15857 for trunk/templates
- Timestamp:
- 01/09/12 01:12:34 (5 months ago)
- File:
-
- 1 edited
-
trunk/templates/base/scripts/BxBaseFormView.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/base/scripts/BxBaseFormView.php
r15855 r15857 838 838 foreach ($aInput['values'] as $sValue => $sTitle) { 839 839 if(is_array($sTitle)) { 840 if(isset($sTitle['type'])) { 841 switch($sTitle['type']) { 842 case 'group_header': 843 $sTitle = bx_process_output($sTitle['value']); 844 $sOptions .= <<<BLAH 845 <optgroup label="$sTitle"> 846 BLAH; 847 break; 848 case 'group_end': 849 $sOptions .= <<<BLAH 850 </optgroup> 851 BLAH; 852 break; 853 } 854 continue; 855 } 856 840 857 $sValue = $sTitle['key']; 841 858 $sTitle = $sTitle['value'];
Note: See TracChangeset
for help on using the changeset viewer.