adminChangeActivationStatus(postRequestElement('id'), 'countries', 'is_active');
// Show next link
- loadTemplate('admin_next_link', false, array(
+ loadTemplate('admin_next_link', FALSE, array(
'url' => 'modules.php?module=admin&what=list_country',
'title' => '{--ADMIN_COUNTRY_ACTIVATION_NEXT_LINK--}'
));
$content['is_active'] = $isActive;
// Insert row template and switch color
- $OUT .= loadTemplate($row, true, $content);
+ $OUT .= loadTemplate($row, TRUE, $content);
} // END - if
// Free result
);
// Load main template
- loadTemplate('admin_list_country_form', false, $content);
+ loadTemplate('admin_list_country_form', FALSE, $content);
} // END - if
} else {
// Shall we modify / remove entries now?
$OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
// Load row template and switch colors
- $OUT .= loadTemplate('admin_list_country_row', true, $content);
+ $OUT .= loadTemplate('admin_list_country_row', TRUE, $content);
} // END - while
// Free memory
SQL_FREERESULT($result);
} else {
// No code setup so far (not possible by this software! 'DE' for 'Deutschland' is default
- $OUT = loadTemplate('admin_list_country_no_row', true);
+ $OUT = loadTemplate('admin_list_country_no_row', TRUE);
}
// Add list to constant for the template
$content['rows'] = $OUT;
// Include add template
- $content['add_form'] = loadTemplate('admin_add_country', true);
+ $content['add_form'] = loadTemplate('admin_add_country', TRUE);
// Load main template
- loadTemplate('admin_list_country', false, $content);
+ loadTemplate('admin_list_country', FALSE, $content);
}
// [EOF]