Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
228
Merge Requests
228
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
864c18d4
Commit
864c18d4
authored
Oct 20, 2001
by
Kjartan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- 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
Changes
49
Hide whitespace changes
Inline
Side-by-side
Showing
49 changed files
with
99 additions
and
50 deletions
+99
-50
cron.php
cron.php
+2
-1
error.php
error.php
+2
-1
includes/common.inc
includes/common.inc
+2
-1
includes/conf.php
includes/conf.php
+2
-1
includes/database.inc
includes/database.inc
+2
-1
includes/module.inc
includes/module.inc
+2
-1
includes/theme.inc
includes/theme.inc
+2
-1
index.php
index.php
+2
-1
modules/aggregator.module
modules/aggregator.module
+2
-1
modules/aggregator/aggregator.module
modules/aggregator/aggregator.module
+2
-1
modules/block.module
modules/block.module
+2
-1
modules/block/block.module
modules/block/block.module
+2
-1
modules/blog.module
modules/blog.module
+2
-1
modules/blog/blog.module
modules/blog/blog.module
+2
-1
modules/book.module
modules/book.module
+2
-1
modules/book/book.module
modules/book/book.module
+2
-1
modules/comment.module
modules/comment.module
+2
-1
modules/comment/comment.module
modules/comment/comment.module
+2
-1
modules/forum.module
modules/forum.module
+2
-1
modules/forum/forum.module
modules/forum/forum.module
+2
-1
modules/help.module
modules/help.module
+2
-1
modules/help/help.module
modules/help/help.module
+2
-1
modules/import.module
modules/import.module
+2
-1
modules/locale.module
modules/locale.module
+2
-1
modules/locale/locale.module
modules/locale/locale.module
+2
-1
modules/node.module
modules/node.module
+2
-1
modules/node/node.module
modules/node/node.module
+2
-1
modules/page.module
modules/page.module
+2
-1
modules/page/page.module
modules/page/page.module
+2
-1
modules/poll.module
modules/poll.module
+2
-1
modules/poll/poll.module
modules/poll/poll.module
+2
-1
modules/queue.module
modules/queue.module
+2
-1
modules/search.module
modules/search.module
+2
-1
modules/search/search.module
modules/search/search.module
+2
-1
modules/statistics.module
modules/statistics.module
+2
-1
modules/statistics/statistics.module
modules/statistics/statistics.module
+2
-1
modules/story.module
modules/story.module
+2
-1
modules/story/story.module
modules/story/story.module
+2
-1
modules/system.module
modules/system.module
+2
-1
modules/system/system.module
modules/system/system.module
+2
-1
modules/tracker.module
modules/tracker.module
+2
-1
modules/tracker/tracker.module
modules/tracker/tracker.module
+2
-1
modules/user.module
modules/user.module
+2
-1
modules/user/user.module
modules/user/user.module
+2
-1
modules/watchdog.module
modules/watchdog.module
+2
-1
modules/watchdog/watchdog.module
modules/watchdog/watchdog.module
+2
-1
themes/example/example.theme
themes/example/example.theme
+2
-1
themes/marvin/marvin.theme
themes/marvin/marvin.theme
+3
-2
themes/unconed/unconed.theme
themes/unconed/unconed.theme
+2
-1
No files found.
cron.php
View file @
864c18d4
<?php
<?php
// $Id$
include_once
"includes/common.inc"
;
include_once
"includes/common.inc"
;
...
@@ -17,5 +18,5 @@
...
@@ -17,5 +18,5 @@
foreach
(
module_list
()
as
$module
)
{
foreach
(
module_list
()
as
$module
)
{
module_invoke
(
$module
,
"cron"
);
module_invoke
(
$module
,
"cron"
);
}
}
?>
?>
\ No newline at end of file
error.php
View file @
864c18d4
<?php
<?php
// $Id$
include_once
"includes/common.inc"
;
include_once
"includes/common.inc"
;
...
@@ -12,5 +13,5 @@
...
@@ -12,5 +13,5 @@
else
{
else
{
drupal_goto
(
"index.php"
);
drupal_goto
(
"index.php"
);
}
}
?>
?>
\ No newline at end of file
includes/common.inc
View file @
864c18d4
<?
<?php
// $Id$
function
conf_init
()
{
function
conf_init
()
{
global
$HTTP_HOST
,
$REQUEST_URI
;
global
$HTTP_HOST
,
$REQUEST_URI
;
...
...
includes/conf.php
View file @
864c18d4
<?php
<?php
// $Id$
#
#
# Database settings:
# Database settings:
...
@@ -33,5 +34,5 @@
...
@@ -33,5 +34,5 @@
# but make sure your SQL table, called locales is updated
# but make sure your SQL table, called locales is updated
# appropriately.
# appropriately.
$languages
=
array
(
"en"
=>
"English"
);
$languages
=
array
(
"en"
=>
"English"
);
?>
?>
\ No newline at end of file
includes/database.inc
View file @
864c18d4
<?php
<?php
// $Id$
require_once
'DB.php'
;
require_once
'DB.php'
;
...
@@ -62,5 +63,5 @@ function db_error($result) {
...
@@ -62,5 +63,5 @@ function db_error($result) {
return
0
;
return
0
;
}
}
?>
?>
\ No newline at end of file
includes/module.inc
View file @
864c18d4
<?php
<?php
// $Id$
// initialize modules:
// initialize modules:
function
module_init
()
{
function
module_init
()
{
...
@@ -89,5 +90,5 @@ function module_rehash($name) {
...
@@ -89,5 +90,5 @@ function module_rehash($name) {
db_query
(
"DELETE FROM blocks WHERE module = '
$name
'"
);
db_query
(
"DELETE FROM blocks WHERE module = '
$name
'"
);
}
}
}
}
?>
?>
includes/theme.inc
View file @
864c18d4
<?php
<?php
// $Id$
class
BaseTheme
{
class
BaseTheme
{
...
@@ -161,5 +162,5 @@ function theme_moderation_results(&$theme, $node, $region) {
...
@@ -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
);
$theme
->
box
(
t
(
"Moderation results"
),
(
$output
?
$output
:
t
(
"This node has not been moderated yet."
)),
$region
);
}
}
?>
?>
index.php
View file @
864c18d4
<?php
<?php
// $Id$
include_once
"includes/common.inc"
;
include_once
"includes/common.inc"
;
...
@@ -8,5 +9,5 @@
...
@@ -8,5 +9,5 @@
$function
();
$function
();
page_footer
();
page_footer
();
?>
?>
modules/aggregator.module
View file @
864c18d4
<?php
<?php
// $Id$
function
import_help
()
{
function
import_help
()
{
?>
?>
...
@@ -688,5 +689,5 @@ function import_page() {
...
@@ -688,5 +689,5 @@ function import_page() {
}
}
}
}
}
}
?>
?>
modules/aggregator/aggregator.module
View file @
864c18d4
<?php
<?php
// $Id$
function
import_help
()
{
function
import_help
()
{
?>
?>
...
@@ -688,5 +689,5 @@ function import_page() {
...
@@ -688,5 +689,5 @@ function import_page() {
}
}
}
}
}
}
?>
?>
modules/block.module
View file @
864c18d4
<?php
<?php
// $Id$
function
block_help
()
{
function
block_help
()
{
?>
?>
...
@@ -149,5 +150,5 @@ function block_admin() {
...
@@ -149,5 +150,5 @@ function block_admin() {
print
message_access
();
print
message_access
();
}
}
}
}
?>
?>
modules/block/block.module
View file @
864c18d4
<?php
<?php
// $Id$
function
block_help
()
{
function
block_help
()
{
?>
?>
...
@@ -149,5 +150,5 @@ function block_admin() {
...
@@ -149,5 +150,5 @@ function block_admin() {
print
message_access
();
print
message_access
();
}
}
}
}
?>
?>
modules/blog.module
View file @
864c18d4
<?php
<?php
// $Id$
class
Blog
{
class
Blog
{
function
Blog
(
$blog
)
{
function
Blog
(
$blog
)
{
...
@@ -458,5 +459,5 @@ function display() {
...
@@ -458,5 +459,5 @@ function display() {
return
$output
;
return
$output
;
}
}
}
}
?>
?>
modules/blog/blog.module
View file @
864c18d4
<?php
<?php
// $Id$
class
Blog
{
class
Blog
{
function
Blog
(
$blog
)
{
function
Blog
(
$blog
)
{
...
@@ -458,5 +459,5 @@ function display() {
...
@@ -458,5 +459,5 @@ function display() {
return
$output
;
return
$output
;
}
}
}
}
?>
?>
modules/book.module
View file @
864c18d4
<?php
<?php
// $Id$
class
Book
{
class
Book
{
function
Book
(
$book
)
{
function
Book
(
$book
)
{
...
@@ -329,5 +330,5 @@ function book_export_html_recursive($parent = "", $depth = 1) {
...
@@ -329,5 +330,5 @@ function book_export_html_recursive($parent = "", $depth = 1) {
return
$output
;
return
$output
;
}
}
?>
?>
modules/book/book.module
View file @
864c18d4
<?php
<?php
// $Id$
class
Book
{
class
Book
{
function
Book
(
$book
)
{
function
Book
(
$book
)
{
...
@@ -329,5 +330,5 @@ function book_export_html_recursive($parent = "", $depth = 1) {
...
@@ -329,5 +330,5 @@ function book_export_html_recursive($parent = "", $depth = 1) {
return
$output
;
return
$output
;
}
}
?>
?>
modules/comment.module
View file @
864c18d4
<?php
<?php
// $Id$
function
comment_search
(
$keys
)
{
function
comment_search
(
$keys
)
{
global
$PHP_SELF
;
global
$PHP_SELF
;
...
@@ -88,5 +89,5 @@ function comment_admin() {
...
@@ -88,5 +89,5 @@ function comment_admin() {
print
message_access
();
print
message_access
();
}
}
}
}
?>
?>
modules/comment/comment.module
View file @
864c18d4
<?php
<?php
// $Id$
function
comment_search
(
$keys
)
{
function
comment_search
(
$keys
)
{
global
$PHP_SELF
;
global
$PHP_SELF
;
...
@@ -88,5 +89,5 @@ function comment_admin() {
...
@@ -88,5 +89,5 @@ function comment_admin() {
print
message_access
();
print
message_access
();
}
}
}
}
?>
?>
modules/forum.module
View file @
864c18d4
<?php
<?php
// $Id$
function
forum_status
()
{
function
forum_status
()
{
return
array
(
dumped
,
posted
);
return
array
(
dumped
,
posted
);
...
@@ -68,5 +69,5 @@ function forum_page() {
...
@@ -68,5 +69,5 @@ function forum_page() {
$theme
->
footer
();
$theme
->
footer
();
}
}
}
}
?>
?>
\ No newline at end of file
modules/forum/forum.module
View file @
864c18d4
<?php
<?php
// $Id$
function
forum_status
()
{
function
forum_status
()
{
return
array
(
dumped
,
posted
);
return
array
(
dumped
,
posted
);
...
@@ -68,5 +69,5 @@ function forum_page() {
...
@@ -68,5 +69,5 @@ function forum_page() {
$theme
->
footer
();
$theme
->
footer
();
}
}
}
}
?>
?>
\ No newline at end of file
modules/help.module
View file @
864c18d4
<?php
<?php
// $Id$
function
help_link
(
$type
)
{
function
help_link
(
$type
)
{
if
(
$type
==
"admin"
)
{
if
(
$type
==
"admin"
)
{
...
@@ -16,5 +17,5 @@ function help_admin() {
...
@@ -16,5 +17,5 @@ function help_admin() {
}
}
}
}
}
}
?>
?>
modules/help/help.module
View file @
864c18d4
<?php
<?php
// $Id$
function
help_link
(
$type
)
{
function
help_link
(
$type
)
{
if
(
$type
==
"admin"
)
{
if
(
$type
==
"admin"
)
{
...
@@ -16,5 +17,5 @@ function help_admin() {
...
@@ -16,5 +17,5 @@ function help_admin() {
}
}
}
}
}
}
?>
?>
modules/import.module
View file @
864c18d4
<?php
<?php
// $Id$
function
import_help
()
{
function
import_help
()
{
?>
?>
...
@@ -688,5 +689,5 @@ function import_page() {
...
@@ -688,5 +689,5 @@ function import_page() {
}
}
}
}
}
}
?>
?>
modules/locale.module
View file @
864c18d4
<?php
<?php
// $Id$
function
locale_help
()
{
function
locale_help
()
{
?>
?>
...
@@ -237,5 +238,5 @@ function locale($string) {
...
@@ -237,5 +238,5 @@ function locale($string) {
}
}
return
$string
;
return
$string
;
}
}
?>
?>
modules/locale/locale.module
View file @
864c18d4
<?php
<?php
// $Id$
function
locale_help
()
{
function
locale_help
()
{
?>
?>
...
@@ -237,5 +238,5 @@ function locale($string) {
...
@@ -237,5 +238,5 @@ function locale($string) {
}
}
return
$string
;
return
$string
;
}
}
?>
?>
modules/node.module
View file @
864c18d4
<?php
<?php
// $Id$
class
Node
{
class
Node
{
function
Node
(
$node
)
{
function
Node
(
$node
)
{
...
@@ -436,5 +437,5 @@ function node_page() {
...
@@ -436,5 +437,5 @@ function node_page() {
$theme
->
footer
();
$theme
->
footer
();
}
}
}
}
?>
?>
modules/node/node.module
View file @
864c18d4
<?php
<?php
// $Id$
class
Node
{
class
Node
{
function
Node
(
$node
)
{
function
Node
(
$node
)
{
...
@@ -436,5 +437,5 @@ function node_page() {
...
@@ -436,5 +437,5 @@ function node_page() {
$theme
->
footer
();
$theme
->
footer
();
}
}
}
}
?>
?>
modules/page.module
View file @
864c18d4
<?php
<?php
// $Id$
$GLOBALS
[
"format"
]
=
array
(
0
=>
"HTML"
,
1
=>
"PHP"
,
2
=>
"text"
);
$GLOBALS
[
"format"
]
=
array
(
0
=>
"HTML"
,
1
=>
"PHP"
,
2
=>
"text"
);
...
@@ -74,5 +75,5 @@ function page_save($edit) {
...
@@ -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
));
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
modules/page/page.module
View file @
864c18d4
<?php
<?php
// $Id$
$GLOBALS
[
"format"
]
=
array
(
0
=>
"HTML"
,
1
=>
"PHP"
,
2
=>
"text"
);
$GLOBALS
[
"format"
]
=
array
(
0
=>
"HTML"
,
1
=>
"PHP"
,
2
=>
"text"
);
...
@@ -74,5 +75,5 @@ function page_save($edit) {
...
@@ -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
));
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
modules/poll.module
View file @
864c18d4
<?php
<?php
// $Id$
class
Poll
{
class
Poll
{
function
Poll
(
$poll
)
{
function
Poll
(
$poll
)
{
...
@@ -278,5 +279,5 @@ function poll_user() {
...
@@ -278,5 +279,5 @@ function poll_user() {
$theme
->
box
(
t
(
"Submit"
),
poll_form
());
$theme
->
box
(
t
(
"Submit"
),
poll_form
());
}
}
}
}
?>
?>
modules/poll/poll.module
View file @
864c18d4
<?php
<?php
// $Id$
class
Poll
{
class
Poll
{
function
Poll
(
$poll
)
{
function
Poll
(
$poll
)
{
...
@@ -278,5 +279,5 @@ function poll_user() {
...
@@ -278,5 +279,5 @@ function poll_user() {
$theme
->
box
(
t
(
"Submit"
),
poll_form
());
$theme
->
box
(
t
(
"Submit"
),
poll_form
());
}
}
}
}
?>
?>
modules/queue.module
View file @
864c18d4
<?php
<?php
// $Id$
function
queue_conf_options
()
{
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"
));
$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() {
...
@@ -137,5 +138,5 @@ function queue_page() {
$theme
->
footer
();
$theme
->
footer
();
}
}
}
}
?>
?>
modules/search.module
View file @
864c18d4
<?php
<?php
// $Id$
function
search_perm
()
{
function
search_perm
()
{
return
array
(
"search content"
);
return
array
(
"search content"
);
...
@@ -94,5 +95,5 @@ function search_page() {
...
@@ -94,5 +95,5 @@ function search_page() {
$theme
->
footer
();
$theme
->
footer
();
}
}
}
}
?>
?>
modules/search/search.module
View file @
864c18d4
<?php
<?php
// $Id$
function
search_perm
()
{
function
search_perm
()
{
return
array
(
"search content"
);
return
array
(
"search content"
);
...
@@ -94,5 +95,5 @@ function search_page() {
...
@@ -94,5 +95,5 @@ function search_page() {
$theme
->
footer
();
$theme
->
footer
();
}
}
}
}
?>
?>
modules/statistics.module
View file @
864c18d4
<?php
<?php
// $Id$
if
(
variable_get
(
"referer"
,
0
)
&&
$referer
=
getenv
(
"HTTP_REFERER"
))
{
if
(
variable_get
(
"referer"
,
0
)
&&
$referer
=
getenv
(
"HTTP_REFERER"
))
{
db_query
(
"INSERT INTO referer (URL, timestamp) values ('"
.
check_input
(
$referer
)
.
"', '"
.
time
()
.
"')"
);
db_query
(
"INSERT INTO referer (URL, timestamp) values ('"
.
check_input
(
$referer
)
.
"', '"
.
time
()
.
"')"
);
...
@@ -95,5 +96,5 @@ function statistics_admin() {
...
@@ -95,5 +96,5 @@ function statistics_admin() {
}
}
}
}