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
8f0c3fb5
Commit
8f0c3fb5
authored
Jul 14, 2001
by
Dries
Browse files
- blog.module:
+ another bugfix
parent
01a8b5ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/blog.module
View file @
8f0c3fb5
...
...
@@ -208,7 +208,6 @@ function blog_edit_history($nid) {
function
blog_page
()
{
global
$theme
,
$op
,
$name
,
$date
;
$theme
->
header
();
if
(
user_access
(
"access blogs"
))
{
switch
(
$op
)
{
...
...
@@ -221,19 +220,22 @@ function blog_page() {
}
break
;
default
:
$theme
->
header
();
if
(
$name
)
{
blog_page_user
(
$name
,
$date
);
}
else
{
blog_page_last
();
}
$theme
->
footer
();
}
}
else
{
$theme
->
header
();
$theme
->
box
(
t
(
"Access denied"
),
message_access
());
$theme
->
footer
();
}
$theme
->
footer
();
}
function
blog_user
()
{
...
...
modules/blog/blog.module
View file @
8f0c3fb5
...
...
@@ -208,7 +208,6 @@ function blog_edit_history($nid) {
function
blog_page
()
{
global
$theme
,
$op
,
$name
,
$date
;
$theme
->
header
();
if
(
user_access
(
"access blogs"
))
{
switch
(
$op
)
{
...
...
@@ -221,19 +220,22 @@ function blog_page() {
}
break
;
default
:
$theme
->
header
();
if
(
$name
)
{
blog_page_user
(
$name
,
$date
);
}
else
{
blog_page_last
();
}
$theme
->
footer
();
}
}
else
{
$theme
->
header
();
$theme
->
box
(
t
(
"Access denied"
),
message_access
());
$theme
->
footer
();
}
$theme
->
footer
();
}
function
blog_user
()
{
...
...
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