2
0
forked from Wavyzz/dolibarr

Fix: avoid jenkins warning

Fix: SpaceAfterOpenBracket, SpaceAfterCloseBracket, SpaceBeforeCloseBracket, SpaceBeforeOpenBracket
This commit is contained in:
Regis Houssin
2011-09-20 09:40:27 +00:00
parent 493c009d5f
commit b6a2f13673
70 changed files with 287 additions and 302 deletions

View File

@@ -298,9 +298,7 @@ print '<br>';
/*
* Edition info modele document
*/
$constantes=array(
'ADHERENT_ETIQUETTE_TYPE'
);
$constantes=array('ADHERENT_ETIQUETTE_TYPE');
print_fiche_titre($langs->trans("MembersTickets"),'','');

View File

@@ -792,8 +792,7 @@ if ($rowid)
}
// Create a form array
$formquestion=array(
array('label' => $langs->trans("NameToCreate"), 'type' => 'text', 'name' => 'companyname', 'value' => $name));
$formquestion=array( array('label' => $langs->trans("NameToCreate"), 'type' => 'text', 'name' => 'companyname', 'value' => $name));
$ret=$html->form_confirm($_SERVER["PHP_SELF"]."?rowid=".$adh->id,$langs->trans("CreateDolibarrThirdParty"),$langs->trans("ConfirmCreateThirdParty"),"confirm_create_thirdparty",$formquestion,1);
if ($ret == 'html') print '<br>';

View File

@@ -1111,8 +1111,7 @@ if ($rowid && $action != 'edit')
}
// Create a form array
$formquestion=array(
array('label' => $langs->trans("NameToCreate"), 'type' => 'text', 'name' => 'companyname', 'value' => $name));
$formquestion=array( array('label' => $langs->trans("NameToCreate"), 'type' => 'text', 'name' => 'companyname', 'value' => $name));
$ret=$html->form_confirm($_SERVER["PHP_SELF"]."?rowid=".$object->id,$langs->trans("CreateDolibarrThirdParty"),$langs->trans("ConfirmCreateThirdParty"),"confirm_create_thirdparty",$formquestion,1);
if ($ret == 'html') print '<br>';

View File

@@ -554,38 +554,30 @@ class RssParser
if ( $this->current_namespace )
{
if ( $this->initem ) {
$this->concat(
$this->current_item[ $this->current_namespace ][ $el ], $text);
$this->concat( $this->current_item[ $this->current_namespace ][ $el ], $text);
}
elseif ($this->inchannel) {
$this->concat(
$this->channel[ $this->current_namespace][ $el ], $text );
$this->concat( $this->channel[ $this->current_namespace][ $el ], $text);
}
elseif ($this->intextinput) {
$this->concat(
$this->textinput[ $this->current_namespace][ $el ], $text );
$this->concat( $this->textinput[ $this->current_namespace][ $el ], $text);
}
elseif ($this->inimage) {
$this->concat(
$this->image[ $this->current_namespace ][ $el ], $text );
$this->concat( $this->image[ $this->current_namespace ][ $el ], $text);
}
}
else {
if ( $this->initem ) {
$this->concat(
$this->current_item[ $el ], $text);
$this->concat( $this->current_item[ $el ], $text);
}
elseif ($this->intextinput) {
$this->concat(
$this->textinput[ $el ], $text );
$this->concat( $this->textinput[ $el ], $text);
}
elseif ($this->inimage) {
$this->concat(
$this->image[ $el ], $text );
$this->concat( $this->image[ $el ], $text);
}
elseif ($this->inchannel) {
$this->concat(
$this->channel[ $el ], $text );
$this->concat( $this->channel[ $el ], $text);
}
}

View File

@@ -59,8 +59,7 @@ jQuery(document).ready(function(){
onDragClass: "dragClass",
dragHandle: "tdlineupdown"
});
jQuery(".tdlineupdown").hover(
function() { jQuery(this).addClass('showDragHandle'); },
jQuery(".tdlineupdown").hover( function() { jQuery(this).addClass('showDragHandle'); },
function() { jQuery(this).removeClass('showDragHandle'); }
);
});

View File

@@ -55,9 +55,7 @@ $langs->load("projects");
* View
*/
$arrayofcss=array(
'/includes/jsgantt/jsgantt.css'
);
$arrayofcss=array('/includes/jsgantt/jsgantt.css');
if (! empty($conf->use_javascript_ajax))
{