Passed
Branch dev (a25f63)
by Darko
15:17
created
www/admin/release-list.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,15 +14,15 @@
 block discarded – undo
14 14
 $releasecount = $releases->getCount();
15 15
 
16 16
 $offset = isset($_REQUEST["offset"]) ? $_REQUEST["offset"] : 0;
17
-$page->smarty->assign('pagertotalitems',$releasecount);
18
-$page->smarty->assign('pageroffset',$offset);
19
-$page->smarty->assign('pageritemsperpage',ITEMS_PER_PAGE);
20
-$page->smarty->assign('pagerquerybase', WWW_TOP."/release-list.php?offset=");
17
+$page->smarty->assign('pagertotalitems', $releasecount);
18
+$page->smarty->assign('pageroffset', $offset);
19
+$page->smarty->assign('pageritemsperpage', ITEMS_PER_PAGE);
20
+$page->smarty->assign('pagerquerybase', WWW_TOP . "/release-list.php?offset=");
21 21
 $pager = $page->smarty->fetch("pager.tpl");
22 22
 $page->smarty->assign('pager', $pager);
23 23
 
24 24
 $releaselist = $releases->getRange($offset, ITEMS_PER_PAGE);
25
-$page->smarty->assign('releaselist',$releaselist);
25
+$page->smarty->assign('releaselist', $releaselist);
26 26
 
27 27
 $page->content = $page->smarty->fetch('release-list.tpl');
28 28
 $page->render();
Please login to merge, or discard this patch.
www/admin/site-edit.php 2 patches
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 // set the current action
18 18
 $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : 'view';
19 19
 
20
-switch($action)
20
+switch ($action)
21 21
 {
22 22
 	case 'submit':
23 23
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 		{
53 53
 			$site = $ret;
54 54
 			$returnid = $site['id'];
55
-			header("Location:".WWW_TOP."/site-edit.php?id=".$returnid);
55
+			header("Location:" . WWW_TOP . "/site-edit.php?id=" . $returnid);
56 56
 		}
57 57
 		else
58 58
 		{
@@ -72,11 +72,11 @@  discard block
 block discarded – undo
72 72
 		break;
73 73
 }
74 74
 
75
-$page->smarty->assign('yesno_ids', array(1,0));
76
-$page->smarty->assign('yesno_names', array( 'Yes', 'No'));
75
+$page->smarty->assign('yesno_ids', array(1, 0));
76
+$page->smarty->assign('yesno_names', array('Yes', 'No'));
77 77
 
78
-$page->smarty->assign('passwd_ids', array(1,0));
79
-$page->smarty->assign('passwd_names', array( 'Deep (requires unrar)', 'None'));
78
+$page->smarty->assign('passwd_ids', array(1, 0));
79
+$page->smarty->assign('passwd_names', array('Deep (requires unrar)', 'None'));
80 80
 
81 81
 /*0 = English, 2 = Danish, 3 = French, 1 = German*/
82 82
 $page->smarty->assign('langlist_ids', [0, 2, 3, 1]);
@@ -94,22 +94,22 @@  discard block
 block discarded – undo
94 94
 	]);
95 95
 
96 96
 $page->smarty->assign('sabintegrationtype_ids', array(SABnzbd::INTEGRATION_TYPE_USER, SABnzbd::INTEGRATION_TYPE_SITEWIDE, SABnzbd::INTEGRATION_TYPE_NONE));
97
-$page->smarty->assign('sabintegrationtype_names', array( 'User', 'Site-wide', 'None (Off)'));
97
+$page->smarty->assign('sabintegrationtype_names', array('User', 'Site-wide', 'None (Off)'));
98 98
 
99
-$page->smarty->assign('sabapikeytype_ids', array(SABnzbd::API_TYPE_NZB,SABnzbd::API_TYPE_FULL));
100
-$page->smarty->assign('sabapikeytype_names', array( 'Nzb Api Key', 'Full Api Key'));
99
+$page->smarty->assign('sabapikeytype_ids', array(SABnzbd::API_TYPE_NZB, SABnzbd::API_TYPE_FULL));
100
+$page->smarty->assign('sabapikeytype_names', array('Nzb Api Key', 'Full Api Key'));
101 101
 
102 102
 $page->smarty->assign('sabpriority_ids', array(SABnzbd::PRIORITY_FORCE, SABnzbd::PRIORITY_HIGH, SABnzbd::PRIORITY_NORMAL, SABnzbd::PRIORITY_LOW));
103
-$page->smarty->assign('sabpriority_names', array( 'Force', 'High', 'Normal', 'Low'));
103
+$page->smarty->assign('sabpriority_names', array('Force', 'High', 'Normal', 'Low'));
104 104
 
105
-$page->smarty->assign('curlproxytype_names', array( '', 'HTTP', 'SOCKS5'));
105
+$page->smarty->assign('curlproxytype_names', array('', 'HTTP', 'SOCKS5'));
106 106
 
107
-$page->smarty->assign('newgroupscan_names', array('Days','Posts'));
107
+$page->smarty->assign('newgroupscan_names', array('Days', 'Posts'));
108 108
 
109 109
 $page->smarty->assign('registerstatus_ids', array(Settings::REGISTER_STATUS_API_ONLY, Settings::REGISTER_STATUS_OPEN, Settings::REGISTER_STATUS_INVITE, Settings::REGISTER_STATUS_CLOSED));
110 110
 $page->smarty->assign('registerstatus_names', array('API Only', 'Open', 'Invite', 'Closed'));
111 111
 
112
-$page->smarty->assign('passworded_ids', array(0,1,2));
112
+$page->smarty->assign('passworded_ids', array(0, 1, 2));
113 113
 $page->smarty->assign('passworded_names', [
114 114
 	'Hide passworded or potentially passworded (*yes)',
115 115
 	'Hide passworded or potentially passworded (*no)',
@@ -122,25 +122,25 @@  discard block
 block discarded – undo
122 122
 $page->smarty->assign('lookuplanguage_iso', array('en', 'de', 'es', 'fr', 'it', 'nl', 'pt', 'sv'));
123 123
 $page->smarty->assign('lookuplanguage_names', array('English', 'Deutsch', 'Español', 'Français', 'Italiano', 'Nederlands', 'Português', 'Svenska'));
124 124
 
125
-$page->smarty->assign('imdb_urls', array(0,1));
125
+$page->smarty->assign('imdb_urls', array(0, 1));
126 126
 $page->smarty->assign('imdburl_names', array('imdb.com', 'akas.imdb.com'));
127 127
 
128
-$page->smarty->assign('lookupbooks_ids', [0,1,2]);
128
+$page->smarty->assign('lookupbooks_ids', [0, 1, 2]);
129 129
 $page->smarty->assign('lookupbooks_names', ['Disabled', 'Lookup All Books', 'Lookup Renamed Books']);
130 130
 
131
-$page->smarty->assign('lookupgames_ids', [0,1,2]);
131
+$page->smarty->assign('lookupgames_ids', [0, 1, 2]);
132 132
 $page->smarty->assign('lookupgames_names', ['Disabled', 'Lookup All Consoles', 'Lookup Renamed Consoles']);
133 133
 
134
-$page->smarty->assign('lookupmusic_ids', [0,1,2]);
134
+$page->smarty->assign('lookupmusic_ids', [0, 1, 2]);
135 135
 $page->smarty->assign('lookupmusic_names', ['Disabled', 'Lookup All Music', 'Lookup Renamed Music']);
136 136
 
137
-$page->smarty->assign('lookupmovies_ids', [0,1,2]);
137
+$page->smarty->assign('lookupmovies_ids', [0, 1, 2]);
138 138
 $page->smarty->assign('lookupmovies_names', ['Disabled', 'Lookup All Movies', 'Lookup Renamed Movies']);
139 139
 
140
-$page->smarty->assign('lookuptv_ids', [0,1,2]);
140
+$page->smarty->assign('lookuptv_ids', [0, 1, 2]);
141 141
 $page->smarty->assign('lookuptv_names', ['Disabled', 'Lookup All TV', 'Lookup Renamed TV']);
142 142
 
143
-$page->smarty->assign('lookup_reqids_ids', array(0,1,2));
143
+$page->smarty->assign('lookup_reqids_ids', array(0, 1, 2));
144 144
 $page->smarty->assign('lookup_reqids_names', array('Disabled', 'Lookup Request IDs', 'Lookup Request IDs Threaded'));
145 145
 
146 146
 $page->smarty->assign('coversPath', NN_COVERS);
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
 
172 172
 $page->smarty->assign('themelist', Utility::getThemesList());
173 173
 
174
-if (strpos(NNTP_SERVER, "astra")===false)
174
+if (strpos(NNTP_SERVER, "astra") === false)
175 175
 	$page->smarty->assign('compress_headers_warning', "compress_headers_warning");
176 176
 
177 177
 $page->content = $page->smarty->fetch('site-edit.tpl');
Please login to merge, or discard this patch.
Braces   +24 added lines, -28 removed lines patch added patch discarded remove patch
@@ -17,8 +17,7 @@  discard block
 block discarded – undo
17 17
 // set the current action
18 18
 $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : 'view';
19 19
 
20
-switch($action)
21
-{
20
+switch($action) {
22 21
 	case 'submit':
23 22
 
24 23
 		if (!empty($_POST['book_reqids'])) {
@@ -28,34 +27,31 @@  discard block
 block discarded – undo
28 27
 		}
29 28
 		$error = "";
30 29
 		$ret = $page->settings->update($_POST);
31
-		if (is_int($ret))
32
-		{
33
-			if ($ret == Settings::ERR_BADUNRARPATH)
34
-				$error = "The unrar path does not point to a valid binary";
35
-			elseif ($ret == Settings::ERR_BADFFMPEGPATH)
36
-				$error = "The ffmpeg path does not point to a valid binary";
37
-			elseif ($ret == Settings::ERR_BADMEDIAINFOPATH)
38
-				$error = "The mediainfo path does not point to a valid binary";
39
-			elseif ($ret == Settings::ERR_BADNZBPATH)
40
-				$error = "The nzb path does not point to a valid directory";
41
-			elseif ($ret == Settings::ERR_DEEPNOUNRAR)
42
-				$error = "Deep password check requires a valid path to unrar binary";
43
-			elseif ($ret == Settings::ERR_BADTMPUNRARPATH)
44
-				$error = "The temp unrar path is not a valid directory";
45
-			elseif ($ret == Sites::ERR_BADLAMEPATH)
46
-				$error = "The lame path is not a valid directory";
47
-			elseif ($ret == Sites::ERR_SABCOMPLETEPATH)
48
-				$error = "The sab complete path is not a valid directory";
30
+		if (is_int($ret)) {
31
+			if ($ret == Settings::ERR_BADUNRARPATH) {
32
+							$error = "The unrar path does not point to a valid binary";
33
+			} elseif ($ret == Settings::ERR_BADFFMPEGPATH) {
34
+							$error = "The ffmpeg path does not point to a valid binary";
35
+			} elseif ($ret == Settings::ERR_BADMEDIAINFOPATH) {
36
+							$error = "The mediainfo path does not point to a valid binary";
37
+			} elseif ($ret == Settings::ERR_BADNZBPATH) {
38
+							$error = "The nzb path does not point to a valid directory";
39
+			} elseif ($ret == Settings::ERR_DEEPNOUNRAR) {
40
+							$error = "Deep password check requires a valid path to unrar binary";
41
+			} elseif ($ret == Settings::ERR_BADTMPUNRARPATH) {
42
+							$error = "The temp unrar path is not a valid directory";
43
+			} elseif ($ret == Sites::ERR_BADLAMEPATH) {
44
+							$error = "The lame path is not a valid directory";
45
+			} elseif ($ret == Sites::ERR_SABCOMPLETEPATH) {
46
+							$error = "The sab complete path is not a valid directory";
47
+			}
49 48
 		}
50 49
 
51
-		if ($error == "")
52
-		{
50
+		if ($error == "") {
53 51
 			$site = $ret;
54 52
 			$returnid = $site['id'];
55 53
 			header("Location:".WWW_TOP."/site-edit.php?id=".$returnid);
56
-		}
57
-		else
58
-		{
54
+		} else {
59 55
 			$page->smarty->assign('error', $error);
60 56
 			$site = $sites->row2Object($_POST);
61 57
 			$page->smarty->assign('site', $site);
@@ -151,8 +147,7 @@  discard block
 block discarded – undo
151 147
 // setup the display lists for these categories, this could have been static, but then if names changed they would be wrong
152 148
 $book_reqids_ids = [];
153 149
 $book_reqids_names = [];
154
-foreach ($result as $bookcategory)
155
-{
150
+foreach ($result as $bookcategory) {
156 151
 	$book_reqids_ids[]   = $bookcategory["id"];
157 152
 	$book_reqids_names[] = $bookcategory["title"];
158 153
 }
@@ -171,8 +166,9 @@  discard block
 block discarded – undo
171 166
 
172 167
 $page->smarty->assign('themelist', Utility::getThemesList());
173 168
 
174
-if (strpos(NNTP_SERVER, "astra")===false)
169
+if (strpos(NNTP_SERVER, "astra")===false) {
175 170
 	$page->smarty->assign('compress_headers_warning', "compress_headers_warning");
171
+}
176 172
 
177 173
 $page->content = $page->smarty->fetch('site-edit.tpl');
178 174
 $page->render();
Please login to merge, or discard this patch.
www/admin/user-list.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,8 @@
 block discarded – undo
46 46
 $page->content = $page->smarty->fetch('user-list.tpl');
47 47
 $page->render();
48 48
 
49
-function checkREQUEST($param) {
49
+function checkREQUEST($param)
50
+{
50 51
 	global $uSearch, $variables;
51 52
 	if (isset($_REQUEST[$param])) {
52 53
 		$variables[$param] = $_REQUEST[$param];
Please login to merge, or discard this patch.
www/admin/menu-list.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 $page->title = "Menu List";
13 13
 
14 14
 $menulist = $menu->getAll();
15
-$page->smarty->assign('menulist',$menulist);
15
+$page->smarty->assign('menulist', $menulist);
16 16
 
17 17
 $page->content = $page->smarty->fetch('menu-list.tpl');
18 18
 $page->render();
Please login to merge, or discard this patch.
www/admin/book-list.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,16 +14,16 @@
 block discarded – undo
14 14
 $concount = $book->getCount();
15 15
 
16 16
 $offset = isset($_REQUEST["offset"]) ? $_REQUEST["offset"] : 0;
17
-$page->smarty->assign('pagertotalitems',$concount);
18
-$page->smarty->assign('pageroffset',$offset);
19
-$page->smarty->assign('pageritemsperpage',ITEMS_PER_PAGE);
20
-$page->smarty->assign('pagerquerybase', WWW_TOP."/book-list.php?offset=");
17
+$page->smarty->assign('pagertotalitems', $concount);
18
+$page->smarty->assign('pageroffset', $offset);
19
+$page->smarty->assign('pageritemsperpage', ITEMS_PER_PAGE);
20
+$page->smarty->assign('pagerquerybase', WWW_TOP . "/book-list.php?offset=");
21 21
 $pager = $page->smarty->fetch("pager.tpl");
22 22
 $page->smarty->assign('pager', $pager);
23 23
 
24 24
 $booklist = $book->getRange($offset, ITEMS_PER_PAGE);
25 25
 
26
-$page->smarty->assign('booklist',$booklist);
26
+$page->smarty->assign('booklist', $booklist);
27 27
 
28 28
 $page->content = $page->smarty->fetch('book-list.tpl');
29 29
 $page->render();
Please login to merge, or discard this patch.
www/admin/ajax_regex.php 3 patches
Switch Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -13,15 +13,15 @@
 block discarded – undo
13 13
 }
14 14
 
15 15
 switch($_GET['action']) {
16
-	case 1:
17
-		$id = (int) $_GET['col_id'];
18
-		(new Regexes(['Settings' => $admin->settings]))->deleteRegex($id);
19
-		print "Regex $id deleted.";
20
-		break;
16
+		case 1:
17
+			$id = (int) $_GET['col_id'];
18
+			(new Regexes(['Settings' => $admin->settings]))->deleteRegex($id);
19
+			print "Regex $id deleted.";
20
+			break;
21 21
 
22
-	case 2:
23
-		$id = (int) $_GET['bin_id'];
24
-		(new Binaries(['Settings' => $admin->settings]))->deleteBlacklist($id);
25
-		print "Blacklist $id deleted.";
26
-		break;
22
+		case 2:
23
+			$id = (int) $_GET['bin_id'];
24
+			(new Binaries(['Settings' => $admin->settings]))->deleteBlacklist($id);
25
+			print "Blacklist $id deleted.";
26
+			break;
27 27
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,15 +12,15 @@
 block discarded – undo
12 12
 	exit();
13 13
 }
14 14
 
15
-switch($_GET['action']) {
15
+switch ($_GET['action']) {
16 16
 	case 1:
17
-		$id = (int) $_GET['col_id'];
17
+		$id = (int)$_GET['col_id'];
18 18
 		(new Regexes(['Settings' => $admin->settings]))->deleteRegex($id);
19 19
 		print "Regex $id deleted.";
20 20
 		break;
21 21
 
22 22
 	case 2:
23
-		$id = (int) $_GET['bin_id'];
23
+		$id = (int)$_GET['bin_id'];
24 24
 		(new Binaries(['Settings' => $admin->settings]))->deleteBlacklist($id);
25 25
 		print "Blacklist $id deleted.";
26 26
 		break;
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,12 +16,12 @@
 block discarded – undo
16 16
 	case 1:
17 17
 		$id = (int) $_GET['col_id'];
18 18
 		(new Regexes(['Settings' => $admin->settings]))->deleteRegex($id);
19
-		print "Regex $id deleted.";
19
+		print "regex $id deleted.";
20 20
 		break;
21 21
 
22 22
 	case 2:
23 23
 		$id = (int) $_GET['bin_id'];
24 24
 		(new Binaries(['Settings' => $admin->settings]))->deleteBlacklist($id);
25
-		print "Blacklist $id deleted.";
25
+		print "blacklist $id deleted.";
26 26
 		break;
27 27
 }
Please login to merge, or discard this patch.
www/admin/category-list.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 $page->title = "Category List";
13 13
 
14 14
 $categorylist = $category->getFlat();
15
-$page->smarty->assign('categorylist',$categorylist);
15
+$page->smarty->assign('categorylist', $categorylist);
16 16
 
17 17
 $page->content = $page->smarty->fetch('category-list.tpl');
18 18
 $page->render();
Please login to merge, or discard this patch.
www/admin/category-edit.php 3 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@  discard block
 block discarded – undo
14 14
 
15 15
 switch($action)
16 16
 {
17
-    case 'submit':
17
+	case 'submit':
18 18
 		$ret = $category->update($_POST["id"], $_POST["status"], $_POST["description"],
19 19
 			$_POST["disablepreview"], $_POST["minsizetoformrelease"], $_POST["maxsizetoformrelease"]);
20 20
 		header("Location:".WWW_TOP."/category-list.php");
21 21
 		break;
22
-    case 'view':
23
-    default:
22
+	case 'view':
23
+	default:
24 24
 
25 25
 			if (isset($_GET["id"]))
26 26
 			{
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 				$page->smarty->assign('category', $cat);
33 33
 			}
34 34
 
35
-      break;
35
+	  break;
36 36
 }
37 37
 
38 38
 $page->smarty->assign('status_ids', array(Category::STATUS_ACTIVE,Category::STATUS_INACTIVE));
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,12 +12,12 @@  discard block
 block discarded – undo
12 12
 // set the current action
13 13
 $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : 'view';
14 14
 
15
-switch($action)
15
+switch ($action)
16 16
 {
17 17
     case 'submit':
18 18
 		$ret = $category->update($_POST["id"], $_POST["status"], $_POST["description"],
19 19
 			$_POST["disablepreview"], $_POST["minsizetoformrelease"], $_POST["maxsizetoformrelease"]);
20
-		header("Location:".WWW_TOP."/category-list.php");
20
+		header("Location:" . WWW_TOP . "/category-list.php");
21 21
 		break;
22 22
     case 'view':
23 23
     default:
@@ -35,8 +35,8 @@  discard block
 block discarded – undo
35 35
       break;
36 36
 }
37 37
 
38
-$page->smarty->assign('status_ids', array(Category::STATUS_ACTIVE,Category::STATUS_INACTIVE));
39
-$page->smarty->assign('status_names', array( 'Yes', 'No'));
38
+$page->smarty->assign('status_ids', array(Category::STATUS_ACTIVE, Category::STATUS_INACTIVE));
39
+$page->smarty->assign('status_names', array('Yes', 'No'));
40 40
 
41 41
 $page->content = $page->smarty->fetch('category-edit.tpl');
42 42
 $page->render();
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,8 +12,7 @@  discard block
 block discarded – undo
12 12
 // set the current action
13 13
 $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : 'view';
14 14
 
15
-switch($action)
16
-{
15
+switch($action) {
17 16
     case 'submit':
18 17
 		$ret = $category->update($_POST["id"], $_POST["status"], $_POST["description"],
19 18
 			$_POST["disablepreview"], $_POST["minsizetoformrelease"], $_POST["maxsizetoformrelease"]);
@@ -22,8 +21,7 @@  discard block
 block discarded – undo
22 21
     case 'view':
23 22
     default:
24 23
 
25
-			if (isset($_GET["id"]))
26
-			{
24
+			if (isset($_GET["id"])) {
27 25
 				$page->title = "Category Edit";
28 26
 				$id = $_GET["id"];
29 27
 
Please login to merge, or discard this patch.
www/admin/group-list-inactive.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -17,19 +17,19 @@
 block discarded – undo
17 17
 $offset = isset($_REQUEST["offset"]) ? $_REQUEST["offset"] : 0;
18 18
 $groupname = (isset($_REQUEST['groupname']) && !empty($_REQUEST['groupname'])) ? $_REQUEST['groupname'] : '';
19 19
 
20
-$page->smarty->assign('groupname',$groupname);
21
-$page->smarty->assign('pagertotalitems',$groupcount);
22
-$page->smarty->assign('pageroffset',$offset);
23
-$page->smarty->assign('pageritemsperpage',ITEMS_PER_PAGE);
20
+$page->smarty->assign('groupname', $groupname);
21
+$page->smarty->assign('pagertotalitems', $groupcount);
22
+$page->smarty->assign('pageroffset', $offset);
23
+$page->smarty->assign('pageritemsperpage', ITEMS_PER_PAGE);
24 24
 
25
-$groupsearch = ($gname != "") ? 'groupname='.$gname.'&' : '';
26
-$page->smarty->assign('pagerquerybase', WWW_TOP."/group-list-inactive.php?".$groupsearch."offset=");
25
+$groupsearch = ($gname != "") ? 'groupname=' . $gname . '&' : '';
26
+$page->smarty->assign('pagerquerybase', WWW_TOP . "/group-list-inactive.php?" . $groupsearch . "offset=");
27 27
 $pager = $page->smarty->fetch("pager.tpl");
28 28
 $page->smarty->assign('pager', $pager);
29 29
 
30 30
 $grouplist = $groups->getRange($offset, ITEMS_PER_PAGE, $gname, 0);
31 31
 
32
-$page->smarty->assign('grouplist',$grouplist);
32
+$page->smarty->assign('grouplist', $grouplist);
33 33
 
34 34
 $page->title = "Group List";
35 35
 
Please login to merge, or discard this patch.