Changeset 2217
- Timestamp:
- Feb 27, 2008, 4:15:31 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_check_integrity.inc.php
r2208 r2217 79 79 foreach ($page['check_integrity']['list'] as $i => $c13y) 80 80 { 81 if (!empty($c13y['correction_fct']) and 81 if (!empty($c13y['correction_fct']) and 82 82 $c13y['is_callable'] and 83 83 in_array($c13y['id'], $_POST['c13y_selection'])) … … 97 97 } 98 98 $page['check_integrity']['list'][$i]['corrected'] = call_user_func_array($c13y['correction_fct'], $args); 99 99 100 100 if ($page['check_integrity']['list'][$i]['corrected']) 101 101 { … … 150 150 $ignore_list_changed = 151 151 ( 152 ($ignore_list_changed) or 152 ($ignore_list_changed) or 153 153 (count(array_diff($page['check_integrity']['ignore_list'], $page['check_integrity']['build_ignore_list'])) > 0) or 154 154 (count(array_diff($page['check_integrity']['build_ignore_list'], $page['check_integrity']['ignore_list'])) > 0) … … 268 268 } 269 269 270 $template->concat_var _from_handle('ADMIN_CONTENT', 'check_integrity');270 $template->concat_var('ADMIN_CONTENT', $template->parse('check_integrity', true) ); 271 271 } 272 272 } … … 393 393 'l10n_non_existent' => 'c13y_default_non_existent'); 394 394 } 395 395 396 396 $c13y_users[$conf['webmaster_id']] = array( 397 397 'status' => 'webmaster', … … 404 404 left join '.USER_INFOS_TABLE.' as ui 405 405 on u.'.$conf['user_fields']['id'].' = ui.user_id 406 where 406 where 407 407 u.'.$conf['user_fields']['id'].' in ('.implode(',', array_keys($c13y_users)).') 408 408 ;'; … … 477 477 } 478 478 } 479 479 480 480 $inserts = array( 481 481 array( -
trunk/include/template.class.php
r2216 r2217 246 246 $is_new = true; 247 247 $params = array('resource_name' => $this->files[$handle], 'quiet'=>true, 'get_source'=>true); 248 if ( $this->smarty->_fetch_resource_info( &$params) )248 if ( $this->smarty->_fetch_resource_info($params) ) 249 249 { 250 250 if (!preg_match('~{(/(if|section|foreach))|\$[a-zA-Z_]+}~', @$params['source_content']) )
Note: See TracChangeset
for help on using the changeset viewer.