diff options
49 files changed, 99 insertions, 50 deletions
@@ -1,4 +1,5 @@ <?php +// $Id$ include_once "includes/common.inc"; @@ -17,5 +18,5 @@ if (!get_cfg_var("safe_mode")) { foreach (module_list() as $module) { module_invoke($module, "cron"); } - +
?>
\ No newline at end of file @@ -1,4 +1,5 @@ <?php +// $Id$ include_once "includes/common.inc"; @@ -12,5 +13,5 @@ if (strstr($REDIRECT_URL, "index.php")) { else { drupal_goto("index.php"); } - +
?>
\ No newline at end of file diff --git a/includes/common.inc b/includes/common.inc index e5263015f..e4e410f29 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1,4 +1,5 @@ -<? +<?php +// $Id$ function conf_init() { global $HTTP_HOST, $REQUEST_URI; diff --git a/includes/conf.php b/includes/conf.php index 7a89970c2..f432d0c02 100644 --- a/includes/conf.php +++ b/includes/conf.php @@ -1,4 +1,5 @@ <?php +// $Id$ # # Database settings: @@ -33,5 +34,5 @@ $themes = array("UnConeD" => array( # but make sure your SQL table, called locales is updated # appropriately. $languages = array("en" => "English"); - +
?>
\ No newline at end of file diff --git a/includes/database.inc b/includes/database.inc index 027d01ed0..9621193f1 100644 --- a/includes/database.inc +++ b/includes/database.inc @@ -1,4 +1,5 @@ <?php +// $Id$ require_once 'DB.php'; @@ -62,5 +63,5 @@ function db_error($result) { return 0; } - +
?>
\ No newline at end of file diff --git a/includes/module.inc b/includes/module.inc index 479dcde3f..007059420 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -1,4 +1,5 @@ <?php +// $Id$ // initialize modules: function module_init() { @@ -89,5 +90,5 @@ function module_rehash($name) { db_query("DELETE FROM blocks WHERE module = '$name'"); } } - +
?> diff --git a/includes/theme.inc b/includes/theme.inc index ed6a2c80e..296e89975 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1,4 +1,5 @@ <?php +// $Id$ class BaseTheme { @@ -161,5 +162,5 @@ function theme_moderation_results(&$theme, $node, $region) { $theme->box(t("Moderation results"), ($output ? $output : t("This node has not been moderated yet.")), $region); } - +
?> @@ -1,4 +1,5 @@ <?php +// $Id$ include_once "includes/common.inc"; @@ -8,5 +9,5 @@ $function = variable_get("site_frontpage", "node") ."_page"; $function(); page_footer(); - +
?> diff --git a/modules/aggregator.module b/modules/aggregator.module index 2ac1b690c..42f5e4ca3 100644 --- a/modules/aggregator.module +++ b/modules/aggregator.module @@ -1,4 +1,5 @@ <?php +// $Id$ function import_help() { ?> @@ -688,5 +689,5 @@ function import_page() { } } } - +
?> diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 2ac1b690c..42f5e4ca3 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -1,4 +1,5 @@ <?php +// $Id$ function import_help() { ?> @@ -688,5 +689,5 @@ function import_page() { } } } - +
?> diff --git a/modules/block.module b/modules/block.module index 529dc4c8f..52f9e2c3f 100644 --- a/modules/block.module +++ b/modules/block.module @@ -1,4 +1,5 @@ <?php +// $Id$ function block_help() { ?> @@ -149,5 +150,5 @@ function block_admin() { print message_access(); } } - +
?> diff --git a/modules/block/block.module b/modules/block/block.module index 529dc4c8f..52f9e2c3f 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -1,4 +1,5 @@ <?php +// $Id$ function block_help() { ?> @@ -149,5 +150,5 @@ function block_admin() { print message_access(); } } - +
?> diff --git a/modules/blog.module b/modules/blog.module index 1365d4d90..f5341a746 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -1,4 +1,5 @@ <?php +// $Id$ class Blog { function Blog($blog) { @@ -458,5 +459,5 @@ class BlogCalendar { return $output; } } - +
?> diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 1365d4d90..f5341a746 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -1,4 +1,5 @@ <?php +// $Id$ class Blog { function Blog($blog) { @@ -458,5 +459,5 @@ class BlogCalendar { return $output; } } - +
?> diff --git a/modules/book.module b/modules/book.module index cd2beb0ac..a965a8ea8 100644 --- a/modules/book.module +++ b/modules/book.module @@ -1,4 +1,5 @@ <?php +// $Id$ class Book { function Book($book) { @@ -329,5 +330,5 @@ function book_export_html_recursive($parent = "", $depth = 1) { return $output; } - +
?> diff --git a/modules/book/book.module b/modules/book/book.module index cd2beb0ac..a965a8ea8 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -1,4 +1,5 @@ <?php +// $Id$ class Book { function Book($book) { @@ -329,5 +330,5 @@ function book_export_html_recursive($parent = "", $depth = 1) { return $output; } - +
?> diff --git a/modules/comment.module b/modules/comment.module index c1a3e617c..1b789b6da 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -1,4 +1,5 @@ <?php +// $Id$ function comment_search($keys) { global $PHP_SELF; @@ -88,5 +89,5 @@ function comment_admin() { print message_access(); } } - +
?> diff --git a/modules/comment/comment.module b/modules/comment/comment.module index c1a3e617c..1b789b6da 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1,4 +1,5 @@ <?php +// $Id$ function comment_search($keys) { global $PHP_SELF; @@ -88,5 +89,5 @@ function comment_admin() { print message_access(); } } - +
?> diff --git a/modules/forum.module b/modules/forum.module index 4d4d9811b..e8866de2b 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -1,4 +1,5 @@ <?php +// $Id$ function forum_status() { return array(dumped, posted); @@ -68,5 +69,5 @@ function forum_page() { $theme->footer(); } } - +
?>
\ No newline at end of file diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 4d4d9811b..e8866de2b 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -1,4 +1,5 @@ <?php +// $Id$ function forum_status() { return array(dumped, posted); @@ -68,5 +69,5 @@ function forum_page() { $theme->footer(); } } - +
?>
\ No newline at end of file diff --git a/modules/help.module b/modules/help.module index 9f6af47f0..8bc9c21f3 100644 --- a/modules/help.module +++ b/modules/help.module @@ -1,4 +1,5 @@ <?php +// $Id$ function help_link($type) { if ($type == "admin") { @@ -16,5 +17,5 @@ function help_admin() { } } } - +
?> diff --git a/modules/help/help.module b/modules/help/help.module index 9f6af47f0..8bc9c21f3 100644 --- a/modules/help/help.module +++ b/modules/help/help.module @@ -1,4 +1,5 @@ <?php +// $Id$ function help_link($type) { if ($type == "admin") { @@ -16,5 +17,5 @@ function help_admin() { } } } - +
?> diff --git a/modules/import.module b/modules/import.module index 2ac1b690c..42f5e4ca3 100644 --- a/modules/import.module +++ b/modules/import.module @@ -1,4 +1,5 @@ <?php +// $Id$ function import_help() { ?> @@ -688,5 +689,5 @@ function import_page() { } } } - +
?> diff --git a/modules/locale.module b/modules/locale.module index c363e64a7..32eb26c35 100644 --- a/modules/locale.module +++ b/modules/locale.module @@ -1,4 +1,5 @@ <?php +// $Id$ function locale_help() { ?> @@ -237,5 +238,5 @@ function locale($string) { } return $string; } - +
?> diff --git a/modules/locale/locale.module b/modules/locale/locale.module index c363e64a7..32eb26c35 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -1,4 +1,5 @@ <?php +// $Id$ function locale_help() { ?> @@ -237,5 +238,5 @@ function locale($string) { } return $string; } - +
?> diff --git a/modules/node.module b/modules/node.module index 4c0767db0..ed4ce2d7e 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1,4 +1,5 @@ <?php +// $Id$ class Node { function Node($node) { @@ -436,5 +437,5 @@ function node_page() { $theme->footer(); } } - +
?> diff --git a/modules/node/node.module b/modules/node/node.module index 4c0767db0..ed4ce2d7e 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1,4 +1,5 @@ <?php +// $Id$ class Node { function Node($node) { @@ -436,5 +437,5 @@ function node_page() { $theme->footer(); } } - +
?> diff --git a/modules/page.module b/modules/page.module index 4b46a99c2..cfecf2a66 100644 --- a/modules/page.module +++ b/modules/page.module @@ -1,4 +1,5 @@ <?php +// $Id$ $GLOBALS["format"] = array(0 => "HTML", 1 => "PHP", 2 => "text"); @@ -74,5 +75,5 @@ function page_save($edit) { node_save($edit, array(uid => $user->uid, link, body, comment => variable_get("page_comment", 0), format, moderate => variable_get("page_moderate", ""), promote => variable_get("page_promote", 0), score => 0, status => $status["posted"], timestamp => time(), title, type => "page", votes => 0)); } - +
?>
\ No newline at end of file diff --git a/modules/page/page.module b/modules/page/page.module index 4b46a99c2..cfecf2a66 100644 --- a/modules/page/page.module +++ b/modules/page/page.module @@ -1,4 +1,5 @@ <?php +// $Id$ $GLOBALS["format"] = array(0 => "HTML", 1 => "PHP", 2 => "text"); @@ -74,5 +75,5 @@ function page_save($edit) { node_save($edit, array(uid => $user->uid, link, body, comment => variable_get("page_comment", 0), format, moderate => variable_get("page_moderate", ""), promote => variable_get("page_promote", 0), score => 0, status => $status["posted"], timestamp => time(), title, type => "page", votes => 0)); } - +
?>
\ No newline at end of file diff --git a/modules/poll.module b/modules/poll.module index 6fedf8e5e..286cccd87 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -1,4 +1,5 @@ <?php +// $Id$ class Poll { function Poll($poll) { @@ -278,5 +279,5 @@ function poll_user() { $theme->box(t("Submit"), poll_form()); } } - +
?> diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 6fedf8e5e..286cccd87 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -1,4 +1,5 @@ <?php +// $Id$ class Poll { function Poll($poll) { @@ -278,5 +279,5 @@ function poll_user() { $theme->box(t("Submit"), poll_form()); } } - +
?> diff --git a/modules/queue.module b/modules/queue.module index b1b08b115..ae69b780b 100644 --- a/modules/queue.module +++ b/modules/queue.module @@ -1,4 +1,5 @@ <?php +// $Id$ function queue_conf_options() { $period = array(3600 => format_interval(3600), 10800 => format_interval(10800), 21600 => format_interval(21600), 32400 => format_interval(32400), 43200 => format_interval(43200), 86400 => format_interval(86400), 172800 => format_interval(172800), 259200 => format_interval(259200), 604800 => format_interval(604800), 1209600 => format_interval(1209600), 2419200 => format_interval(2419200), 1000000000 => t("Never")); @@ -137,5 +138,5 @@ function queue_page() { $theme->footer(); } } - +
?> diff --git a/modules/search.module b/modules/search.module index 91d395678..f3cac8390 100644 --- a/modules/search.module +++ b/modules/search.module @@ -1,4 +1,5 @@ <?php +// $Id$ function search_perm() { return array("search content"); @@ -94,5 +95,5 @@ function search_page() { $theme->footer(); } } - +
?> diff --git a/modules/search/search.module b/modules/search/search.module index 91d395678..f3cac8390 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -1,4 +1,5 @@ <?php +// $Id$ function search_perm() { return array("search content"); @@ -94,5 +95,5 @@ function search_page() { $theme->footer(); } } - +
?> diff --git a/modules/statistics.module b/modules/statistics.module index e5eb7465f..2cd684a23 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -1,4 +1,5 @@ <?php +// $Id$ if (variable_get("referer", 0) && $referer = getenv("HTTP_REFERER")) { db_query("INSERT INTO referer (URL, timestamp) values ('". check_input($referer) ."', '". time() ."')"); @@ -95,5 +96,5 @@ function statistics_admin() { } } } - +
?>
\ No newline at end of file diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index e5eb7465f..2cd684a23 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -1,4 +1,5 @@ <?php +// $Id$ if (variable_get("referer", 0) && $referer = getenv("HTTP_REFERER")) { db_query("INSERT INTO referer (URL, timestamp) values ('". check_input($referer) ."', '". time() ."')"); @@ -95,5 +96,5 @@ function statistics_admin() { } } } - +
?>
\ No newline at end of file diff --git a/modules/story.module b/modules/story.module index e7190b4fd..3753bbc9c 100644 --- a/modules/story.module +++ b/modules/story.module @@ -1,4 +1,5 @@ <?php +// $Id$ class Story { function Story($story) { @@ -102,5 +103,5 @@ function story_user() { $theme->box(t("Submit"), story_form()); } } - +
?> diff --git a/modules/story/story.module b/modules/story/story.module index e7190b4fd..3753bbc9c 100644 --- a/modules/story/story.module +++ b/modules/story/story.module @@ -1,4 +1,5 @@ <?php +// $Id$ class Story { function Story($story) { @@ -102,5 +103,5 @@ function story_user() { $theme->box(t("Submit"), story_form()); } } - +
?> diff --git a/modules/system.module b/modules/system.module index 0ad319c41..09d7615ed 100644 --- a/modules/system.module +++ b/modules/system.module @@ -1,4 +1,5 @@ <?php +// $Id$ function system_help() { ?> @@ -158,5 +159,5 @@ function system_admin() { print message_access(); } } - +
?>
\ No newline at end of file diff --git a/modules/system/system.module b/modules/system/system.module index 0ad319c41..09d7615ed 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1,4 +1,5 @@ <?php +// $Id$ function system_help() { ?> @@ -158,5 +159,5 @@ function system_admin() { print message_access(); } } - +
?>
\ No newline at end of file diff --git a/modules/tracker.module b/modules/tracker.module index d3f113e19..61eee8b35 100644 --- a/modules/tracker.module +++ b/modules/tracker.module @@ -1,4 +1,5 @@ <?php +// $Id$ function tracker_link($type) { @@ -65,5 +66,5 @@ function tracker_page() { $theme->footer(); } - +
?> diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index d3f113e19..61eee8b35 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -1,4 +1,5 @@ <?php +// $Id$ function tracker_link($type) { @@ -65,5 +66,5 @@ function tracker_page() { $theme->footer(); } - +
?> diff --git a/modules/user.module b/modules/user.module index 35c5776be..418ed4713 100644 --- a/modules/user.module +++ b/modules/user.module @@ -1,4 +1,5 @@ <?php +// $Id$ session_set_save_handler("sess_open", "sess_close", "sess_read", "sess_write", "sess_destroy", "sess_gc"); session_start(); @@ -1221,5 +1222,5 @@ function user_admin() { } } } - +
?> diff --git a/modules/user/user.module b/modules/user/user.module index 35c5776be..418ed4713 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1,4 +1,5 @@ <?php +// $Id$ session_set_save_handler("sess_open", "sess_close", "sess_read", "sess_write", "sess_destroy", "sess_gc"); session_start(); @@ -1221,5 +1222,5 @@ function user_admin() { } } } - +
?> diff --git a/modules/watchdog.module b/modules/watchdog.module index ad7724030..db6e42214 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -1,4 +1,5 @@ <?php +// $Id$ function watchdog_help() { ?> @@ -86,5 +87,5 @@ function watchdog_admin() { print message_access(); } } - +
?> diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index ad7724030..db6e42214 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -1,4 +1,5 @@ <?php +// $Id$ function watchdog_help() { ?> @@ -86,5 +87,5 @@ function watchdog_admin() { print message_access(); } } - +
?> diff --git a/themes/example/example.theme b/themes/example/example.theme index e1ee75610..c1e75e3b1 100644 --- a/themes/example/example.theme +++ b/themes/example/example.theme @@ -1,7 +1,8 @@ <?php +// $Id$ class Theme extends BaseTheme { } - +
?>
\ No newline at end of file diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme index 592c9fdcd..e55842390 100644 --- a/themes/marvin/marvin.theme +++ b/themes/marvin/marvin.theme @@ -1,4 +1,5 @@ -<? +<?php +// $Id$ /********************************************************************* @@ -158,5 +159,5 @@ <?php } } - +
?> diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index 59dbec98b..43503a96d 100644 --- a/themes/unconed/unconed.theme +++ b/themes/unconed/unconed.theme @@ -1,4 +1,5 @@ <?php +// $Id$ /********************************************************************* @@ -216,5 +217,5 @@ <?php } } - +
?> |