diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-08-21 15:47:50 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-08-21 15:47:50 +0000 |
commit | 8d013b16662097d422ffcd60658ce64bc2b1fbd8 (patch) | |
tree | 0598c25ab16dd40cff1fc2ee30a71d032531f05b /modules/node/node.module | |
parent | 0bbe58901ed15bc69fcdd6014b3e43904dd05ef3 (diff) | |
download | brdo-8d013b16662097d422ffcd60658ce64bc2b1fbd8.tar.gz brdo-8d013b16662097d422ffcd60658ce64bc2b1fbd8.tar.bz2 |
- Applied Moshe's tablesort patch! Note that I changed the arrow images
because those of Moshe where not identical.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r-- | modules/node/node.module | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index e87cbff53..a1923ad33 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -241,6 +241,8 @@ function node_load($conditions, $revision = -1) { ** Unserialize the revisions field: */ +print "wa: $node->title"; + if ($node->revisions) { $node->revisions = unserialize($node->revisions); } @@ -676,7 +678,7 @@ function node_admin_nodes() { */ $result = pager_query("SELECT n.*, u.name, u.uid FROM {node} n LEFT JOIN {users} u ON n.uid = u.uid ". $filters[$filter][1], 50); - $header = array(NULL, t("title"), t("type"), t("author"), t("status"), t("operations")); + $header = array(t("title"), t("type"), t("author"), t("status"), array ("data" => t("operations"), "colspan" => 2)); while ($node = db_fetch_object($result)) { $rows[] = array(l($node->title, node_url($node)) ." ". (node_is_new($node->nid, $node->changed) ? theme_mark() : ""), module_invoke($node->type, "node", "name"), format_name($node), ($node->status ? t("published") : t("not published")), l(t("edit node"), "admin/node/edit/$node->nid"), l(t("delete node"), "admin/node/delete/$node->nid")); |