blob: c58274a50c9e7ae7304679dbb2faa28a241f1d0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<?php
include "includes/common.inc";
function node_update($node) {
}
function node_history($node) {
}
function node_refers($node) {
}
$node = ($title ? node_get_object(title, check_input($title)) : node_get_object(nid, check_input($id)));
if ($node && node_visible($node)) {
switch ($op) {
case "update":
// node_update($node);
// break;
case "history":
// node_history($node);
// break;
case "referers":
// node_referers($node);
// break;
default:
node_view($node);
}
}
else {
$theme->header();
$theme->box(t("Warning: not found"), t("The content or data you requested does not exist or is not accessible."));
$theme->footer();
}
?>
|