Commit dc69963d authored by Gábor Hojtsy's avatar Gábor Hojtsy

display info when no scheduled items available

parent ee60c934
......@@ -206,10 +206,16 @@ function scheduler_admin() {
);
}
if (count($rows)) {
if ($pager = theme("pager", NULL, 50, 0, tablesort_pager())) {
$rows[] = array(array("data" => $pager, "colspan" => 6));
}
print theme("page", theme("table", $header, $rows));
}
else {
print theme("page", t('There are no scheduled nodes.'));
}
}
// Generates a range for dates between $start and $end, but
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment