Completed
Push — gcconnex ( ee5ffc...718fe4 )
by Ilia
09:37 queued 04:29
created
mod/wet4/views/default/object/page_top.php 3 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 			'handler' => 'pages',
91 91
 			'sort_by' => 'priority',
92 92
 			'class' => 'elgg-menu-hz list-inline',
93
-            'item_class' => 'mrgn-rght-sm',
93
+			'item_class' => 'mrgn-rght-sm',
94 94
 		));
95 95
 	}
96 96
 }
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 
124 124
 	$params = array(
125 125
 		'entity' => $page,
126
-        'title' => false,
126
+		'title' => false,
127 127
 		'metadata' => $metadata,
128 128
 		'subtitle' => $subtitle,
129 129
 	);
@@ -152,15 +152,15 @@  discard block
 block discarded – undo
152 152
 
153 153
 	
154 154
 
155
-    if(elgg_in_context('group_profile')){
156
-        $metadata = elgg_view_menu('entity', array(
155
+	if(elgg_in_context('group_profile')){
156
+		$metadata = elgg_view_menu('entity', array(
157 157
 			'entity' => $vars['entity'],
158 158
 			'handler' => 'pages',
159 159
 			'sort_by' => 'priority',
160 160
 			'class' => 'elgg-menu-hz list-inline',
161
-            'item_class' => 'mrgn-rght-sm',
161
+			'item_class' => 'mrgn-rght-sm',
162 162
 		));
163
-    }
163
+	}
164 164
 
165 165
 	$params = array(
166 166
 		'entity' => $page,
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -99,18 +99,18 @@  discard block
 block discarded – undo
99 99
 
100 100
 	//Identify available content
101 101
 $description_json = json_decode($page->description);
102
-if( $description_json->en && $description_json->fr ){
102
+if ($description_json->en && $description_json->fr) {
103 103
 	echo'<div id="change_language" class="change_language">';
104
-	if (get_current_language() == 'fr'){
104
+	if (get_current_language() == 'fr') {
105 105
 
106 106
 		?>			
107
-		<span id="indicator_language_en" onclick="change_en('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
107
+		<span id="indicator_language_en" onclick="change_en('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en; ?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr; ?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
108 108
 			
109 109
 		<?php
110
-	}else{
110
+	} else {
111 111
 		?>		
112 112
 			
113
-		<span id="indicator_language_fr" onclick="change_fr('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
113
+		<span id="indicator_language_fr" onclick="change_fr('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en; ?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr; ?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
114 114
 		<?php	
115 115
 	}
116 116
 	echo'</div>';
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
 	
154 154
 
155
-    if(elgg_in_context('group_profile')){
155
+    if (elgg_in_context('group_profile')) {
156 156
         $metadata = elgg_view_menu('entity', array(
157 157
 			'entity' => $vars['entity'],
158 158
 			'handler' => 'pages',
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
 		<span id="indicator_language_en" onclick="change_en('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
108 108
 			
109 109
 		<?php
110
-	}else{
110
+	} else{
111 111
 		?>		
112 112
 			
113 113
 		<span id="indicator_language_fr" onclick="change_fr('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
Please login to merge, or discard this patch.
mod/wet4/views/default/object/event_calendar.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
 	$summary = elgg_view('object/elements/summary', $params);
105 105
 
106 106
 	echo elgg_view('object/elements/full', array(
107
-        'entity' => $event,
107
+		'entity' => $event,
108 108
 		'summary' => $summary,
109 109
 		'icon' => $owner_icon,
110 110
 		'body' => $body,
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -22,18 +22,18 @@  discard block
 block discarded – undo
22 22
 	//Identify available content
23 23
 
24 24
 $description_json = json_decode($event->description);
25
-if( $description_json->en && $description_json->fr ){
25
+if ($description_json->en && $description_json->fr) {
26 26
 	echo'<div id="change_language" class="change_language">';
27
-	if (get_current_language() == 'fr'){
27
+	if (get_current_language() == 'fr') {
28 28
 
29 29
 		?>			
30
-		<span id="indicator_language_en" onclick="change_en('.mtm');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
30
+		<span id="indicator_language_en" onclick="change_en('.mtm');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en; ?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr; ?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
31 31
 			
32 32
 		<?php
33
-	}else{
33
+	} else {
34 34
 		?>		
35 35
 			
36
-		<span id="indicator_language_fr" onclick="change_fr('.mtm');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
36
+		<span id="indicator_language_fr" onclick="change_fr('.mtm');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en; ?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr; ?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
37 37
 		<?php	
38 38
 	}
39 39
 	echo'</div>';
@@ -75,11 +75,11 @@  discard block
 block discarded – undo
75 75
 	$event_items = event_calendar_get_formatted_full_items($event);
76 76
 	$body .= '<br>';
77 77
 
78
-	foreach($event_items as $item) {
78
+	foreach ($event_items as $item) {
79 79
 		$value = $item->value;
80 80
 		if (!empty($value)) {
81 81
 			$body .= '<div class="mts">';
82
-			$body .= '<label>' . $item->title.': </label>';
82
+			$body .= '<label>' . $item->title . ': </label>';
83 83
 			$body .= $item->value . '</div>';
84 84
 		}
85 85
 	}
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 	}*/
124 124
 
125 125
 	$time_bit = event_calendar_get_formatted_time($event);
126
-	$icon = '<img src="'.elgg_view("icon/object/event_calendar/small").'" />';
126
+	$icon = '<img src="' . elgg_view("icon/object/event_calendar/small") . '" />';
127 127
 	$extras = array($time_bit);
128 128
 	if ($event->brief_description) {
129 129
 		$extras[] = $event->brief_description;
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 		$extras[] = $event->venue;
134 134
 	}
135 135
 	if ($extras) {
136
-		$info = "<p>".implode("<br>",$extras)."</p>";
136
+		$info = "<p>" . implode("<br>", $extras) . "</p>";
137 137
 	} else {
138 138
 		$info = '';
139 139
 	}
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 		<span id="indicator_language_en" onclick="change_en('.mtm');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
31 31
 			
32 32
 		<?php
33
-	}else{
33
+	} else{
34 34
 		?>		
35 35
 			
36 36
 		<span id="indicator_language_fr" onclick="change_fr('.mtm');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
Please login to merge, or discard this patch.
mod/wet4/views/default/object/idea.php 3 patches
Indentation   +48 added lines, -48 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 $date = elgg_view_friendly_time($idea->time_created);
47 47
 
48 48
 
49
-    $group_title = gc_explode_translation($container->title,$lang);
49
+	$group_title = gc_explode_translation($container->title,$lang);
50 50
 
51 51
 
52 52
 if ($show_group && elgg_instanceof($container, 'group')) {
@@ -88,20 +88,20 @@  discard block
 block discarded – undo
88 88
 
89 89
 //dont display title in full view
90 90
 if($full == 'full'){
91
-    $params = array(
92
-        'entity' => $idea,
93
-        'title' => false,
94
-        'metadata' => $metadata,
95
-        'subtitle' => $subtitle,
96
-        'tags' => $tags,
97
-    );
91
+	$params = array(
92
+		'entity' => $idea,
93
+		'title' => false,
94
+		'metadata' => $metadata,
95
+		'subtitle' => $subtitle,
96
+		'tags' => $tags,
97
+	);
98 98
 } else {
99
-    $params = array(
100
-        'entity' => $idea,
101
-        'metadata' => $metadata,
102
-        'subtitle' => $subtitle,
103
-        'tags' => $tags,
104
-    );
99
+	$params = array(
100
+		'entity' => $idea,
101
+		'metadata' => $metadata,
102
+		'subtitle' => $subtitle,
103
+		'tags' => $tags,
104
+	);
105 105
 }
106 106
 
107 107
 $params = $params + $vars;
@@ -117,15 +117,15 @@  discard block
 block discarded – undo
117 117
 if ( $sum == '' ) $sum = 0;
118 118
 
119 119
 $likes = elgg_get_annotations(array(
120
-    'guids' => $idea->guid,
121
-    'annotation_names' => array('point'),
122
-    'annotation_values' => 1
120
+	'guids' => $idea->guid,
121
+	'annotation_names' => array('point'),
122
+	'annotation_values' => 1
123 123
 ));
124 124
 
125 125
 $dislikes = elgg_get_annotations(array(
126
-    'guids' => $idea->guid,
127
-    'annotation_names' => array('point'),
128
-    'annotation_values' => -1
126
+	'guids' => $idea->guid,
127
+	'annotation_names' => array('point'),
128
+	'annotation_values' => -1
129 129
 ));
130 130
 
131 131
 // current users votes for idea
@@ -142,35 +142,35 @@  discard block
 block discarded – undo
142 142
 
143 143
 if($container) { // ds - was a weird bug where the container presumably didn't exist??
144 144
 
145
-    $vote .= "<div class='idea-vote-container pull-left'>";
145
+	$vote .= "<div class='idea-vote-container pull-left'>";
146 146
 
147
-    if ( $container->canWriteToContainer($user) ) {
148
-        $url = elgg_add_action_tokens_to_url("action/ideas/rateidea");
147
+	if ( $container->canWriteToContainer($user) ) {
148
+		$url = elgg_add_action_tokens_to_url("action/ideas/rateidea");
149 149
 
150 150
 
151
-        //$vote .= "<span class='idea-likes'>" . count($likes) . "</span>";
152
-        if($userVote == 1) {
153
-            $vote .= "<a href='$url' data-value='1' data-idea='{$idea->guid}'><i class='fa fa-arrow-up fa-lg icon-sel'></i><span class='wb-inv'>".elgg_echo('entity:upvote:link', array($title))."</span></a>";
154
-        } else {
155
-            $vote .= "<a href='$url' data-value='1' data-idea='{$idea->guid}'><i class='fa fa-arrow-up fa-lg icon-unsel'></i><span class='wb-inv'>".elgg_echo('entity:upvote:link', array($title))."</span></a>";
156
-        }
157
-        $vote .= $points;
151
+		//$vote .= "<span class='idea-likes'>" . count($likes) . "</span>";
152
+		if($userVote == 1) {
153
+			$vote .= "<a href='$url' data-value='1' data-idea='{$idea->guid}'><i class='fa fa-arrow-up fa-lg icon-sel'></i><span class='wb-inv'>".elgg_echo('entity:upvote:link', array($title))."</span></a>";
154
+		} else {
155
+			$vote .= "<a href='$url' data-value='1' data-idea='{$idea->guid}'><i class='fa fa-arrow-up fa-lg icon-unsel'></i><span class='wb-inv'>".elgg_echo('entity:upvote:link', array($title))."</span></a>";
156
+		}
157
+		$vote .= $points;
158 158
 
159
-        if($userVote == -1) {
160
-            $vote .= "<a href='$url' data-value='-1' data-idea='{$idea->guid}'><i class='fa fa-arrow-down fa-lg icon-sel'></i><span class='wb-inv'>".elgg_echo('entity:downvote:link', array($title))."</span></a>";
161
-        } else {
162
-            $vote .= "<a href='$url' data-value='-1' data-idea='{$idea->guid}'><i class='fa fa-arrow-down fa-lg icon-unsel'></i><span class='wb-inv'>".elgg_echo('entity:downvote:link', array($title))."</span></a>";
163
-        }
164
-        //$vote .= "<span class='idea-dislikes'>" . count($dislikes) . "</span>";
159
+		if($userVote == -1) {
160
+			$vote .= "<a href='$url' data-value='-1' data-idea='{$idea->guid}'><i class='fa fa-arrow-down fa-lg icon-sel'></i><span class='wb-inv'>".elgg_echo('entity:downvote:link', array($title))."</span></a>";
161
+		} else {
162
+			$vote .= "<a href='$url' data-value='-1' data-idea='{$idea->guid}'><i class='fa fa-arrow-down fa-lg icon-unsel'></i><span class='wb-inv'>".elgg_echo('entity:downvote:link', array($title))."</span></a>";
163
+		}
164
+		//$vote .= "<span class='idea-dislikes'>" . count($dislikes) . "</span>";
165 165
 
166 166
 
167
-    } else {
168
-        $vote .= "<div class='idea-vote-counter text-center idea-points'><span class='wb-inv'>Vote count</span>$sum</div>";
169
-    }
167
+	} else {
168
+		$vote .= "<div class='idea-vote-counter text-center idea-points'><span class='wb-inv'>Vote count</span>$sum</div>";
169
+	}
170 170
 
171
-    $vote .= "</div>";
171
+	$vote .= "</div>";
172 172
 
173
-    // $totals = count($likes) . "<span class='elgg-icon elgg-icon-thumbs-up-alt'></span><span class='elgg-icon elgg-icon-thumbs-down-alt'></span>" . count($dislikes);
173
+	// $totals = count($likes) . "<span class='elgg-icon elgg-icon-thumbs-up-alt'></span><span class='elgg-icon elgg-icon-thumbs-down-alt'></span>" . count($dislikes);
174 174
 
175 175
 }
176 176
 $idea_info = elgg_view_image_block($owner_icon, $list_body, array('class' => 'mbs'));
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 
207 207
 </div>
208 208
 HTML;
209
-    echo elgg_view('wet4_theme/track_page_entity', array('entity' => $idea));
209
+	echo elgg_view('wet4_theme/track_page_entity', array('entity' => $idea));
210 210
 } elseif ($full == 'sidebar') {
211 211
 
212 212
 	echo <<<HTML
@@ -214,16 +214,16 @@  discard block
 block discarded – undo
214 214
 HTML;
215 215
 
216 216
 } elseif ($full == 'no_vote') {
217
-    if ($idea->description1){
218
-     $idea->description = $idea->description1;
219
-    }
217
+	if ($idea->description1){
218
+	 $idea->description = $idea->description1;
219
+	}
220 220
 
221 221
 
222
-        $content = elgg_get_excerpt(gc_explode_translation($idea->description,$lang));
222
+		$content = elgg_get_excerpt(gc_explode_translation($idea->description,$lang));
223 223
 
224 224
 	//$content = elgg_get_excerpt($idea->description);
225
-    $points = "<div class='idea-vote-counter text-center idea-points'><span class='wb-inv'>Vote count</span>$sum</div>";
226
-    $metadata = elgg_view_menu('entity', array(
225
+	$points = "<div class='idea-vote-counter text-center idea-points'><span class='wb-inv'>Vote count</span>$sum</div>";
226
+	$metadata = elgg_view_menu('entity', array(
227 227
 	'entity' => $vars['entity'],
228 228
 	'handler' => 'ideas',
229 229
 	'sort_by' => 'priority',
Please login to merge, or discard this patch.
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 $categories = elgg_view('output/categories', $vars);
26 26
 
27 27
 
28
-	$description = elgg_view('output/longtext', array('value' => gc_explode_translation($idea->description,$lang), 'class' => 'pbl'));
28
+	$description = elgg_view('output/longtext', array('value' => gc_explode_translation($idea->description, $lang), 'class' => 'pbl'));
29 29
 
30 30
 
31 31
 	$title = gc_explode_translation($idea->title, $lang);
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 $date = elgg_view_friendly_time($idea->time_created);
47 47
 
48 48
 
49
-    $group_title = gc_explode_translation($container->title,$lang);
49
+    $group_title = gc_explode_translation($container->title, $lang);
50 50
 
51 51
 
52 52
 if ($show_group && elgg_instanceof($container, 'group')) {
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 }
88 88
 
89 89
 //dont display title in full view
90
-if($full == 'full'){
90
+if ($full == 'full') {
91 91
     $params = array(
92 92
         'entity' => $idea,
93 93
         'title' => false,
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 	'annotation_calculation' => 'sum',
115 115
 	'limit' => 0
116 116
 ));
117
-if ( $sum == '' ) $sum = 0;
117
+if ($sum == '') $sum = 0;
118 118
 
119 119
 $likes = elgg_get_annotations(array(
120 120
     'guids' => $idea->guid,
@@ -140,26 +140,26 @@  discard block
 block discarded – undo
140 140
 $point = ($sum == 1 || $sum == -1) ? "point" : "points";
141 141
 $points = "<div class='idea-vote-counter text-center ideaPoints'><span class='wb-inv'>Vote count</span>$sum</div>";
142 142
 
143
-if($container) { // ds - was a weird bug where the container presumably didn't exist??
143
+if ($container) { // ds - was a weird bug where the container presumably didn't exist??
144 144
 
145 145
     $vote .= "<div class='idea-vote-container pull-left'>";
146 146
 
147
-    if ( $container->canWriteToContainer($user) ) {
147
+    if ($container->canWriteToContainer($user)) {
148 148
         $url = elgg_add_action_tokens_to_url("action/ideas/rateidea");
149 149
 
150 150
 
151 151
         //$vote .= "<span class='idea-likes'>" . count($likes) . "</span>";
152
-        if($userVote == 1) {
153
-            $vote .= "<a href='$url' data-value='1' data-idea='{$idea->guid}'><i class='fa fa-arrow-up fa-lg icon-sel'></i><span class='wb-inv'>".elgg_echo('entity:upvote:link', array($title))."</span></a>";
152
+        if ($userVote == 1) {
153
+            $vote .= "<a href='$url' data-value='1' data-idea='{$idea->guid}'><i class='fa fa-arrow-up fa-lg icon-sel'></i><span class='wb-inv'>" . elgg_echo('entity:upvote:link', array($title)) . "</span></a>";
154 154
         } else {
155
-            $vote .= "<a href='$url' data-value='1' data-idea='{$idea->guid}'><i class='fa fa-arrow-up fa-lg icon-unsel'></i><span class='wb-inv'>".elgg_echo('entity:upvote:link', array($title))."</span></a>";
155
+            $vote .= "<a href='$url' data-value='1' data-idea='{$idea->guid}'><i class='fa fa-arrow-up fa-lg icon-unsel'></i><span class='wb-inv'>" . elgg_echo('entity:upvote:link', array($title)) . "</span></a>";
156 156
         }
157 157
         $vote .= $points;
158 158
 
159
-        if($userVote == -1) {
160
-            $vote .= "<a href='$url' data-value='-1' data-idea='{$idea->guid}'><i class='fa fa-arrow-down fa-lg icon-sel'></i><span class='wb-inv'>".elgg_echo('entity:downvote:link', array($title))."</span></a>";
159
+        if ($userVote == -1) {
160
+            $vote .= "<a href='$url' data-value='-1' data-idea='{$idea->guid}'><i class='fa fa-arrow-down fa-lg icon-sel'></i><span class='wb-inv'>" . elgg_echo('entity:downvote:link', array($title)) . "</span></a>";
161 161
         } else {
162
-            $vote .= "<a href='$url' data-value='-1' data-idea='{$idea->guid}'><i class='fa fa-arrow-down fa-lg icon-unsel'></i><span class='wb-inv'>".elgg_echo('entity:downvote:link', array($title))."</span></a>";
162
+            $vote .= "<a href='$url' data-value='-1' data-idea='{$idea->guid}'><i class='fa fa-arrow-down fa-lg icon-unsel'></i><span class='wb-inv'>" . elgg_echo('entity:downvote:link', array($title)) . "</span></a>";
163 163
         }
164 164
         //$vote .= "<span class='idea-dislikes'>" . count($dislikes) . "</span>";
165 165
 
@@ -178,18 +178,18 @@  discard block
 block discarded – undo
178 178
 
179 179
 	//Identify available content
180 180
 $description_json = json_decode($idea->description);
181
-if( $description_json->en && $description_json->fr ){
181
+if ($description_json->en && $description_json->fr) {
182 182
 	echo'<div id="change_language" class="change_language">';
183
-	if (get_current_language() == 'fr'){
183
+	if (get_current_language() == 'fr') {
184 184
 
185 185
 		?>			
186
-		<span id="indicator_language_en" onclick="change_en('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
186
+		<span id="indicator_language_en" onclick="change_en('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en; ?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr; ?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
187 187
 			
188 188
 		<?php
189
-	}else{
189
+	} else {
190 190
 		?>		
191 191
 			
192
-		<span id="indicator_language_fr" onclick="change_fr('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
192
+		<span id="indicator_language_fr" onclick="change_fr('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en; ?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr; ?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
193 193
 		<?php	
194 194
 	}
195 195
 	echo'</div>';
@@ -214,12 +214,12 @@  discard block
 block discarded – undo
214 214
 HTML;
215 215
 
216 216
 } elseif ($full == 'no_vote') {
217
-    if ($idea->description1){
217
+    if ($idea->description1) {
218 218
      $idea->description = $idea->description1;
219 219
     }
220 220
 
221 221
 
222
-        $content = elgg_get_excerpt(gc_explode_translation($idea->description,$lang));
222
+        $content = elgg_get_excerpt(gc_explode_translation($idea->description, $lang));
223 223
 
224 224
 	//$content = elgg_get_excerpt($idea->description);
225 225
     $points = "<div class='idea-vote-counter text-center idea-points'><span class='wb-inv'>Vote count</span>$sum</div>";
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
 	}*/
272 272
 
273 273
 	// brief view
274
-	if ( $full != 'searched') {
274
+	if ($full != 'searched') {
275 275
 		$content = elgg_get_excerpt($idea->description);
276 276
 	} else {
277 277
 		$content = $idea->description;
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,7 +114,9 @@  discard block
 block discarded – undo
114 114
 	'annotation_calculation' => 'sum',
115 115
 	'limit' => 0
116 116
 ));
117
-if ( $sum == '' ) $sum = 0;
117
+if ( $sum == '' ) {
118
+	$sum = 0;
119
+}
118 120
 
119 121
 $likes = elgg_get_annotations(array(
120 122
     'guids' => $idea->guid,
@@ -186,7 +188,7 @@  discard block
 block discarded – undo
186 188
 		<span id="indicator_language_en" onclick="change_en('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
187 189
 			
188 190
 		<?php
189
-	}else{
191
+	} else{
190 192
 		?>		
191 193
 			
192 194
 		<span id="indicator_language_fr" onclick="change_fr('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
Please login to merge, or discard this patch.
mod/wet4/views/default/object/folder.php 3 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 		"handler" => "file_tools/folder",
49 49
 		"sort_by" => "priority",
50 50
 		"class" => "list-inline",
51
-        'item_class' => 'mrgn-rght-sm',
51
+		'item_class' => 'mrgn-rght-sm',
52 52
 	));
53 53
 }
54 54
 
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 		"summary" => $summary,
102 102
 		"body" => $body,
103 103
 	));
104
-    elgg_unregister_menu_item('title2', 'new_folder');
104
+	elgg_unregister_menu_item('title2', 'new_folder');
105 105
 } else {
106 106
 
107 107
 	// identify available content
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 }
30 30
 
31 31
 
32
-	$title = gc_explode_translation($folder->title,$lang);
32
+	$title = gc_explode_translation($folder->title, $lang);
33 33
 
34 34
 if (empty($title)) {
35 35
 	$title = elgg_echo("untitled");
@@ -72,23 +72,23 @@  discard block
 block discarded – undo
72 72
 	$params = $params + $vars;
73 73
 	$summary = elgg_view("object/elements/summary", $params);
74 74
 	
75
-	$body = elgg_view("output/longtext", array("value" => gc_explode_translation($folder->description,$lang)));
75
+	$body = elgg_view("output/longtext", array("value" => gc_explode_translation($folder->description, $lang)));
76 76
 
77 77
 
78 78
 	//Identify available content
79 79
 $description_json = json_decode($folder->description);
80
-if( $description_json->en && $description_json->fr ){
80
+if ($description_json->en && $description_json->fr) {
81 81
 	echo'<div id="change_language" class="change_language">';
82
-	if (get_current_language() == 'fr'){
82
+	if (get_current_language() == 'fr') {
83 83
 
84 84
 		?>			
85
-		<span id="indicator_language_en" onclick="change_en('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
85
+		<span id="indicator_language_en" onclick="change_en('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en; ?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr; ?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
86 86
 			
87 87
 		<?php
88
-	}else{
88
+	} else {
89 89
 		?>		
90 90
 			
91
-		<span id="indicator_language_fr" onclick="change_fr('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
91
+		<span id="indicator_language_fr" onclick="change_fr('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en; ?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr; ?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
92 92
 		<?php	
93 93
 	}
94 94
 	echo'</div>';
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
 		<span id="indicator_language_en" onclick="change_en('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
108 108
 			
109 109
 		<?php
110
-	}else{
110
+	} else{
111 111
 		?>		
112 112
 			
113 113
 		<span id="indicator_language_fr" onclick="change_fr('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
Please login to merge, or discard this patch.
mod/wet4/views/default/object/answer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 	$image .= elgg_format_element('div', ['class' => 'fa fa-check fa-3x questions-correct', 'title' => $title]);
24 24
 
25 25
 	//make variable to store invisible span for screen readers
26
-	$correct = '<span class="wb-inv">'.$title.'</span>';
26
+	$correct = '<span class="wb-inv">' . $title . '</span>';
27 27
 }
28 28
 
29 29
 // create subtitle
Please login to merge, or discard this patch.
mod/wet4/views/default/object/comment.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 		'handler' => 'comment',
46 46
 		'sort_by' => 'priority',
47 47
 		'class' => 'elgg-menu-hz float-alt',
48
-        'item_class' => 'mrgn-lft-sm',
48
+		'item_class' => 'mrgn-lft-sm',
49 49
 	));
50 50
 	
51 51
 	if (elgg_in_context('activity')) {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,16 +23,16 @@
 block discarded – undo
23 23
 $friendlytime = elgg_view_friendly_time($comment->time_created);
24 24
 
25 25
 //check if the icon is in a widget and make it small!
26
-if(elgg_get_context() !== 'widgets'){
26
+if (elgg_get_context() !== 'widgets') {
27 27
 $commenter_icon = elgg_view_entity_icon($commenter, 'medium');
28
-}else{
28
+} else {
29 29
   $commenter_icon = elgg_view_entity_icon($commenter, 'small');  
30 30
 }
31 31
 
32 32
 
33 33
 $commenter_link = "<a href=\"{$commenter->getURL()}\">$commenter->name</a>";
34 34
 
35
-$entity_title = $entity->title ? gc_explode_translation($entity->title,$lang) : elgg_echo('untitled');
35
+$entity_title = $entity->title ? gc_explode_translation($entity->title, $lang) : elgg_echo('untitled');
36 36
 $entity_link = "<a href=\"{$entity->getURL()}\">$entity_title</a>";
37 37
 
38 38
 if ($full_view) {
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 //check if the icon is in a widget and make it small!
26 26
 if(elgg_get_context() !== 'widgets'){
27 27
 $commenter_icon = elgg_view_entity_icon($commenter, 'medium');
28
-}else{
28
+} else{
29 29
   $commenter_icon = elgg_view_entity_icon($commenter, 'small');  
30 30
 }
31 31
 
Please login to merge, or discard this patch.
mod/wet4/views/default/object/blog.php 3 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
 // do not show the metadata and controls in widget view
86 86
 if (elgg_in_context('widgets')) {
87
-    //$metadata = '';
87
+	//$metadata = '';
88 88
 }
89 89
 
90 90
 // Show blog
@@ -130,13 +130,13 @@  discard block
 block discarded – undo
130 130
 	$summary = elgg_view('object/elements/summary', $params);
131 131
 
132 132
 	echo elgg_view("object/elements/full", array(
133
-        'entity' => $blog,
133
+		'entity' => $blog,
134 134
 		"summary" => $summary,
135 135
 		"icon" => $owner_icon,
136 136
 		"body" => $blog_icon . $body,
137 137
 	));
138 138
 
139
-    echo '<div id="group-replies" class="elgg-comments mrgn-rght-md mrgn-lft-md clearfix">';
139
+	echo '<div id="group-replies" class="elgg-comments mrgn-rght-md mrgn-lft-md clearfix">';
140 140
     
141 141
 } else {
142 142
 
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 $categories = elgg_view('output/categories', $vars);
23 23
 
24 24
 
25
-	$excerpt = gc_explode_translation($blog->excerpt,$lang);
25
+	$excerpt = gc_explode_translation($blog->excerpt, $lang);
26 26
 
27 27
 
28 28
 if (empty($excerpt)) {
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
32 32
 }
33 33
 
34 34
 //test to see if it is widget view
35
-if(elgg_get_context() !== 'widgets'){
35
+if (elgg_get_context() !== 'widgets') {
36 36
 $owner_icon = elgg_view_entity_icon($owner, 'medium');
37
-}else{
37
+} else {
38 38
    
39 39
    $owner_icon = elgg_view_entity_icon($owner, 'small'); 
40 40
     
@@ -92,18 +92,18 @@  discard block
 block discarded – undo
92 92
 	// full view
93 93
 	// identify available content
94 94
 $description_json = json_decode($blog->description);
95
-if( $description_json->en && $description_json->fr ){
95
+if ($description_json->en && $description_json->fr) {
96 96
 	echo'<div id="change_language" class="change_language">';
97
-	if (get_current_language() == 'fr'){
97
+	if (get_current_language() == 'fr') {
98 98
 
99 99
 		?>			
100
-		<span id="indicator_language_en" onclick="change_en('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
100
+		<span id="indicator_language_en" onclick="change_en('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en; ?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr; ?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
101 101
 			
102 102
 		<?php
103
-	}else{
103
+	} else {
104 104
 		?>		
105 105
 			
106
-		<span id="indicator_language_fr" onclick="change_fr('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
106
+		<span id="indicator_language_fr" onclick="change_fr('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en; ?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr; ?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
107 107
 		<?php	
108 108
 	}
109 109
 	echo'</div>';
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 //test to see if it is widget view
35 35
 if(elgg_get_context() !== 'widgets'){
36 36
 $owner_icon = elgg_view_entity_icon($owner, 'medium');
37
-}else{
37
+} else{
38 38
    
39 39
    $owner_icon = elgg_view_entity_icon($owner, 'small'); 
40 40
     
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 		<span id="indicator_language_en" onclick="change_en('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
101 101
 			
102 102
 		<?php
103
-	}else{
103
+	} else{
104 104
 		?>		
105 105
 			
106 106
 		<span id="indicator_language_fr" onclick="change_fr('.elgg-output');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
Please login to merge, or discard this patch.
mod/wet4/views/default/object/groupforumtopic.php 3 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -70,12 +70,12 @@  discard block
 block discarded – undo
70 70
 	$poster = $last_reply->getOwnerEntity();
71 71
     
72 72
     
73
-    //added to get link of person who replied
74
-    $poster_reply_link = elgg_view('output/url', array(
75
-        'href' => $poster->getURL(),
76
-        'text' => $poster->name,
77
-        'is_trusted' => true,
78
-    ));
73
+	//added to get link of person who replied
74
+	$poster_reply_link = elgg_view('output/url', array(
75
+		'href' => $poster->getURL(),
76
+		'text' => $poster->name,
77
+		'is_trusted' => true,
78
+	));
79 79
     
80 80
 	$reply_time = elgg_view_friendly_time($last_reply->time_created);
81 81
 	$reply_text = elgg_echo('groups:updated', array($poster_reply_link, $reply_time));
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 		'handler' => 'discussion',
96 96
 		'sort_by' => 'priority',
97 97
 		'class' => 'list-inline',
98
-        'item_class' => 'mrgn-rght-sm',
98
+		'item_class' => 'mrgn-rght-sm',
99 99
 	));
100 100
 } else {
101 101
 	$metadata = elgg_view_menu('entity', array(
@@ -103,12 +103,12 @@  discard block
 block discarded – undo
103 103
 		'handler' => 'discussion',
104 104
 		'sort_by' => 'priority',
105 105
 		'class' => 'list-inline',
106
-        'item_class' => 'mrgn-rght-sm',
106
+		'item_class' => 'mrgn-rght-sm',
107 107
 	));
108 108
 }
109 109
 
110 110
 if ($full) {
111
-    // $replies_link - went here
111
+	// $replies_link - went here
112 112
 	$subtitle = "$poster_text $date ";
113 113
 
114 114
 // identify available content
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 
134 134
 	$params = array(
135 135
 		'entity' => $topic,
136
-        'title' => false,
136
+		'title' => false,
137 137
 		'metadata' => $metadata,
138 138
 		'subtitle' => $subtitle,
139 139
 		'tags' => $tags,
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 		'class' => 'clearfix mrgn-lft-sm mrgn-rght-sm mrgn-tp-md content_desc',
149 149
 	));
150 150
     
151
-    $repliesFoot = '<div class="col-xs-12 text-right">' . $replies_link . '</div>';
151
+	$repliesFoot = '<div class="col-xs-12 text-right">' . $replies_link . '</div>';
152 152
 
153 153
 	echo <<<HTML
154 154
 <div class="panel-heading clearfix">$info</div>
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 $repliesFoot
157 157
 HTML;
158 158
 
159
-    echo elgg_view('wet4_theme/track_page_entity', array('entity' => $topic));
159
+	echo elgg_view('wet4_theme/track_page_entity', array('entity' => $topic));
160 160
 
161 161
 } else {
162 162
 	// brief view
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -113,19 +113,19 @@
 block discarded – undo
113 113
 
114 114
 // identify available content
115 115
 $description_json = json_decode($topic->description);
116
-if( $description_json->en && $description_json->fr ){
116
+if ($description_json->en && $description_json->fr) {
117 117
 
118 118
 	echo'<div id="change_language" class="change_language">';
119
-	if (get_current_language() == 'fr'){
119
+	if (get_current_language() == 'fr') {
120 120
 
121 121
 		?>			
122 122
 
123
-		<span id="indicator_language_en" onclick="change_en('.content_desc');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
123
+		<span id="indicator_language_en" onclick="change_en('.content_desc');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en; ?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr; ?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
124 124
 		<?php
125
-	}else{
125
+	} else {
126 126
 				
127 127
 		?>			
128
-		<span id="indicator_language_fr" onclick="change_fr('.content_desc');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
128
+		<span id="indicator_language_fr" onclick="change_fr('.content_desc');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en; ?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr; ?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
129 129
 		<?php	
130 130
 	}
131 131
 	echo'</div>';
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
 
123 123
 		<span id="indicator_language_en" onclick="change_en('.content_desc');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:en') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:en') ?></span></span>
124 124
 		<?php
125
-	}else{
125
+	} else{
126 126
 				
127 127
 		?>			
128 128
 		<span id="indicator_language_fr" onclick="change_fr('.content_desc');"><span id="en_content" class="testClass hidden" ><?php echo $description_json->en;?></span><span id="fr_content" class="testClass hidden" ><?php echo $description_json->fr;?></span><?php echo elgg_echo('box:indicator:fr') ?><span class="fake-link" id="fake-link-1"><?php echo elgg_echo('indicator:click:fr') ?></span></span>
Please login to merge, or discard this patch.
mod/wet4/views/default/object/thewire.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 	"entity" => $post,
106 106
 	"metadata" => $metadata,
107 107
 	//"subtitle" => implode(" ", $subtitle),
108
-    'subtitle' => $subtitle,
108
+	'subtitle' => $subtitle,
109 109
 	"content" => $content,
110 110
 	"tags" => false,
111 111
 	"title" => false,
Please login to merge, or discard this patch.