Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 1105)
+++ trunk/CHANGELOG	(revision 1106)
@@ -12,6 +12,7 @@
 
 ------------------------------------- 2.8.0 -------------------------------------
 6-Aug-2009 Matthias Gallas
++	Added new function 'register_frontend_modfiles_body' to default templates
 +	Added option to use a frontend_body.js in modules to include javascript from modules
 	in the body of the frontend (Thanks to Luisehahne)
 !	Updated Danish language Files (Thanks to Achrist)
Index: trunk/wb/templates/allcss/index.php
===================================================================
--- trunk/wb/templates/allcss/index.php	(revision 1105)
+++ trunk/wb/templates/allcss/index.php	(revision 1106)
@@ -141,6 +141,9 @@
 <div class="powered_by">
 	Powered by <a href="http://www.websitebaker.org" target="_blank">Website Baker</a>
 </div>
-
+<?php 
+// automatically include optional WB module file frontend_body.js)
+if (function_exists('register_frontend_modfiles_body')) { register_frontend_modfiles_body(); } 
+?>
 </body>
 </html>
\ No newline at end of file
Index: trunk/wb/templates/round/index.php
===================================================================
--- trunk/wb/templates/round/index.php	(revision 1105)
+++ trunk/wb/templates/round/index.php	(revision 1106)
@@ -244,6 +244,9 @@
 	</td>
 </tr>
 </table>
-
+<?php 
+// automatically include optional WB module file frontend_body.js)
+if (function_exists('register_frontend_modfiles_body')) { register_frontend_modfiles_body(); } 
+?>
 </body>
 </html>
\ No newline at end of file
Index: trunk/wb/templates/simple/index.php
===================================================================
--- trunk/wb/templates/simple/index.php	(revision 1105)
+++ trunk/wb/templates/simple/index.php	(revision 1106)
@@ -100,6 +100,9 @@
 	</td>
 </tr>
 </table>
-
+<?php 
+// automatically include optional WB module file frontend_body.js)
+if (function_exists('register_frontend_modfiles_body')) { register_frontend_modfiles_body(); } 
+?>
 </body>
 </html>
\ No newline at end of file
