Completed
Branch develop (b0cd32)
by
unknown
22:00
created
htdocs/core/modules/delivery/mod_delivery_saphir.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,8 +106,8 @@
 block discarded – undo
106 106
 	{
107 107
 		global $db, $langs;
108 108
 
109
-		require_once DOL_DOCUMENT_ROOT . '/delivery/class/delivery.class.php';
110
-		require_once DOL_DOCUMENT_ROOT . '/societe/class/societe.class.php';
109
+		require_once DOL_DOCUMENT_ROOT.'/delivery/class/delivery.class.php';
110
+		require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
111 111
 
112 112
 		$delivery = new Delivery($db);
113 113
 		$delivery->initAsSpecimen();
Please login to merge, or discard this patch.
htdocs/core/modules/supplier_order/mod_commande_fournisseur_orchidee.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,8 +109,8 @@
 block discarded – undo
109 109
 	{
110 110
 		global $db, $langs;
111 111
 
112
-		require_once DOL_DOCUMENT_ROOT . '/fourn/class/fournisseur.commande.class.php';
113
-		require_once DOL_DOCUMENT_ROOT . '/societe/class/societe.class.php';
112
+		require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
113
+		require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
114 114
 
115 115
 		$supplierorder = new CommandeFournisseur($db);
116 116
 		$supplierorder->initAsSpecimen();
Please login to merge, or discard this patch.
htdocs/core/modules/commande/mod_commande_saphir.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,8 +101,8 @@
 block discarded – undo
101 101
 	{
102 102
 		global $db, $langs;
103 103
 
104
-		require_once DOL_DOCUMENT_ROOT . '/commande/class/commande.class.php';
105
-		require_once DOL_DOCUMENT_ROOT . '/societe/class/societe.class.php';
104
+		require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
105
+		require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
106 106
 
107 107
 		$order = new Commande($db);
108 108
 		$order->initAsSpecimen();
Please login to merge, or discard this patch.
htdocs/core/modules/project/mod_project_universal.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,8 +111,8 @@
 block discarded – undo
111 111
 	{
112 112
 		global $db, $langs;
113 113
 
114
-		require_once DOL_DOCUMENT_ROOT . '/projet/class/project.class.php';
115
-		require_once DOL_DOCUMENT_ROOT . '/societe/class/societe.class.php';
114
+		require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
115
+		require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
116 116
 
117 117
 		$project = new Project($db);
118 118
 		$project->initAsSpecimen();
Please login to merge, or discard this patch.
htdocs/core/modules/mrp/mod_mo_advanced.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,8 +102,8 @@
 block discarded – undo
102 102
 	{
103 103
 		global $db, $langs;
104 104
 
105
-		require_once DOL_DOCUMENT_ROOT . '/mrp/class/mo.class.php';
106
-		require_once DOL_DOCUMENT_ROOT . '/product/class/product.class.php';
105
+		require_once DOL_DOCUMENT_ROOT.'/mrp/class/mo.class.php';
106
+		require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
107 107
 
108 108
 		$mo = new Mo($db);
109 109
 		$mo->initAsSpecimen();
Please login to merge, or discard this patch.
htdocs/modulebuilder/template/myobject_list.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 $backtopage = GETPOST('backtopage', 'alpha'); // Go back to a dedicated page
100 100
 $optioncss  = GETPOST('optioncss', 'aZ'); // Option for the css output (always '' except when 'print')
101 101
 $mode       = GETPOST('mode', 'aZ'); // The display mode ('list', 'kanban', 'hierarchy', 'calendar', 'gantt', ...)
102
-$groupby = GETPOST('groupby', 'aZ09');	// Example: $groupby = 'p.fk_opp_status' or $groupby = 'p.fk_statut'
102
+$groupby = GETPOST('groupby', 'aZ09'); // Example: $groupby = 'p.fk_opp_status' or $groupby = 'p.fk_statut'
103 103
 
104 104
 $id = GETPOSTINT('id');
105 105
 $ref = GETPOST('ref', 'alpha');
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 $object = new MyObject($db);
122 122
 $extrafields = new ExtraFields($db);
123 123
 $diroutputmassaction = $conf->mymodule->dir_output.'/temp/massgeneration/'.$user->id;
124
-$hookmanager->initHooks(array($contextpage)); 	// Note that conf->hooks_modules contains array of activated contexes
124
+$hookmanager->initHooks(array($contextpage)); // Note that conf->hooks_modules contains array of activated contexes
125 125
 
126 126
 // Fetch optionals attributes and labels
127 127
 $extrafields->fetch_name_optionals_label($object->table_element);
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 
132 132
 // Default sort order (if not yet defined by previous GETPOST)
133 133
 if (!$sortfield) {
134
-	reset($object->fields);					// Reset is required to avoid key() to return null.
134
+	reset($object->fields); // Reset is required to avoid key() to return null.
135 135
 	$sortfield = "t.".key($object->fields); // Set here default search field. By default 1st field in definition.
136 136
 }
137 137
 if (!$sortorder) {
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
 // Output page
450 450
 // --------------------------------------------------------------------
451 451
 
452
-llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'mod-mymodule page-list bodyforlist');	// Can use also classforhorizontalscrolloftabs instead of bodyforlist for no horizontal scroll
452
+llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'mod-mymodule page-list bodyforlist'); // Can use also classforhorizontalscrolloftabs instead of bodyforlist for no horizontal scroll
453 453
 
454 454
 // Example : Adding jquery code
455 455
 // print '<script type="text/javascript">
@@ -584,7 +584,7 @@  discard block
 block discarded – undo
584 584
 }
585 585
 
586 586
 $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage;
587
-$htmlofselectarray = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN'));  // This also change content of $arrayfields with user setup
587
+$htmlofselectarray = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')); // This also change content of $arrayfields with user setup
588 588
 $selectedfields = ($mode != 'kanban' ? $htmlofselectarray : '');
589 589
 $selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : '');
590 590
 
@@ -677,7 +677,7 @@  discard block
 block discarded – undo
677 677
 	} elseif (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && !in_array($key, array('id', 'rowid', 'ref', 'status')) && $val['label'] != 'TechnicalID' && empty($val['arrayofkeyval'])) {
678 678
 		$cssforfield .= ($cssforfield ? ' ' : '').'right';
679 679
 	}
680
-	$cssforfield = preg_replace('/small\s*/', '', $cssforfield);	// the 'small' css must not be used for the title label
680
+	$cssforfield = preg_replace('/small\s*/', '', $cssforfield); // the 'small' css must not be used for the title label
681 681
 	if (!empty($arrayfields['t.'.$key]['checked'])) {
682 682
 		print getTitleFieldOfList($arrayfields['t.'.$key]['label'], 0, $_SERVER['PHP_SELF'], 't.'.$key, '', $param, ($cssforfield ? 'class="'.$cssforfield.'"' : ''), $sortfield, $sortorder, ($cssforfield ? $cssforfield.' ' : ''), 0, (empty($val['helplist']) ? '' : $val['helplist']))."\n";
683 683
 		$totalarray['nbfield']++;
Please login to merge, or discard this patch.