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
72f33dde
Commit
72f33dde
authored
May 03, 2002
by
Kjartan
Browse files
- fixed comment control settings:
http://www.drupal.org/node.php?id=115
parent
ce4993d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/comment.module
View file @
72f33dde
...
...
@@ -494,7 +494,8 @@ function comment_render($nid, $cid) {
}
print
"<a name=
\"
comment
\"
></a>
\n
"
;
print
"<form method=
\"
post
\"
action=
\"
"
.
request_uri
()
.
"
\"
>
\n
"
;
print
"<form method=
\"
post
\"
action=
\"
"
.
drupal_url
(
array
(
"mod"
=>
"comment"
),
"module"
)
.
"
\"
>
\n
"
;
print
form_hidden
(
"nid"
,
$nid
);
/*
** Render control panel:
...
...
@@ -685,7 +686,9 @@ function comment_page() {
comment_post
(
$edit
);
break
;
case
t
(
"Update settings"
)
:
global
$mode
,
$order
,
$threshold
;
comment_settings
(
check_query
(
$mode
),
check_query
(
$order
),
check_query
(
$threshold
));
drupal_goto
(
drupal_url
(
array
(
"id"
=>
$edit
[
"nid"
]),
"node"
));
break
;
default
:
}
...
...
modules/comment/comment.module
View file @
72f33dde
...
...
@@ -494,7 +494,8 @@ function comment_render($nid, $cid) {
}
print
"<a name=
\"
comment
\"
></a>
\n
"
;
print
"<form method=
\"
post
\"
action=
\"
"
.
request_uri
()
.
"
\"
>
\n
"
;
print
"<form method=
\"
post
\"
action=
\"
"
.
drupal_url
(
array
(
"mod"
=>
"comment"
),
"module"
)
.
"
\"
>
\n
"
;
print
form_hidden
(
"nid"
,
$nid
);
/*
** Render control panel:
...
...
@@ -685,7 +686,9 @@ function comment_page() {
comment_post
(
$edit
);
break
;
case
t
(
"Update settings"
)
:
global
$mode
,
$order
,
$threshold
;
comment_settings
(
check_query
(
$mode
),
check_query
(
$order
),
check_query
(
$threshold
));
drupal_goto
(
drupal_url
(
array
(
"id"
=>
$edit
[
"nid"
]),
"node"
));
break
;
default
:
}
...
...
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