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 a2e207931ecb6c4e511b9ae1dcefc38741b9a0e2 (commit)
from 87acdd3c00dd7eb8582a66a87812c5a26bc25762 (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=a2e207931ecb6c4e511b9ae1dcefc38741b9a0e2
commit a2e207931ecb6c4e511b9ae1dcefc38741b9a0e2
Author: Marc-Etienne Vargenau <[email protected]>
Date: Thu Sep 7 10:37:33 2017 +0200
Whitespace
diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 55dbb48..fcd9b59 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -105,7 +105,7 @@ abstract class Layout extends FFError {
$this->navigation = new Navigation();
// determine rootindex
- if ( file_exists(forge_get_config('custom_path') .
'/index_std.php') ) {
+ if (file_exists(forge_get_config('custom_path') .
'/index_std.php')) {
$this->rootindex = forge_get_config('custom_path') .
'/index_std.php';
} else {
$this->rootindex = $GLOBALS['gfwww'].'index_std.php';
@@ -216,7 +216,7 @@ abstract class Layout extends FFError {
}
function addButtons($link, $text, $options = array()) {
- $this->buttons[] = array_merge( array('link' => $link, 'text'
=> $text), $options);
+ $this->buttons[] = array_merge(array('link' => $link, 'text' =>
$text), $options);
}
function getButtons() {
@@ -651,24 +651,24 @@ abstract class Layout extends FFError {
*/
function multiTableRow($row_attrs, $cell_data, $istitle = false) {
$ap = html_ap();
- if ( $istitle ) {
+ if ($istitle) {
(isset($row_attrs['class'])) ? $row_attrs['class'] .= '
align-center multiTableRowTitle' : $row_attrs['class'] = 'align-center
multiTableRowTitle';
$row_attrs['class'] .= '';
}
$return = html_ao('tr', $row_attrs);
$type = $istitle ? 'th' : 'td';
- for ( $c = 0; $c < count($cell_data); $c++ ) {
+ for ($c = 0; $c < count($cell_data); $c++) {
$locAp = html_ap();
$cellAttrs = array();
foreach (array_slice($cell_data[$c],1) as $k => $v) {
$cellAttrs[$k] = $v;
}
$return .= html_ao($type, $cellAttrs);
- if ( $istitle ) {
+ if ($istitle) {
$return .= html_ao('span', array('class' =>
'multiTableRowTitle'));
}
$return .= $cell_data[$c][0];
- if ( $istitle ) {
+ if ($istitle) {
$return .= html_ac(html_ap() -1);
}
$return .= html_ac($locAp);
@@ -772,7 +772,7 @@ abstract class Layout extends FFError {
}
function jQueryUIconfirmBox($id = 'dialog-confirm', $title = 'Confirm
your action', $message = 'Do you confirm your action?') {
- return html_e('div', array('id' => $id, 'title' => $title,
'class' => 'hide'),
+ return html_e('div', array('id' => $id, 'title' => $title,
'class' => 'hide'),
html_e('p', array(), html_e('span',
array('class' => 'ui-icon ui-icon-alert', 'style' => 'float:left; margin:0 7px
20px 0;'), '', false).$message));
}
@@ -870,7 +870,7 @@ abstract class Layout extends FFError {
$attrs[$key] = $extra_params_value;
}
}
- return html_e('div', array('class' => 'field-holder'),
$htmllabel.html_build_select_box_from_array($vals, $name, $checked_val,
$text_is_value, $attrs));
+ return html_e('div', array('class' => 'field-holder'),
$htmllabel.html_build_select_box_from_array($vals, $name, $checked_val,
$text_is_value, $attrs));
}
function html_textarea($name, $id = '', $label = '', $value = '',
$extra_params = '') {
@@ -1336,7 +1336,7 @@ abstract class Layout extends FFError {
}
}
}
- if ( $totalElements > $start + $paging) {
+ if ($totalElements > $start + $paging) {
$html_content .=
util_make_link($actionUrl.$sep.'start='.($start+$paging),'<strong>'._('next').'
→</strong>');
}
return $html_content;
-----------------------------------------------------------------------
Summary of changes:
src/www/include/Layout.class.php | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits