HomeHelpTrac

Changeset 8236


Ignore:
Timestamp:
12/26/08 06:00:55 (3 years ago)
Author:
Sergey Zotov
Message:
 
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/classes/BxDolTemplate.php

    r8229 r8236  
    246246        } 
    247247 
    248         $aSelection = array_merge($aInjections['page_0'][$sKey], $aInjections['page_' . $iPageIndex][$sKey]); 
    249         foreach($aSelection as $aInjection) { 
    250             switch($aInjection['type']) { 
    251                 case 'text': 
    252                     $sInjData = $aInjection['data']; 
    253                     break; 
    254                 case 'php': 
    255                     ob_start(); 
    256                     eval($aInjection['data']); 
    257                     $sInjData = ob_get_clean(); 
    258                     break; 
    259             }             
    260             if((int)$aInjection['replace'] == 1) 
    261                 $sValue = $sInjData; 
    262             else  
    263                 $sValue .= $sInjData; 
    264         } 
     248        $aSelection = @array_merge($aInjections['page_0'][$sKey], $aInjections['page_' . $iPageIndex][$sKey]); 
     249        if (is_array($aSelections)) 
     250            foreach($aSelection as $aInjection) { 
     251                switch($aInjection['type']) { 
     252                    case 'text': 
     253                        $sInjData = $aInjection['data']; 
     254                        break; 
     255                    case 'php': 
     256                        ob_start(); 
     257                        eval($aInjection['data']); 
     258                        $sInjData = ob_get_clean(); 
     259                        break; 
     260                }             
     261                if((int)$aInjection['replace'] == 1) 
     262                    $sValue = $sInjData; 
     263                else  
     264                    $sValue .= $sInjData; 
     265            } 
     266         
    265267        return $sValue != '__' . $sKey . '__' ? str_replace('__' . $sKey . '__', '', $sValue) : $sValue; 
    266268    } 
  • trunk/inc/db_cached

    • Property svn:ignore set to
      *.inc
  • trunk/install/index.php

    r8170 r8236  
    3030    $aConf = array(); 
    3131    $aConf['release'] = '16.07.08'; 
    32     $aConf['iVersion'] = '6.1'; 
    33     $aConf['iPatch'] = '4'; 
     32    $aConf['iVersion'] = '7.0'; 
     33    $aConf['iPatch'] = 'alpha'; 
    3434    $aConf['dolFile'] = '../inc/header.inc.php'; 
    3535    $aConf['periodicFile'] = '../periodic/periodic.file'; 
Note: See TracChangeset for help on using the changeset viewer.