[Fusionforge-commits] r18964 - in trunk/src/www: include themes/funky themes/funky-wOw
Marc-Etienne VARGENAU
vargenau at fusionforge.org
Mon Jan 27 18:46:29 CET 2014
Author: vargenau
Date: 2014-01-27 18:46:29 +0100 (Mon, 27 Jan 2014)
New Revision: 18964
Modified:
trunk/src/www/include/Layout.class.php
trunk/src/www/include/html.php
trunk/src/www/themes/funky-wOw/Theme.class.php
trunk/src/www/themes/funky/Theme.class.php
Log:
plugin_hook: use default value
Modified: trunk/src/www/include/Layout.class.php
===================================================================
--- trunk/src/www/include/Layout.class.php 2014-01-27 16:37:57 UTC (rev 18963)
+++ trunk/src/www/include/Layout.class.php 2014-01-27 17:46:29 UTC (rev 18964)
@@ -266,7 +266,7 @@
<meta name="keywords" content="<?php echo $params['meta-keywords'] ?>" />
<?php } ?>
<?php
- plugin_hook('htmlhead', array());
+ plugin_hook('htmlhead');
$this->headerTitle($params);
$this->headerFavIcon();
$this->headerRSS();
@@ -350,10 +350,10 @@
echo '
<script type="text/javascript" src="'. util_make_uri('/js/common.js') .'"></script>
<script type="text/javascript">/* <![CDATA[ */';
- plugin_hook ("javascript",false);
+ plugin_hook ("javascript");
echo '
/* ]]> */</script>';
- plugin_hook ("javascript_file",false);
+ plugin_hook ("javascript_file");
echo $this->getJavascripts();
// invoke the 'javascript' hook for custom javascript addition
@@ -538,7 +538,7 @@
<?php echo $this->navigation->getShowSource();
- plugin_hook('webanalytics_url', array());
+ plugin_hook('webanalytics_url');
echo "</body>\n";
echo "</html>\n";
Modified: trunk/src/www/include/html.php
===================================================================
--- trunk/src/www/include/html.php 2014-01-27 16:37:57 UTC (rev 18963)
+++ trunk/src/www/include/html.php 2014-01-27 17:46:29 UTC (rev 18964)
@@ -1012,7 +1012,7 @@
if (plugin_hook_listeners("usermenu") > 0) {
echo $HTML->subMenuSeparator();
}
- plugin_hook("usermenu", false);
+ plugin_hook("usermenu");
echo $HTML->endSubMenu();
}
Modified: trunk/src/www/themes/funky/Theme.class.php
===================================================================
--- trunk/src/www/themes/funky/Theme.class.php 2014-01-27 16:37:57 UTC (rev 18963)
+++ trunk/src/www/themes/funky/Theme.class.php 2014-01-27 17:46:29 UTC (rev 18964)
@@ -107,7 +107,7 @@
echo '</div>' . "\n";
echo '<div id="maindiv">' . "\n";
- plugin_hook('message', array());
+ plugin_hook('message');
if(isset($GLOBALS['error_msg']) && $GLOBALS['error_msg']) {
echo $this->error_msg($GLOBALS['error_msg']);
@@ -138,7 +138,7 @@
echo $this->navigation->getPoweredBy();
echo $this->navigation->getShowSource();
echo '<div style="clear:both"></div></div>';
- plugin_hook('webanalytics_url', array());
+ plugin_hook('webanalytics_url');
echo '</body></html>' . "\n";
}
@@ -427,7 +427,7 @@
{
echo '<script type="text/javascript" src="'. util_make_uri('/js/common.js') .'"></script>';
- plugin_hook("javascript_file", false);
+ plugin_hook("javascript_file");
// invoke the 'javascript' hook for custom javascript addition
$params = array('return' => false);
Modified: trunk/src/www/themes/funky-wOw/Theme.class.php
===================================================================
--- trunk/src/www/themes/funky-wOw/Theme.class.php 2014-01-27 16:37:57 UTC (rev 18963)
+++ trunk/src/www/themes/funky-wOw/Theme.class.php 2014-01-27 17:46:29 UTC (rev 18964)
@@ -91,7 +91,7 @@
echo '</div>' . "\n";
echo '<div id="maindiv">' . "\n";
- plugin_hook('message', array());
+ plugin_hook('message');
if(isset($GLOBALS['error_msg']) && $GLOBALS['error_msg']) {
echo $this->error_msg($GLOBALS['error_msg']);
@@ -122,7 +122,7 @@
echo $this->navigation->getPoweredBy();
echo $this->navigation->getShowSource();
echo '<div style="clear:both"></div></div>';
- plugin_hook('webanalytics_url', array());
+ plugin_hook('webanalytics_url');
echo '</body></html>' . "\n";
}
@@ -411,7 +411,7 @@
{
echo '<script type="text/javascript" src="'. util_make_uri('/js/common.js') .'"></script>';
- plugin_hook("javascript_file", false);
+ plugin_hook("javascript_file");
// invoke the 'javascript' hook for custom javascript addition
$params = array('return' => false);
More information about the Fusionforge-commits
mailing list