- added the CVS keyword $Id$ to all files to make future version tracking
easier. Also changed the <? tag to <?php in some cases.4.0.x
parent
a98d2a2603
commit
864c18d4c3
3
cron.php
3
cron.php
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
<?
|
||||
<?php
|
||||
// $Id$
|
||||
|
||||
function conf_init() {
|
||||
global $HTTP_HOST, $REQUEST_URI;
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
||||
|
||||
?>
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
require_once 'DB.php';
|
||||
|
||||
|
|
@ -62,5 +63,5 @@ function db_error($result) {
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
@ -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'");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function import_help() {
|
||||
?>
|
||||
|
|
@ -688,5 +689,5 @@ function import_page() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function import_help() {
|
||||
?>
|
||||
|
|
@ -688,5 +689,5 @@ function import_page() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function block_help() {
|
||||
?>
|
||||
|
|
@ -149,5 +150,5 @@ function block_admin() {
|
|||
print message_access();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function block_help() {
|
||||
?>
|
||||
|
|
@ -149,5 +150,5 @@ function block_admin() {
|
|||
print message_access();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
class Blog {
|
||||
function Blog($blog) {
|
||||
|
|
@ -458,5 +459,5 @@ class BlogCalendar {
|
|||
return $output;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
class Blog {
|
||||
function Blog($blog) {
|
||||
|
|
@ -458,5 +459,5 @@ class BlogCalendar {
|
|||
return $output;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function comment_search($keys) {
|
||||
global $PHP_SELF;
|
||||
|
|
@ -88,5 +89,5 @@ function comment_admin() {
|
|||
print message_access();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function comment_search($keys) {
|
||||
global $PHP_SELF;
|
||||
|
|
@ -88,5 +89,5 @@ function comment_admin() {
|
|||
print message_access();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function forum_status() {
|
||||
return array(dumped, posted);
|
||||
|
|
@ -68,5 +69,5 @@ function forum_page() {
|
|||
$theme->footer();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function forum_status() {
|
||||
return array(dumped, posted);
|
||||
|
|
@ -68,5 +69,5 @@ function forum_page() {
|
|||
$theme->footer();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function help_link($type) {
|
||||
if ($type == "admin") {
|
||||
|
|
@ -16,5 +17,5 @@ function help_admin() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function help_link($type) {
|
||||
if ($type == "admin") {
|
||||
|
|
@ -16,5 +17,5 @@ function help_admin() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function import_help() {
|
||||
?>
|
||||
|
|
@ -688,5 +689,5 @@ function import_page() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function locale_help() {
|
||||
?>
|
||||
|
|
@ -237,5 +238,5 @@ function locale($string) {
|
|||
}
|
||||
return $string;
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function locale_help() {
|
||||
?>
|
||||
|
|
@ -237,5 +238,5 @@ function locale($string) {
|
|||
}
|
||||
return $string;
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
class Node {
|
||||
function Node($node) {
|
||||
|
|
@ -436,5 +437,5 @@ function node_page() {
|
|||
$theme->footer();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
class Node {
|
||||
function Node($node) {
|
||||
|
|
@ -436,5 +437,5 @@ function node_page() {
|
|||
$theme->footer();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
class Poll {
|
||||
function Poll($poll) {
|
||||
|
|
@ -278,5 +279,5 @@ function poll_user() {
|
|||
$theme->box(t("Submit"), poll_form());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
class Poll {
|
||||
function Poll($poll) {
|
||||
|
|
@ -278,5 +279,5 @@ function poll_user() {
|
|||
$theme->box(t("Submit"), poll_form());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function search_perm() {
|
||||
return array("search content");
|
||||
|
|
@ -94,5 +95,5 @@ function search_page() {
|
|||
$theme->footer();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function search_perm() {
|
||||
return array("search content");
|
||||
|
|
@ -94,5 +95,5 @@ function search_page() {
|
|||
$theme->footer();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -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() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
@ -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() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
class Story {
|
||||
function Story($story) {
|
||||
|
|
@ -102,5 +103,5 @@ function story_user() {
|
|||
$theme->box(t("Submit"), story_form());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
class Story {
|
||||
function Story($story) {
|
||||
|
|
@ -102,5 +103,5 @@ function story_user() {
|
|||
$theme->box(t("Submit"), story_form());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function system_help() {
|
||||
?>
|
||||
|
|
@ -158,5 +159,5 @@ function system_admin() {
|
|||
print message_access();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function system_help() {
|
||||
?>
|
||||
|
|
@ -158,5 +159,5 @@ function system_admin() {
|
|||
print message_access();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function tracker_link($type) {
|
||||
|
||||
|
|
@ -65,5 +66,5 @@ function tracker_page() {
|
|||
|
||||
$theme->footer();
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function tracker_link($type) {
|
||||
|
||||
|
|
@ -65,5 +66,5 @@ function tracker_page() {
|
|||
|
||||
$theme->footer();
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -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() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -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() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function watchdog_help() {
|
||||
?>
|
||||
|
|
@ -86,5 +87,5 @@ function watchdog_admin() {
|
|||
print message_access();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
function watchdog_help() {
|
||||
?>
|
||||
|
|
@ -86,5 +87,5 @@ function watchdog_admin() {
|
|||
print message_access();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
class Theme extends BaseTheme {
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
<?
|
||||
<?php
|
||||
// $Id$
|
||||
|
||||
/*********************************************************************
|
||||
|
||||
|
|
@ -158,5 +159,5 @@
|
|||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
// $Id$
|
||||
|
||||
/*********************************************************************
|
||||
|
||||
|
|
@ -216,5 +217,5 @@
|
|||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue