summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/book.module b/modules/book.module
index b2f09b84c..342c808e8 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -29,6 +29,10 @@ function book_timout_threshold($node, $default) {
return $default;
}
+function book_status() {
+ return array(dumped, expired, queued, posted);
+}
+
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) {