Project

General

Profile

« Previous | Next » 

Revision 890

Added by aldus almost 16 years ago

Tcket #607: including the frontend.css in comment_page.php in the news-modules

View differences:

comment_page.php
29 29
	exit(0);
30 30
}
31 31

  
32
// check if frontend.css file needs to be included into the <body></body> of page
33
if ( (!function_exists('register_frontend_modfiles') || !defined('MOD_FRONTEND_CSS_REGISTERED')) && file_exists(WB_PATH .'/modules/news/frontend.css')) {
34
	echo '<style type="text/css">';
35
	include(WB_PATH .'/modules/news/frontend.css');
36
	echo "\n</style>\n";
37
}
38

  
32 39
require_once(WB_PATH.'/include/captcha/captcha.php');
33 40

  
34 41
// Get comments page template details from db

Also available in: Unified diff