Commit 864c18d4 authored by Kjartan's avatar Kjartan

- added the CVS keyword $Id$ to all files to make future version tracking

  easier. Also changed the <? tag to <?php in some cases.
parent a98d2a26
<?php
// $Id$
include_once "includes/common.inc";
......@@ -17,5 +18,5 @@
foreach (module_list() as $module) {
module_invoke($module, "cron");
}
?>
\ No newline at end of file
<?php
// $Id$
include_once "includes/common.inc";
......@@ -12,5 +13,5 @@
else {
drupal_goto("index.php");
}
?>
\ No newline at end of file
<?
<?php
// $Id$
function conf_init() {
global $HTTP_HOST, $REQUEST_URI;
......
<?php
// $Id$
#
# Database settings:
......@@ -33,5 +34,5 @@
# but make sure your SQL table, called locales is updated
# appropriately.
$languages = array("en" => "English");
?>
\ No newline at end of file
<?php
// $Id$
require_once 'DB.php';
......@@ -62,5 +63,5 @@ function db_error($result) {
return 0;
}
?>
\ No newline at end of file
<?php
// $Id$
// initialize modules:
function module_init() {
......@@ -89,5 +90,5 @@ function module_rehash($name) {
db_query("DELETE FROM blocks WHERE module = '$name'");
}
}
?>
<?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);
}
?>
<?php
// $Id$
include_once "includes/common.inc";
......@@ -8,5 +9,5 @@
$function();
page_footer();
?>
<?php
// $Id$
function import_help() {
?>
......@@ -688,5 +689,5 @@ function import_page() {
}
}
}
?>
<?php
// $Id$
function import_help() {
?>
......@@ -688,5 +689,5 @@ function import_page() {
}
}
}
?>
<?php
// $Id$
function block_help() {
?>
......@@ -149,5 +150,5 @@ function block_admin() {
print message_access();
}
}
?>
<?php
// $Id$
function block_help() {
?>
......@@ -149,5 +150,5 @@ function block_admin() {
print message_access();
}
}
?>
<?php
// $Id$
class Blog {
function Blog($blog) {
......@@ -458,5 +459,5 @@ function display() {
return $output;
}
}
?>
<?php
// $Id$
class Blog {
function Blog($blog) {
......@@ -458,5 +459,5 @@ function display() {
return $output;
}
}
?>
<?php
// $Id$
class Book {
function Book($book) {
......@@ -329,5 +330,5 @@ function book_export_html_recursive($parent = "", $depth = 1) {
return $output;
}
?>
<?php
// $Id$
class Book {
function Book($book) {
......@@ -329,5 +330,5 @@ function book_export_html_recursive($parent = "", $depth = 1) {
return $output;
}
?>
<?php
// $Id$
function comment_search($keys) {
global $PHP_SELF;
......@@ -88,5 +89,5 @@ function comment_admin() {
print message_access();
}
}
?>
<?php
// $Id$
function comment_search($keys) {
global $PHP_SELF;
......@@ -88,5 +89,5 @@ function comment_admin() {
print message_access();
}
}
?>
<?php
// $Id$
function forum_status() {
return array(dumped, posted);
......@@ -68,5 +69,5 @@ function forum_page() {
$theme->footer();
}
}
?>
\ No newline at end of file
<?php
// $Id$
function forum_status() {
return array(dumped, posted);
......@@ -68,5 +69,5 @@ function forum_page() {
$theme->footer();
}
}
?>
\ No newline at end of file
<?php
// $Id$
function help_link($type) {
if ($type == "admin") {
......@@ -16,5 +17,5 @@ function help_admin() {
}
}
}
?>
<?php
// $Id$
function help_link($type) {
if ($type == "admin") {
......@@ -16,5 +17,5 @@ function help_admin() {
}
}
}
?>
<?php
// $Id$
function import_help() {
?>
......@@ -688,5 +689,5 @@ function import_page() {
}
}
}
?>
<?php
// $Id$
function locale_help() {
?>
......@@ -237,5 +238,5 @@ function locale($string) {
}
return $string;
}
?>
<?php
// $Id$
function locale_help() {
?>
......@@ -237,5 +238,5 @@ function locale($string) {
}
return $string;
}
?>
<?php
// $Id$
class Node {
function Node($node) {
......@@ -436,5 +437,5 @@ function node_page() {
$theme->footer();
}
}
?>
<?php
// $Id$
class Node {
function Node($node) {
......@@ -436,5 +437,5 @@ function node_page() {
$theme->footer();
}
}
?>
<?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
<?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
<?php
// $Id$
class Poll {
function Poll($poll) {
......@@ -278,5 +279,5 @@ function poll_user() {
$theme->box(t("Submit"), poll_form());
}
}
?>
<?php
// $Id$
class Poll {
function Poll($poll) {
......@@ -278,5 +279,5 @@ function poll_user() {
$theme->box(t("Submit"), poll_form());
}
}
?>
<?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();
}
}
?>
<?php
// $Id$
function search_perm() {
return array("search content");
......@@ -94,5 +95,5 @@ function search_page() {
$theme->footer();
}
}
?>
<?php
// $Id$
function search_perm() {
return array("search content");
......@@ -94,5 +95,5 @@ function search_page() {
$theme->footer();
}
}
?>
<?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
<?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
<?php
// $Id$
class Story {
function Story($story) {
......@@ -102,5 +103,5 @@ function story_user() {
$theme->box(t("Submit"), story_form());
}
}
?>
<?php
// $Id$
class Story {
function Story($story) {
......@@ -102,5 +103,5 @@ function story_user() {
$theme->box(t("Submit"), story_form());
}
}
?>
<?php
// $Id$
function system_help() {
?>
......@@ -158,5 +159,5 @@ function system_admin() {
print message_access();
}
}
?>
\ No newline at end of file
<?php
// $Id$
function system_help() {
?>
......@@ -158,5 +159,5 @@ function system_admin() {
print message_access();
}
}
?>
\ No newline at end of file
<?php
// $Id$
function tracker_link($type) {
......@@ -65,5 +66,5 @@ function tracker_page() {
$theme->footer();
}
?>
<?php
// $Id$
function tracker_link($type) {
......@@ -65,5 +66,5 @@ function tracker_page() {
$theme->footer();
}
?>
<?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() {
}
}
}
?>
<?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() {
}
}
}
?>
<?php
// $Id$
function watchdog_help() {
?>
......@@ -86,5 +87,5 @@ function watchdog_admin() {
print message_access();
}
}
?>
<?php
// $Id$
function watchdog_help() {
?>
......@@ -86,5 +87,5 @@ function watchdog_admin() {
print message_access();
}
}
?>
<?php
// $Id$
class Theme extends BaseTheme {
}
?>
\ No newline at end of file
<?
<?php
// $Id$
/*********************************************************************
......@@ -158,5 +159,5 @@ function footer() {
<?php
}
}
?>
<?php
// $Id$
/*********************************************************************
......@@ -216,5 +217,5 @@ function footer() {
<?php
}
}
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment