[evolvis-commits] r17405: the ability to run code just shy of the </body></html>

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Jul 14 14:12:19 CEST 2011


Author: mirabilos
Date: 2011-07-14 14:12:19 +0200 (Thu, 14 Jul 2011)
New Revision: 17405

Modified:
   trunk/gforge_base/evolvisforge/gforge/www/include/Layout.class.php
   trunk/gforge_base/evolvisforge/gforge/www/themes/evolvis/Theme.class.php
Log:
the ability to run code just shy of the </body></html>


Modified: trunk/gforge_base/evolvisforge/gforge/www/include/Layout.class.php
===================================================================
--- trunk/gforge_base/evolvisforge/gforge/www/include/Layout.class.php	2011-07-14 11:07:14 UTC (rev 17404)
+++ trunk/gforge_base/evolvisforge/gforge/www/include/Layout.class.php	2011-07-14 12:12:19 UTC (rev 17405)
@@ -39,6 +39,7 @@
 
 	var $CSSfiles = array();
 	var $JSfiles = array();
+	var $footer_hooks = array();
 
 	/**
 	 * Layout() - Constructor
@@ -328,6 +329,11 @@
 
 </div>
 <script language=javascript src="/js/awstats_misc_tracker.js"></script><noscript><img src="/js/awstats_misc_tracker.js?nojs=y" height=0 width=0 border=0 style="display: none"></noscript>
+<?php
+		foreach ($this->footer_hooks as $h) {
+			call_user_func($h, $params);
+		}
+?>
 </body>
 </html>
 <?php

Modified: trunk/gforge_base/evolvisforge/gforge/www/themes/evolvis/Theme.class.php
===================================================================
--- trunk/gforge_base/evolvisforge/gforge/www/themes/evolvis/Theme.class.php	2011-07-14 11:07:14 UTC (rev 17404)
+++ trunk/gforge_base/evolvisforge/gforge/www/themes/evolvis/Theme.class.php	2011-07-14 12:12:19 UTC (rev 17405)
@@ -278,6 +278,11 @@
 <noscript><img src="/js/awstats_misc_tracker.js?nojs=y" height="0" width="0" border="0" style="display: none" alt="stats" /></noscript>
 <div id="red_bottombar"></div>
 </div><!-- content -->
+<?php
+		foreach ($this->footer_hooks as $h) {
+			call_user_func($h, $params);
+		}
+?>
 </body>
 </html>
 <?php



More information about the evolvis-commits mailing list