// Do we have entries?
if ($rows > 0) {
// List all entries
- $OUT = ''; $SW = 2;
+ $OUT = '';
while ($row = SQL_FETCHARRAY($result)) {
- // Add color switching
- $row['sw'] = $SW;
-
// Add it to network if the type matches selected
if ($row['network_type_id'] == getRequestParameter('network_type_id')) {
// Matches, then add it for disabling this entry
// Add row template and switch color
$OUT .= loadTemplate('admin_list_network_translations_row', true, $row);
- $SW = 3 - $SW;
} // END - while
// Prepare data for template