- Timestamp:
- 01/18/12 00:59:19 (4 months ago)
- File:
-
- 1 edited
-
tags/7.0/inc/classes/BxDolTemplate.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/7.0/inc/classes/BxDolTemplate.php
r15830 r15891 19 19 * see license.txt file; if not, write to marketing@boonex.com 20 20 ***************************************************************************/ 21 22 ini_set('pcre.backtrack_limit', 1000000); 21 23 22 24 define('BX_DOL_TEMPLATE_DEFAULT_CODE', 'uni'); … … 1207 1209 $aKeyWrappers = $this->_getKeyWrappers($mixedKeyWrapperHtml); 1208 1210 1209 for($i = 0; $i < count($aKeys); $i++) { 1210 if(strpos($aKeys[$i], 'bx_repeat:') === 0) { 1211 $iCountKeys = count($aKeys); 1212 for ($i = 0; $i < $iCountKeys; $i++) { 1213 if (strncmp($aKeys[$i], 'bx_repeat:', 10) === 0) { 1211 1214 $sKey = "'<" . $aKeys[$i] . ">(.*)<\/" . $aKeys[$i] . ">'s"; 1212 1215 … … 1223 1226 } 1224 1227 } 1225 else if (strpos($aKeys[$i], 'bx_if:') === 0) {1228 else if (strncmp($aKeys[$i], 'bx_if:', 6) === 0) { 1226 1229 $sKey = "'<" . $aKeys[$i] . ">(.*)<\/" . $aKeys[$i] . ">'s"; 1227 1230
Note: See TracChangeset
for help on using the changeset viewer.