Passed
Branch master (23721f)
by Michael
04:42
created
blocks/countdown-block.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -77,12 +77,12 @@
 block discarded – undo
77 77
             $form .= '<optgroup label="' . $key . '">';
78 78
             foreach ($values as $value) {
79 79
 				   
80
-				    if ($options[0] == $value['event_id']) {
80
+                    if ($options[0] == $value['event_id']) {
81 81
                 $form .= '<option value="' . $options[0] . '" selected>' . $value['event_name'] . '</option>';
82
-					}
83
-					else {
84
-				$form .= '<option value="' . $value['event_id'] . '">' . $value['event_name'] . '</option>';		
85
-					}	
82
+                    }
83
+                    else {
84
+                $form .= '<option value="' . $value['event_id'] . '">' . $value['event_name'] . '</option>';		
85
+                    }	
86 86
             }
87 87
             $form .= "</optgroup>";
88 88
         }
Please login to merge, or discard this patch.
index.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,15 +53,15 @@
 block discarded – undo
53 53
 switch ($op) {
54 54
     case '':
55 55
     default: //Do nothing, we want to view all
56
-		$xoopsTpl->assign('lang_events', _MD_COUNTDOWN_EVENT);
56
+        $xoopsTpl->assign('lang_events', _MD_COUNTDOWN_EVENT);
57 57
         break;
58 58
     case 'running':
59 59
         $criteria->add(new Criteria('event_date', $today, '>'));
60
-		$xoopsTpl->assign('lang_events', _MD_COUNTDOWN_EVENT_RUNNING);
60
+        $xoopsTpl->assign('lang_events', _MD_COUNTDOWN_EVENT_RUNNING);
61 61
         break;
62 62
     case 'expired':
63 63
         $criteria->add(new Criteria('event_date', $today, '<'));
64
-		$xoopsTpl->assign('lang_events', _MD_COUNTDOWN_EVENT_EXPIRED);
64
+        $xoopsTpl->assign('lang_events', _MD_COUNTDOWN_EVENT_EXPIRED);
65 65
 }
66 66
 
67 67
 $eventsCount = $eventsHandler->getCount($criteria);
Please login to merge, or discard this patch.