Changeset 15937
- Timestamp:
- 01/31/12 19:08:09 (4 months ago)
- File:
-
- 1 edited
-
tags/7.0/administration/menu_compose_admin.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/7.0/administration/menu_compose_admin.php
r15200 r15937 154 154 $iIndex = 0; 155 155 while(($aTopItem = mysql_fetch_assoc($rTopItems)) !== false) { 156 $sTopestTitle = _t($aTopItem['title']);156 $sTopestTitle = bx_js_string(_t($aTopItem['title'])); 157 157 $sComposerInit .= " 158 158 … … 164 164 $rCustomItems = db_res( $sQuery ); 165 165 while(($aCustomItem = mysql_fetch_assoc($rCustomItems)) !== false) { 166 $sCustomTitle = _t($aCustomItem['title']);166 $sCustomTitle = bx_js_string(_t($aCustomItem['title'])); 167 167 $sComposerInit .= " 168 168 aCustomItems[$iIndex][" . ($iSubIndex++) . "] = [{$aCustomItem['id']}, '{$sCustomTitle}', 3];"; … … 174 174 $sComposerInit .= "\n"; 175 175 while(($aAllTopItem = mysql_fetch_assoc($rAllTopItems)) !== false) { 176 $sTopTitle = _t($aAllTopItem['title']);176 $sTopTitle = bx_js_string(_t($aAllTopItem['title'])); 177 177 $sComposerInit .= " 178 178 aAllItems[" . ($aAllTopItem['id'] + 1000) . "] = '{$sTopTitle}';"; … … 181 181 $sComposerInit .= "\n"; 182 182 while(($aAllItem = mysql_fetch_assoc($rAllItems)) !== false) { 183 $sOrdTitle = _t($aAllItem['title']);183 $sOrdTitle = bx_js_string(_t($aAllItem['title'])); 184 184 $sComposerInit .= " 185 185 aAllItems[{$aAllItem['id']}] = '{$sOrdTitle}';";
Note: See TracChangeset
for help on using the changeset viewer.