summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/watchdog.module3
-rw-r--r--modules/watchdog/watchdog.module3
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module
index 82881e87c..38608c659 100644
--- a/modules/watchdog.module
+++ b/modules/watchdog.module
@@ -98,8 +98,9 @@ function watchdog_overview($type) {
}
if (!$rows) {
- $rows[] = array(array("data" => t("No <i>%s</i> messages currently available.", array("%s" => $type)), "colspan" => "5"));
+ $rows[] = array(array("data" => t("No log messages available."), "colspan" => "5"));
}
+
$pager = pager_display(NULL, 50, 0, "admin", tablesort_pager());
if (!empty($pager)) {
$rows[] = array(array("data" => $pager, "colspan" => "5"));
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module
index 82881e87c..38608c659 100644
--- a/modules/watchdog/watchdog.module
+++ b/modules/watchdog/watchdog.module
@@ -98,8 +98,9 @@ function watchdog_overview($type) {
}
if (!$rows) {
- $rows[] = array(array("data" => t("No <i>%s</i> messages currently available.", array("%s" => $type)), "colspan" => "5"));
+ $rows[] = array(array("data" => t("No log messages available."), "colspan" => "5"));
}
+
$pager = pager_display(NULL, 50, 0, "admin", tablesort_pager());
if (!empty($pager)) {
$rows[] = array(array("data" => $pager, "colspan" => "5"));