diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-03-10 11:07:52 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-03-10 11:07:52 +0000 |
commit | accd5f0c31a68450bb091b18338933e212553b4d (patch) | |
tree | 0aadffa8d18739283e844c413c921ee8a221963a /includes | |
parent | 473198178dd0c6f3510ae29d5c1487c7ba4a534f (diff) | |
download | brdo-accd5f0c31a68450bb091b18338933e212553b4d.tar.gz brdo-accd5f0c31a68450bb091b18338933e212553b4d.tar.bz2 |
- applied David Norman's patch to turn all <?'s into fully qualified
<?php's.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/ban.inc | 2 | ||||
-rw-r--r-- | includes/comment.inc | 4 | ||||
-rw-r--r-- | includes/common.inc | 2 | ||||
-rw-r--r-- | includes/database.inc | 2 | ||||
-rw-r--r-- | includes/function.inc | 2 | ||||
-rw-r--r-- | includes/hostname.conf | 2 | ||||
-rw-r--r-- | includes/locale.inc | 2 | ||||
-rw-r--r-- | includes/module.inc | 2 | ||||
-rw-r--r-- | includes/search.inc | 2 | ||||
-rw-r--r-- | includes/section.inc | 2 | ||||
-rw-r--r-- | includes/story.inc | 2 | ||||
-rw-r--r-- | includes/theme.inc | 2 | ||||
-rw-r--r-- | includes/timer.inc | 2 | ||||
-rw-r--r-- | includes/user.inc | 2 | ||||
-rw-r--r-- | includes/watchdog.inc | 2 |
15 files changed, 16 insertions, 16 deletions
diff --git a/includes/ban.inc b/includes/ban.inc index e1b05fc1d..64d2cc434 100644 --- a/includes/ban.inc +++ b/includes/ban.inc @@ -1,4 +1,4 @@ -<? +<?php $type2index = array("addresses" => 0x01, "profanity" => 0x02, diff --git a/includes/comment.inc b/includes/comment.inc index 744ab0f9b..c4587b124 100644 --- a/includes/comment.inc +++ b/includes/comment.inc @@ -1,4 +1,4 @@ -<? +<?php // Security check: if (strstr($id, " ") || strstr($pid, " ") || strstr($lid, " ") || strstr($mode, " ") || strstr($order, " ") || strstr($threshold, " ")) { @@ -238,7 +238,7 @@ function comment_visible($comment, $threshold = 0) { function comment_uri($args = 0) { global $link, $mod; - if ($args) return ($mod) ? "module.php?mod=$mod&$args" : $link .".php?$args"; + if ($args) return ($mod) ? "module.php?mod=$mod&$args" : $link .".php ?$args"; else return ($mod) ? "module.php?mod=$mod" : $link .".php"; } diff --git a/includes/common.inc b/includes/common.inc index 046f6a1cf..25fa725aa 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1,4 +1,4 @@ -<? +<?php function conf_init() { global $HTTP_HOST, $REQUEST_URI; diff --git a/includes/database.inc b/includes/database.inc index 3be870775..a9c073b3a 100644 --- a/includes/database.inc +++ b/includes/database.inc @@ -1,4 +1,4 @@ -<? +<?php function db_connect($host, $user, $pass, $name) { mysql_pconnect($host, $user, $pass) or die(mysql_Error()); diff --git a/includes/function.inc b/includes/function.inc index 1b206c500..076bb6c7c 100644 --- a/includes/function.inc +++ b/includes/function.inc @@ -1,4 +1,4 @@ -<? +<?php $na = "<I>na</I>"; diff --git a/includes/hostname.conf b/includes/hostname.conf index 19cd94b0f..57d5f574c 100644 --- a/includes/hostname.conf +++ b/includes/hostname.conf @@ -1,4 +1,4 @@ -<? +<?php # # Database settings: diff --git a/includes/locale.inc b/includes/locale.inc index c295d23f4..873ee8606 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -1,4 +1,4 @@ -<? +<?php function locale_init() { global $languages, $user; diff --git a/includes/module.inc b/includes/module.inc index a4f6c005d..e7a513273 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -1,4 +1,4 @@ -<? +<?php function module_iterate($function, $argument = "") { global $repository; diff --git a/includes/search.inc b/includes/search.inc index f80636665..78ec7ed8e 100644 --- a/includes/search.inc +++ b/includes/search.inc @@ -1,4 +1,4 @@ -<? +<?php function search_form($keys) { global $REQUEST_URI; diff --git a/includes/section.inc b/includes/section.inc index def72400f..c816818d4 100644 --- a/includes/section.inc +++ b/includes/section.inc @@ -1,4 +1,4 @@ -<? +<?php function section_get() { $array = array(); diff --git a/includes/story.inc b/includes/story.inc index 5d99505d6..dff58a4a1 100644 --- a/includes/story.inc +++ b/includes/story.inc @@ -1,4 +1,4 @@ -<? +<?php class Story { function Story($userid, $subject, $abstract, $article, $section, $timestamp) { diff --git a/includes/theme.inc b/includes/theme.inc index 26375f73f..09768abd8 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1,4 +1,4 @@ -<? +<?php function theme_init() { global $user, $themes; diff --git a/includes/timer.inc b/includes/timer.inc index 39034a297..7e2e9d21a 100644 --- a/includes/timer.inc +++ b/includes/timer.inc @@ -1,4 +1,4 @@ -<? +<?php $timer = 0; diff --git a/includes/user.inc b/includes/user.inc index 0bb12d0ec..ad73efa8b 100644 --- a/includes/user.inc +++ b/includes/user.inc @@ -1,4 +1,4 @@ -<? +<?php class User { function User($userid, $passwd = 0) { diff --git a/includes/watchdog.inc b/includes/watchdog.inc index c0d68ed37..4512be755 100644 --- a/includes/watchdog.inc +++ b/includes/watchdog.inc @@ -1,4 +1,4 @@ -<? +<?php $watchdog = array("comment" => array("0", $submission_rate["comment"]), "diary" => array("1", $submission_rate["diary"]), |