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
47f527fb
Commit
47f527fb
authored
Dec 01, 2006
by
Steven Wittens
Browse files
Fixing commit of
#100563
(thanks webernet)
parent
0ea4e1c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
modules/forum/forum.module
View file @
47f527fb
...
...
@@ -92,6 +92,11 @@ function forum_menu($may_cache) {
'type'
=>
MENU_CALLBACK
);
}
}
else
{
// Add the CSS for this module
// We put this in !$may_cache so it's only added once per request
drupal_add_css
(
drupal_get_path
(
'module'
,
'forum'
)
.
'/forum.css'
);
}
return
$items
;
}
...
...
modules/profile/profile.module
View file @
47f527fb
...
...
@@ -80,11 +80,6 @@ function profile_menu($may_cache) {
'access'
=>
1
,
'type'
=>
MENU_CALLBACK
);
}
else
{
// Add the CSS for this module
// We put this in !$may_cache so it's only added once per request
drupal_add_css
(
drupal_get_path
(
'module'
,
'profile'
)
.
'/profile.css'
);
}
return
$items
;
}
...
...
modules/watchdog/watchdog.module
View file @
47f527fb
...
...
@@ -51,9 +51,10 @@ function watchdog_menu($may_cache) {
'type'
=>
MENU_CALLBACK
);
}
else
{
// Add the CSS for this module
// We put this in !$may_cache so it's only added once per request
drupal_add_css
(
drupal_get_path
(
'module'
,
'watchdog'
)
.
'/watchdog.css'
);
if
(
arg
(
0
)
==
'admin'
&&
arg
(
1
)
==
'logs'
)
{
// Add the CSS for this module
drupal_add_css
(
drupal_get_path
(
'module'
,
'watchdog'
)
.
'/watchdog.css'
);
}
}
return
$items
;
...
...
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