Completed
Pull Request — release-2.1 (#4907)
by Rick
31:09 queued 23:06
created
Themes/default/Profile.template.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -2192,10 +2192,10 @@  discard block
 block discarded – undo
2192 2192
  */
2193 2193
 function template_ignoreboards()
2194 2194
 {
2195
-    global $context, $txt, $scripturl;
2195
+	global $context, $txt, $scripturl;
2196 2196
 
2197
-    // The main containing header.
2198
-    echo '
2197
+	// The main containing header.
2198
+	echo '
2199 2199
 	<form action="', $scripturl, '?action=profile;area=ignoreboards;save" method="post" accept-charset="', $context['character_set'], '" name="creator" id="creator">
2200 2200
 		<div class="cat_bar">
2201 2201
 			<h3 class="catbg profile_hd">
@@ -2207,37 +2207,37 @@  discard block
 block discarded – undo
2207 2207
 			<div class="flow_hidden">
2208 2208
 				<ul class="ignoreboards">';
2209 2209
 
2210
-    $i = 0;
2211
-    //$limit = ceil($context['num_boards'] / 2);
2212
-    foreach ($context['categories'] as $category)
2213
-    {
2214
-        echo '
2210
+	$i = 0;
2211
+	//$limit = ceil($context['num_boards'] / 2);
2212
+	foreach ($context['categories'] as $category)
2213
+	{
2214
+		echo '
2215 2215
 					<li class="category">
2216 2216
 						<a href="javascript:void(0);" onclick="selectBoards([', implode(', ', $category['child_ids']), '], \'creator\'); return false;">', $category['name'], '</a>
2217 2217
 						<ul>';
2218 2218
 
2219
-        foreach ($category['boards'] as $board)
2220
-        {
2221
-            echo '
2219
+		foreach ($category['boards'] as $board)
2220
+		{
2221
+			echo '
2222 2222
 							<li class="board" style="margin-', $context['right_to_left'] ? 'right' : 'left', ': ', $board['child_level'], 'em;">
2223 2223
 								<label for="ignore_brd', $board['id'], '"><input type="checkbox" id="brd', $board['id'], '" name="ignore_brd[', $board['id'], ']" value="', $board['id'], '"', $board['selected'] ? ' checked' : '', '> ', $board['name'], '</label>
2224 2224
 							</li>';
2225 2225
 
2226
-            $i++;
2227
-        }
2226
+			$i++;
2227
+		}
2228 2228
 
2229
-        echo '
2229
+		echo '
2230 2230
 						</ul>
2231 2231
 					</li>';
2232
-    }
2232
+	}
2233 2233
 
2234
-    echo '
2234
+	echo '
2235 2235
 				</ul>';
2236 2236
 
2237
-    // Show the standard "Save Settings" profile button.
2238
-    template_profile_save();
2237
+	// Show the standard "Save Settings" profile button.
2238
+	template_profile_save();
2239 2239
 
2240
-    echo '
2240
+	echo '
2241 2241
 			</div><!-- .flow_hidden -->
2242 2242
 		</div><!-- .windowbg -->
2243 2243
 	</form>
Please login to merge, or discard this patch.