summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2003-03-09 17:21:22 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2003-03-09 17:21:22 +0000
commit5a646024db388f0709abd488e2780eb5095153e0 (patch)
tree28f6d04e1918d96a6df9b6b97e395397448e00d8 /modules/node.module
parent1421c878d16f7d88bcc85c0dfc4b7c006b267526 (diff)
downloadbrdo-5a646024db388f0709abd488e2780eb5095153e0.tar.gz
brdo-5a646024db388f0709abd488e2780eb5095153e0.tar.bz2
- Ahem , trailing spaces.
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/node.module b/modules/node.module
index d8c3743b0..97519ade4 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -528,7 +528,7 @@ function node_admin_nodes() {
function node_admin_settings($edit) {
global $op;
-
+
if ($op == t("Save configuration")) {
/*
** Save the configuration options:
@@ -562,14 +562,14 @@ function node_admin_settings($edit) {
$rows[] = array_merge(array(module_invoke($name, "node", "name")), $cols);
}
}
-
+
$output .= table($header, $rows);
/* This is an idea for the future.
foreach (module_list() as $name) {
if (module_hook($name, "node")) {
$node->type = $name;
-
+
// Create table() data:
$header = array_keys(node_invoke_all($node, "nodeapi", "settings"));
$cols = array();
@@ -586,7 +586,7 @@ function node_admin_settings($edit) {
$output .= form_submit(t("Save configuration"));
$output .= form_submit(t("Reset to defaults"));
-
+
print form($output);
}
@@ -840,7 +840,7 @@ function node_validate($node, &$error) {
if (!$node->date) {
$node->date = date("M j, Y g:i a", $node->created);
}
-
+
if (!is_numeric($node->status)) {
$node->status = 1;
}
@@ -923,7 +923,7 @@ function node_form($edit, $error = NULL) {
if (function_exists($function)) {
$form .= $function($edit, $help, $error, $param);
}
-
+
// Append extra node form:
$form .= implode("", node_invoke_all($edit, "nodeapi", "form post", $error));