This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via d3ad411506795d5c9c8da736f20c0fe54dd040bd (commit)
from f0c02822bdccdda36dfab808b16014786400c8d7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=d3ad411506795d5c9c8da736f20c0fe54dd040bd
commit d3ad411506795d5c9c8da736f20c0fe54dd040bd
Author: Marc-Etienne Vargenau <[email protected]>
Date: Tue Jul 5 10:39:52 2016 +0200
Add line feed between javascripts and stylesheets
diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index cd9f7c0..00a34bb 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -208,7 +208,7 @@ class Layout extends FFError {
function getJavascripts() {
$code = '';
foreach ($this->javascripts as $js) {
- $code .= html_e('script', array('type' =>
'text/javascript', 'src' => util_make_uri($js)), '', false);
+ $code .= "\t".html_e('script', array('type' =>
'text/javascript', 'src' => util_make_uri($js)), '', false)."\n";
}
$this->javascripts = array();
return $code;
@@ -221,9 +221,9 @@ class Layout extends FFError {
$code = '';
foreach ($this->stylesheets as $c) {
if ($c['media']) {
- $code .= html_e('link', array('rel' =>
'stylesheet', 'type' => 'text/css', 'href' => util_make_uri($c['css']), 'media'
=> $c['media']));
+ $code .= "\t".html_e('link', array('rel' =>
'stylesheet', 'type' => 'text/css', 'href' => util_make_uri($c['css']), 'media'
=> $c['media']))."\n";
} else {
- $code .= html_e('link', array('rel' =>
'stylesheet', 'type' => 'text/css', 'href' => util_make_uri($c['css'])));
+ $code .= "\t".html_e('link', array('rel' =>
'stylesheet', 'type' => 'text/css', 'href' => util_make_uri($c['css'])))."\n";
}
}
$this->stylesheets = array();
-----------------------------------------------------------------------
Summary of changes:
src/www/include/Layout.class.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits