summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module14
1 files changed, 13 insertions, 1 deletions
diff --git a/modules/book.module b/modules/book.module
index 62662ee8f..4a8603ad8 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -17,6 +17,18 @@ class Book {
}
}
+function book_post_threshold($node, $default) {
+ return $default;
+}
+
+function book_dump_threshold($node, $default) {
+ return $default;
+}
+
+function book_timout_threshold($node, $default) {
+ return $default;
+}
+
function book_location($node, $nodes = array()) {
$parent = db_fetch_object(db_query("SELECT n.nid, n.title, b.parent FROM node n LEFT JOIN book b ON n.nid = b.nid AND n.lid = b.lid WHERE n.nid = '$node->parent'"));
if ($parent->title) {
@@ -216,7 +228,7 @@ function book_update($id) {
return t("You can only update accepted pages: pages that are still queued or already expired can not be updated.");
}
else if (db_result(db_query("SELECT COUNT(nid) FROM node WHERE pid = '$node->nid' AND status = '$status[queued]'"))) {
- return t("There is already an update for this node queued: we can only process one update at the time.");
+ return t("There is already an update for this node in the queue: we can only process one update at once.");
}
else {
return book_form(array(nid => -1, pid => $id, title => $node->title, body => $node->body, parent => $node->parent));