From c75057bb0fc99d56e1b7a48c5fecfe0cf0f6498d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 4 Jun 2001 15:40:39 +0000 Subject: CHANGES: - Added improved node scheduler: + Automatically post node at date 'xx/xx/xx, xx:xx'. + Automatically queue node at date 'xx/xx/xx, xx:xx'. + Automatically dump node at date 'xx/xx/xx, xx:xx'. Requires a database update, see ./updates/2.00-to-x.xx.sql! - Refactored the admin interface of node.module. It is only a start but it should show the direction we are going. + The new interface is easier to extend with new functionality and operations. New "edit xxx" links can easily be added on our way. + The new interface tries to cover all content- or node-related functions. Thus making a special admin interface for each new node type redundant. To demonstrate this, I removed the admin hook from page.module and forum.module. This removes quite a bit of logic from the invidual modules which is a good sign if you ask me. A centralized GUI or interface covering all node-related administration should make Drupal easier to administer. TODO: - All node-related nodes need updating. This should be trivial and I'll hapilly tackle this later tonight. - There will be bugs, and I'm still working on this but I would like to get some feedback (from Natrak et all) on both user-friendliness and usability of this new interface. I'm still working on it as we speak ... --- includes/node.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/node.inc b/includes/node.inc index d1f8021c8..b3a1fe9c1 100644 --- a/includes/node.inc +++ b/includes/node.inc @@ -65,7 +65,7 @@ function node_get_comments($nid) { function node_save($node, $filter) { global $user, $status; - $rows = array(nid, pid, lid, cid, tid, log, type, title, score, votes, author, status, comment, promote, moderate, timestamp); + $rows = array(nid, pid, lid, cid, tid, log, type, title, score, votes, author, status, comment, promote, moderate, attribute, timestamp, timestamp_posted, timestamp_queued, timestamp_hidden); if ($node[nid] > 0) { $n = node_get_object(array("nid" => $node[nid])); -- cgit v1.2.3