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
304
Merge Requests
304
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
8436082f
Commit
8436082f
authored
Jun 06, 2005
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Removing some whitespace
parent
596843da
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
19 additions
and
15 deletions
+19
-15
CHANGELOG.txt
CHANGELOG.txt
+7
-3
modules/contact.module
modules/contact.module
+1
-1
modules/contact/contact.module
modules/contact/contact.module
+1
-1
modules/node.module
modules/node.module
+2
-2
modules/node/node.module
modules/node/node.module
+2
-2
modules/profile.module
modules/profile.module
+1
-1
modules/profile/profile.module
modules/profile/profile.module
+1
-1
modules/taxonomy.module
modules/taxonomy.module
+1
-1
modules/taxonomy/taxonomy.module
modules/taxonomy/taxonomy.module
+1
-1
themes/bluemarine/node.tpl.php
themes/bluemarine/node.tpl.php
+1
-1
themes/chameleon/chameleon.theme
themes/chameleon/chameleon.theme
+1
-1
No files found.
CHANGELOG.txt
View file @
8436082f
Drupal x.x.x, xxxx-xx-xx (
D
evelopment version)
Drupal x.x.x, xxxx-xx-xx (
d
evelopment version)
------------------------
- added free tagging support (folksonomies).
- added a site-wide contact form.
- theme system:
...
...
@@ -13,14 +12,19 @@ Drupal x.x.x, xxxx-xx-xx (Development version)
- profiles:
* added a block to display author information along with posts.
* added support for private profile fields.
- book module:
* added Docbook-like XML export functionality.
- performance:
* added 'loose caching' option for high-traffic sites.
* improved performance of path aliasing.
* added the ability to track page generation times.
Drupal 4.6.
0, 2005-04-15
Drupal 4.6.
1, 2005-06-01
------------------------
- fixed bugs, including a critical input validation bug.
Drupal 4.6.0, 2005-04-15
------------------------
- PHP5 compliance
- search:
* added UTF-8 support to make it work with all languages.
...
...
modules/contact.module
View file @
8436082f
...
...
@@ -240,7 +240,7 @@ function contact_mail_page() {
if
(
!
$edit
[
'subject'
])
{
form_set_error
(
'subject'
,
t
(
'You must select a valid subject.'
));
}
if
(
!
form_get_errors
())
{
// Prepare the sender:
$from
=
$edit
[
'mail'
];
...
...
modules/contact/contact.module
View file @
8436082f
...
...
@@ -240,7 +240,7 @@ function contact_mail_page() {
if
(
!
$edit
[
'subject'
])
{
form_set_error
(
'subject'
,
t
(
'You must select a valid subject.'
));
}
if
(
!
form_get_errors
())
{
// Prepare the sender:
$from
=
$edit
[
'mail'
];
...
...
modules/node.module
View file @
8436082f
...
...
@@ -191,13 +191,13 @@ function node_teaser($body, $format = NULL) {
// the Blogger API). In this case, we try to split at paragraph boundaries.
// When even the first paragraph is too long, we try to split at the end of
// the next sentence.
$breakpoints
=
array
(
'</p>'
=>
4
,
'<br />'
=>
0
,
'<br>'
=>
0
,
"
\n
"
=>
0
,
'. '
=>
1
,
'! '
=>
1
,
'? '
=>
1
,
'。'
=>
1
,
'؟ '
=>
1
);
$breakpoints
=
array
(
'</p>'
=>
4
,
'<br />'
=>
0
,
'<br>'
=>
0
,
"
\n
"
=>
0
,
'. '
=>
1
,
'! '
=>
1
,
'? '
=>
1
,
'。'
=>
1
,
'؟ '
=>
1
);
foreach
(
$breakpoints
as
$point
=>
$charnum
)
{
if
(
$length
=
strpos
(
$body
,
$point
,
$size
))
{
return
substr
(
$body
,
0
,
$length
+
$charnum
);
}
}
// If all else fails, we simply truncate the string.
return
truncate_utf8
(
$body
,
$size
);
}
...
...
modules/node/node.module
View file @
8436082f
...
...
@@ -191,13 +191,13 @@ function node_teaser($body, $format = NULL) {
// the Blogger API). In this case, we try to split at paragraph boundaries.
// When even the first paragraph is too long, we try to split at the end of
// the next sentence.
$breakpoints
=
array
(
'</p>'
=>
4
,
'<br />'
=>
0
,
'<br>'
=>
0
,
"
\n
"
=>
0
,
'. '
=>
1
,
'! '
=>
1
,
'? '
=>
1
,
'。'
=>
1
,
'؟ '
=>
1
);
$breakpoints
=
array
(
'</p>'
=>
4
,
'<br />'
=>
0
,
'<br>'
=>
0
,
"
\n
"
=>
0
,
'. '
=>
1
,
'! '
=>
1
,
'? '
=>
1
,
'。'
=>
1
,
'؟ '
=>
1
);
foreach
(
$breakpoints
as
$point
=>
$charnum
)
{
if
(
$length
=
strpos
(
$body
,
$point
,
$size
))
{
return
substr
(
$body
,
0
,
$length
+
$charnum
);
}
}
// If all else fails, we simply truncate the string.
return
truncate_utf8
(
$body
,
$size
);
}
...
...
modules/profile.module
View file @
8436082f
...
...
@@ -240,7 +240,7 @@ function profile_view_field($user, $field) {
if
(
$field
->
fid
==
18
||
$field
->
fid
==
19
||
$field
->
fid
==
20
)
{
return
;
}
if
(
$value
=
$user
->
{
$field
->
name
})
{
switch
(
$field
->
type
)
{
case
'textfield'
:
...
...
modules/profile/profile.module
View file @
8436082f
...
...
@@ -240,7 +240,7 @@ function profile_view_field($user, $field) {
if
(
$field
->
fid
==
18
||
$field
->
fid
==
19
||
$field
->
fid
==
20
)
{
return
;
}
if
(
$value
=
$user
->
{
$field
->
name
})
{
switch
(
$field
->
type
)
{
case
'textfield'
:
...
...
modules/taxonomy.module
View file @
8436082f
...
...
@@ -953,7 +953,7 @@ function _taxonomy_prepare_insert($data, $stage) {
* Whether the nodes are to be used with a pager (the case on most Drupal
* pages) or not (in an XML feed, for example).
* @param $order
* The order clause for the query that retrieve the nodes.
* The order clause for the query that retrieve the nodes.
* @return
* A resource identifier pointing to the query results.
*/
...
...
modules/taxonomy/taxonomy.module
View file @
8436082f
...
...
@@ -953,7 +953,7 @@ function _taxonomy_prepare_insert($data, $stage) {
* Whether the nodes are to be used with a pager (the case on most Drupal
* pages) or not (in an XML feed, for example).
* @param $order
* The order clause for the query that retrieve the nodes.
* The order clause for the query that retrieve the nodes.
* @return
* A resource identifier pointing to the query results.
*/
...
...
themes/bluemarine/node.tpl.php
View file @
8436082f
...
...
@@ -2,7 +2,7 @@
<?php
if
(
$picture
)
{
print
$picture
;
}
?>
<?php
if
(
$page
==
0
)
{
?>
<h2
class=
"title"
><a
href=
"
<?php
print
$node_url
?>
"
>
<?php
print
$title
?>
</a></h2>
<?php
};
?>
<?php
if
(
$page
==
0
)
{
?>
<h2
class=
"title"
><a
href=
"
<?php
print
$node_url
?>
"
>
<?php
print
$title
?>
</a></h2>
<?php
};
?>
<span
class=
"submitted"
>
<?php
print
$submitted
?>
</span>
<span
class=
"taxonomy"
>
<?php
print
$terms
?>
</span>
<div
class=
"content"
>
<?php
print
$content
?>
</div>
...
...
themes/chameleon/chameleon.theme
View file @
8436082f
...
...
@@ -138,7 +138,7 @@ function chameleon_node($node, $main = 0, $page = 0) {
$links = array_merge($links, $node->links);
}
if (count($links)) {
$output .= " <div class=\"links\">". theme('links', $links) ."</div>\n";
$output .= " <div class=\"links\">". theme('links', $links) ."</div>\n";
}
$output .= "</div>\n";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment