forked from Wavyzz/dolibarr
Fix: avoid jenkins warning
Fix: SpaceAfterOpenBracket, SpaceAfterCloseBracket, SpaceBeforeCloseBracket, SpaceBeforeOpenBracket
This commit is contained in:
@@ -298,9 +298,7 @@ print '<br>';
|
|||||||
/*
|
/*
|
||||||
* Edition info modele document
|
* Edition info modele document
|
||||||
*/
|
*/
|
||||||
$constantes=array(
|
$constantes=array('ADHERENT_ETIQUETTE_TYPE');
|
||||||
'ADHERENT_ETIQUETTE_TYPE'
|
|
||||||
);
|
|
||||||
|
|
||||||
print_fiche_titre($langs->trans("MembersTickets"),'','');
|
print_fiche_titre($langs->trans("MembersTickets"),'','');
|
||||||
|
|
||||||
|
|||||||
@@ -792,8 +792,7 @@ if ($rowid)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create a form array
|
// Create a form array
|
||||||
$formquestion=array(
|
$formquestion=array( array('label' => $langs->trans("NameToCreate"), 'type' => 'text', 'name' => 'companyname', 'value' => $name));
|
||||||
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);
|
$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>';
|
if ($ret == 'html') print '<br>';
|
||||||
|
|||||||
@@ -1111,8 +1111,7 @@ if ($rowid && $action != 'edit')
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create a form array
|
// Create a form array
|
||||||
$formquestion=array(
|
$formquestion=array( array('label' => $langs->trans("NameToCreate"), 'type' => 'text', 'name' => 'companyname', 'value' => $name));
|
||||||
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);
|
$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>';
|
if ($ret == 'html') print '<br>';
|
||||||
|
|||||||
@@ -554,38 +554,30 @@ class RssParser
|
|||||||
if ( $this->current_namespace )
|
if ( $this->current_namespace )
|
||||||
{
|
{
|
||||||
if ( $this->initem ) {
|
if ( $this->initem ) {
|
||||||
$this->concat(
|
$this->concat( $this->current_item[ $this->current_namespace ][ $el ], $text);
|
||||||
$this->current_item[ $this->current_namespace ][ $el ], $text);
|
|
||||||
}
|
}
|
||||||
elseif ($this->inchannel) {
|
elseif ($this->inchannel) {
|
||||||
$this->concat(
|
$this->concat( $this->channel[ $this->current_namespace][ $el ], $text);
|
||||||
$this->channel[ $this->current_namespace][ $el ], $text );
|
|
||||||
}
|
}
|
||||||
elseif ($this->intextinput) {
|
elseif ($this->intextinput) {
|
||||||
$this->concat(
|
$this->concat( $this->textinput[ $this->current_namespace][ $el ], $text);
|
||||||
$this->textinput[ $this->current_namespace][ $el ], $text );
|
|
||||||
}
|
}
|
||||||
elseif ($this->inimage) {
|
elseif ($this->inimage) {
|
||||||
$this->concat(
|
$this->concat( $this->image[ $this->current_namespace ][ $el ], $text);
|
||||||
$this->image[ $this->current_namespace ][ $el ], $text );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if ( $this->initem ) {
|
if ( $this->initem ) {
|
||||||
$this->concat(
|
$this->concat( $this->current_item[ $el ], $text);
|
||||||
$this->current_item[ $el ], $text);
|
|
||||||
}
|
}
|
||||||
elseif ($this->intextinput) {
|
elseif ($this->intextinput) {
|
||||||
$this->concat(
|
$this->concat( $this->textinput[ $el ], $text);
|
||||||
$this->textinput[ $el ], $text );
|
|
||||||
}
|
}
|
||||||
elseif ($this->inimage) {
|
elseif ($this->inimage) {
|
||||||
$this->concat(
|
$this->concat( $this->image[ $el ], $text);
|
||||||
$this->image[ $el ], $text );
|
|
||||||
}
|
}
|
||||||
elseif ($this->inchannel) {
|
elseif ($this->inchannel) {
|
||||||
$this->concat(
|
$this->concat( $this->channel[ $el ], $text);
|
||||||
$this->channel[ $el ], $text );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,8 +59,7 @@ jQuery(document).ready(function(){
|
|||||||
onDragClass: "dragClass",
|
onDragClass: "dragClass",
|
||||||
dragHandle: "tdlineupdown"
|
dragHandle: "tdlineupdown"
|
||||||
});
|
});
|
||||||
jQuery(".tdlineupdown").hover(
|
jQuery(".tdlineupdown").hover( function() { jQuery(this).addClass('showDragHandle'); },
|
||||||
function() { jQuery(this).addClass('showDragHandle'); },
|
|
||||||
function() { jQuery(this).removeClass('showDragHandle'); }
|
function() { jQuery(this).removeClass('showDragHandle'); }
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -55,9 +55,7 @@ $langs->load("projects");
|
|||||||
* View
|
* View
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$arrayofcss=array(
|
$arrayofcss=array('/includes/jsgantt/jsgantt.css');
|
||||||
'/includes/jsgantt/jsgantt.css'
|
|
||||||
);
|
|
||||||
|
|
||||||
if (! empty($conf->use_javascript_ajax))
|
if (! empty($conf->use_javascript_ajax))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user