- Misplaced backet

4.7.x
Dries Buytaert 2005-07-19 17:09:55 +00:00
parent 1d9c0cd65f
commit a2656ab39b
2 changed files with 38 additions and 38 deletions

View File

@ -396,6 +396,7 @@ function taxonomy_overview() {
if (($start_from && ($start_from * $page_increment) >= $total_entries) || ($displayed_count == $page_increment)) { continue; }
$rows[] = array(_taxonomy_depth($term->depth) . ' ' . check_plain($term->name), l(t('edit'), "admin/taxonomy/edit/term/$term->tid", array(), $destination));
$displayed_count++; // we're counting tids displayed
}
if (!$rows) {
$rows[] = array(array('data' => t('No terms available.'), 'colspan' => '2'));
@ -408,7 +409,6 @@ function taxonomy_overview() {
$rows[] = array(array('data' => theme('pager', NULL, $page_increment), 'colspan' => '2'));
}
}
}
return theme('table', $header, $rows, array('id' => 'taxonomy'));
}

View File

@ -396,6 +396,7 @@ function taxonomy_overview() {
if (($start_from && ($start_from * $page_increment) >= $total_entries) || ($displayed_count == $page_increment)) { continue; }
$rows[] = array(_taxonomy_depth($term->depth) . ' ' . check_plain($term->name), l(t('edit'), "admin/taxonomy/edit/term/$term->tid", array(), $destination));
$displayed_count++; // we're counting tids displayed
}
if (!$rows) {
$rows[] = array(array('data' => t('No terms available.'), 'colspan' => '2'));
@ -408,7 +409,6 @@ function taxonomy_overview() {
$rows[] = array(array('data' => theme('pager', NULL, $page_increment), 'colspan' => '2'));
}
}
}
return theme('table', $header, $rows, array('id' => 'taxonomy'));
}