Revision 992
Added by Matthias over 16 years ago
| frontend.functions.php | ||
|---|---|---|
| 372 | 372 |
|
| 373 | 373 |
// include the Javascript email protection function |
| 374 | 374 |
if( $file_id != 'css' && file_exists(WB_PATH .'/modules/droplets/js/mdcr.js')) {
|
| 375 |
$head_links .= '<script type="text/javascript" src="'.WB_URL.'/modules/droplets/js/mdcr.js"></script>\n';
|
|
| 375 |
$head_links .= '<script type="text/javascript" src="'.WB_URL.'/modules/droplets/js/mdcr.js"></script>'."\n";
|
|
| 376 | 376 |
} elseif( $file_id != 'css' && file_exists(WB_PATH .'/modules/output_filter/js/mdcr.js')) {
|
| 377 |
$head_links .= '<script type="text/javascript" src="'.WB_URL.'/modules/output_filter/js/mdcr.js"></script>\n';
|
|
| 377 |
$head_links .= '<script type="text/javascript" src="'.WB_URL.'/modules/output_filter/js/mdcr.js"></script>'."\n";
|
|
| 378 | 378 |
} |
| 379 | 379 |
echo $head_links; |
| 380 | 380 |
} |
Also available in: Unified diff
Fixed small bug introduced in changeset [989]