Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
405cc92a
Commit
405cc92a
authored
Aug 04, 2001
by
Dries
Browse files
- bugfix: cured a warning
parent
97fe958d
Changes
3
Hide whitespace changes
Inline
Side-by-side
modules/aggregator.module
View file @
405cc92a
...
...
@@ -341,7 +341,7 @@ function import_view() {
function
import_fd_form
()
{
global
$REQUEST_URI
;
$form
.
=
form_textfield
(
"Feed directory file"
,
"url"
,
"http://
127.0.0.1/1.fd
"
,
64
,
128
,
"The fully-qualified URL of the feed directory file."
);
$form
.
=
form_textfield
(
"Feed directory file"
,
"url"
,
"http://"
,
64
,
128
,
"The fully-qualified URL of the feed directory file."
);
$form
.
=
form_submit
(
"Collect feeds"
);
return
form
(
$REQUEST_URI
,
$form
);
...
...
@@ -394,8 +394,10 @@ function import_fd_collect($edit) {
}
function
import_fd_import
(
$edit
)
{
foreach
(
$edit
as
$title
=>
$link
)
{
import_save_feed
(
array
(
"title"
=>
$title
,
"url"
=>
$link
,
"refresh"
=>
3600
,
"uncache"
=>
2419200
));
if
(
$edit
)
{
foreach
(
$edit
as
$title
=>
$link
)
{
import_save_feed
(
array
(
"title"
=>
$title
,
"url"
=>
$link
,
"refresh"
=>
3600
,
"uncache"
=>
2419200
));
}
}
}
...
...
modules/aggregator/aggregator.module
View file @
405cc92a
...
...
@@ -341,7 +341,7 @@ function import_view() {
function
import_fd_form
()
{
global
$REQUEST_URI
;
$form
.
=
form_textfield
(
"Feed directory file"
,
"url"
,
"http://
127.0.0.1/1.fd
"
,
64
,
128
,
"The fully-qualified URL of the feed directory file."
);
$form
.
=
form_textfield
(
"Feed directory file"
,
"url"
,
"http://"
,
64
,
128
,
"The fully-qualified URL of the feed directory file."
);
$form
.
=
form_submit
(
"Collect feeds"
);
return
form
(
$REQUEST_URI
,
$form
);
...
...
@@ -394,8 +394,10 @@ function import_fd_collect($edit) {
}
function
import_fd_import
(
$edit
)
{
foreach
(
$edit
as
$title
=>
$link
)
{
import_save_feed
(
array
(
"title"
=>
$title
,
"url"
=>
$link
,
"refresh"
=>
3600
,
"uncache"
=>
2419200
));
if
(
$edit
)
{
foreach
(
$edit
as
$title
=>
$link
)
{
import_save_feed
(
array
(
"title"
=>
$title
,
"url"
=>
$link
,
"refresh"
=>
3600
,
"uncache"
=>
2419200
));
}
}
}
...
...
modules/import.module
View file @
405cc92a
...
...
@@ -341,7 +341,7 @@ function import_view() {
function
import_fd_form
()
{
global
$REQUEST_URI
;
$form
.
=
form_textfield
(
"Feed directory file"
,
"url"
,
"http://
127.0.0.1/1.fd
"
,
64
,
128
,
"The fully-qualified URL of the feed directory file."
);
$form
.
=
form_textfield
(
"Feed directory file"
,
"url"
,
"http://"
,
64
,
128
,
"The fully-qualified URL of the feed directory file."
);
$form
.
=
form_submit
(
"Collect feeds"
);
return
form
(
$REQUEST_URI
,
$form
);
...
...
@@ -394,8 +394,10 @@ function import_fd_collect($edit) {
}
function
import_fd_import
(
$edit
)
{
foreach
(
$edit
as
$title
=>
$link
)
{
import_save_feed
(
array
(
"title"
=>
$title
,
"url"
=>
$link
,
"refresh"
=>
3600
,
"uncache"
=>
2419200
));
if
(
$edit
)
{
foreach
(
$edit
as
$title
=>
$link
)
{
import_save_feed
(
array
(
"title"
=>
$title
,
"url"
=>
$link
,
"refresh"
=>
3600
,
"uncache"
=>
2419200
));
}
}
}
...
...
Write
Preview
Supports
Markdown
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