Passed
Push — master ( cc67ad...079c80 )
by Laurent
02:07
created
programs/ui/base.ui.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     public function __construct(Func_App $app, $id = null, Widget_Layout $layout = null)
116 116
     {
117 117
         parent::__construct($app);
118
-         // We simulate inheritance from Widget_VBoxLayout.
118
+            // We simulate inheritance from Widget_VBoxLayout.
119 119
         $W = $this->widgets = bab_Widgets();
120 120
 
121 121
         $this->buttonsLayout = $this->buttonsLayout();
@@ -322,9 +322,9 @@  discard block
 block discarded – undo
322 322
             $cancelLabel = isset($this->cancelLabel) ? $this->cancelLabel : $App->translate('Cancel');
323 323
             $this->addButton(
324 324
                 $W->SubmitButton(/*'cancel'*/)
325
-                     ->addClass('widget-close-dialog')
325
+                        ->addClass('widget-close-dialog')
326 326
                     ->setAction($this->cancelAction)
327
-                      ->setLabel($cancelLabel)
327
+                        ->setLabel($cancelLabel)
328 328
             );
329 329
         }
330 330
     }
@@ -1170,21 +1170,21 @@  discard block
 block discarded – undo
1170 1170
 
1171 1171
 
1172 1172
 
1173
-	protected function addCustomFields(app_RecordSet $recordSet)
1174
-	{
1175
-		$customFields = $recordSet->getCustomFields();
1173
+    protected function addCustomFields(app_RecordSet $recordSet)
1174
+    {
1175
+        $customFields = $recordSet->getCustomFields();
1176 1176
 
1177 1177
         foreach ($customFields as $customField) {
1178 1178
             $fieldname = $customField->fieldname;
1179 1179
             $this->addColumn(
1180 1180
                 widget_TableModelViewColumn($recordSet->$fieldname, $customField->name)
1181
-                  ->setSortable(true)
1182
-                  ->setExportable(true)
1183
-                  ->setSearchable($customField->searchable)
1184
-				  ->setVisible($customField->visible)
1181
+                    ->setSortable(true)
1182
+                    ->setExportable(true)
1183
+                    ->setSearchable($customField->searchable)
1184
+                    ->setVisible($customField->visible)
1185 1185
             );
1186 1186
         }
1187
-	}
1187
+    }
1188 1188
 
1189 1189
 
1190 1190
     /**
Please login to merge, or discard this patch.