- Misplaced backet
parent
1d9c0cd65f
commit
a2656ab39b
|
@ -396,6 +396,7 @@ function taxonomy_overview() {
|
||||||
if (($start_from && ($start_from * $page_increment) >= $total_entries) || ($displayed_count == $page_increment)) { continue; }
|
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));
|
$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
|
$displayed_count++; // we're counting tids displayed
|
||||||
|
}
|
||||||
|
|
||||||
if (!$rows) {
|
if (!$rows) {
|
||||||
$rows[] = array(array('data' => t('No terms available.'), 'colspan' => '2'));
|
$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'));
|
$rows[] = array(array('data' => theme('pager', NULL, $page_increment), 'colspan' => '2'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return theme('table', $header, $rows, array('id' => 'taxonomy'));
|
return theme('table', $header, $rows, array('id' => 'taxonomy'));
|
||||||
}
|
}
|
||||||
|
|
|
@ -396,6 +396,7 @@ function taxonomy_overview() {
|
||||||
if (($start_from && ($start_from * $page_increment) >= $total_entries) || ($displayed_count == $page_increment)) { continue; }
|
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));
|
$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
|
$displayed_count++; // we're counting tids displayed
|
||||||
|
}
|
||||||
|
|
||||||
if (!$rows) {
|
if (!$rows) {
|
||||||
$rows[] = array(array('data' => t('No terms available.'), 'colspan' => '2'));
|
$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'));
|
$rows[] = array(array('data' => theme('pager', NULL, $page_increment), 'colspan' => '2'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return theme('table', $header, $rows, array('id' => 'taxonomy'));
|
return theme('table', $header, $rows, array('id' => 'taxonomy'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue