#61 Fix user settings page , undefined index PHP 7.2

Open
Stortebeker wants to merge 4 commits from Stortebeker/Gazelle:master into master

+ 0
- 0
classes/artist.class.php View File


+ 0
- 0
classes/artists.class.php View File


+ 23
- 14
classes/autoenable.class.php View File

11
     const CACHE_KEY_NAME = 'num_enable_requests';
11
     const CACHE_KEY_NAME = 'num_enable_requests';
12
 
12
 
13
     // The default request rejected message
13
     // The default request rejected message
14
-    const REJECTED_MESSAGE = "Your request to re-enable your account has been rejected.<br />This may be because a request is already pending for your username, or because a recent request was denied.<br /><br />You are encouraged to discuss this with staff by visiting %s on %s";
14
+    const REJECTED_MESSAGE = "Your request to re-enable your account has been rejected.<br>This may be because a request is already pending for your username, or because a recent request was denied.<br><br>You are encouraged to discuss this with staff by visiting %s on %s";
15
 
15
 
16
     // The default request received message
16
     // The default request received message
17
-    const RECEIVED_MESSAGE = "Your request to re-enable your account has been received. You can expect a reply message in your email within 48 hours.<br />If you do not receive an email after 48 hours have passed, please visit us on IRC for assistance.";
17
+    const RECEIVED_MESSAGE = "Your request to re-enable your account has been received. Most requests are responded to within minutes. Remember to check your spam.<br>If you do not receive an email after 48 hours have passed, please visit us on IRC for assistance.";
18
 
18
 
19
     /**
19
     /**
20
      * Handle a new enable request
20
      * Handle a new enable request
31
 
31
 
32
         // Get the user's ID
32
         // Get the user's ID
33
         G::$DB->query("
33
         G::$DB->query("
34
-                SELECT um.ID
34
+                SELECT um.ID, ui.BanReason
35
                 FROM users_main AS um
35
                 FROM users_main AS um
36
                 JOIN users_info ui ON ui.UserID = um.ID
36
                 JOIN users_info ui ON ui.UserID = um.ID
37
                 WHERE um.Username = '$Username'
37
                 WHERE um.Username = '$Username'
39
 
39
 
40
         if (G::$DB->has_results()) {
40
         if (G::$DB->has_results()) {
41
             // Make sure the user can make another request
41
             // Make sure the user can make another request
42
-            list($UserID) = G::$DB->next_record();
42
+            list($UserID, $BanReason) = G::$DB->next_record();
43
             G::$DB->query("
43
             G::$DB->query("
44
             SELECT 1 FROM users_enable_requests
44
             SELECT 1 FROM users_enable_requests
45
             WHERE UserID = '$UserID'
45
             WHERE UserID = '$UserID'
51
                     OR
51
                     OR
52
                     (
52
                     (
53
                       Timestamp > NOW() - INTERVAL 2 MONTH
53
                       Timestamp > NOW() - INTERVAL 2 MONTH
54
-                        AND
55
-                          (Outcome = '".self::DENIED."'
56
-                             OR Outcome = '".self::DISCARDED."')
54
+                      AND
55
+                      Outcome = '".self::DENIED."'
57
                     )
56
                     )
58
                   )");
57
                   )");
59
         }
58
         }
75
                 (UserID, Email, IP, UserAgent, Timestamp)
74
                 (UserID, Email, IP, UserAgent, Timestamp)
76
                 VALUES (?, ?, ?, ?, NOW())",
75
                 VALUES (?, ?, ?, ?, NOW())",
77
                 $UserID, Crypto::encrypt($Email), Crypto::encrypt($IP), $UserAgent);
76
                 $UserID, Crypto::encrypt($Email), Crypto::encrypt($IP), $UserAgent);
77
+            $RequestID = G::$DB->inserted_id();
78
 
78
 
79
             // Cache the number of requests for the modbar
79
             // Cache the number of requests for the modbar
80
             G::$Cache->increment_value(self::CACHE_KEY_NAME);
80
             G::$Cache->increment_value(self::CACHE_KEY_NAME);
81
             setcookie('username', '', time() - 60 * 60, '/', '', false);
81
             setcookie('username', '', time() - 60 * 60, '/', '', false);
82
             $Output = self::RECEIVED_MESSAGE;
82
             $Output = self::RECEIVED_MESSAGE;
83
             Tools::update_user_notes($UserID, sqltime() . " - Enable request " . G::$DB->inserted_id() . " received from $IP\n\n");
83
             Tools::update_user_notes($UserID, sqltime() . " - Enable request " . G::$DB->inserted_id() . " received from $IP\n\n");
84
+            if ($BanReason == 3) {
85
+              //self::handle_requests([$RequestID], self::APPROVED, "Automatically approved (inactivity)");
86
+            }
84
         }
87
         }
85
 
88
 
86
         return $Output;
89
         return $Output;
140
                     $Token = db_string(Users::make_secret());
143
                     $Token = db_string(Users::make_secret());
141
                     G::$DB->query("
144
                     G::$DB->query("
142
                         UPDATE users_enable_requests
145
                         UPDATE users_enable_requests
143
-                        SET Token = '$Token'
144
-                        WHERE ID = '$ID'");
146
+                        SET Token = ?
147
+                        WHERE ID = ?", $Token, $ID);
145
                     $TPL->set('TOKEN', $Token);
148
                     $TPL->set('TOKEN', $Token);
146
                 }
149
                 }
147
 
150
 
159
         }
162
         }
160
 
163
 
161
         // User notes stuff
164
         // User notes stuff
165
+        $StaffID = G::$LoggedUser['ID'] ?? 0;
162
         G::$DB->query("
166
         G::$DB->query("
163
             SELECT Username
167
             SELECT Username
164
             FROM users_main
168
             FROM users_main
165
-            WHERE ID = '" . G::$LoggedUser['ID'] . "'");
166
-        list($StaffUser) = G::$DB->next_record();
169
+            WHERE ID = ?", $StaffID);
170
+        if (G::$DB->has_results()) {
171
+          list($StaffUser) = G::$DB->next_record();
172
+        } else {
173
+          $StaffUser = "System";
174
+          $StaffID = 0;
175
+        }
167
 
176
 
168
         foreach ($UserInfo as $User) {
177
         foreach ($UserInfo as $User) {
169
             list($ID, $UserID) = $User;
178
             list($ID, $UserID) = $User;
176
         G::$DB->query("
185
         G::$DB->query("
177
                 UPDATE users_enable_requests
186
                 UPDATE users_enable_requests
178
                 SET HandledTimestamp = NOW(),
187
                 SET HandledTimestamp = NOW(),
179
-                    CheckedBy = '".G::$LoggedUser['ID']."',
180
-                    Outcome = '$Status'
181
-                WHERE ID IN (".implode(',', $IDs).")");
188
+                    CheckedBy = ?,
189
+                    Outcome = ?
190
+                WHERE ID IN (".implode(',', $IDs).")", $StaffID, $Status);
182
         G::$Cache->decrement_value(self::CACHE_KEY_NAME, count($IDs));
191
         G::$Cache->decrement_value(self::CACHE_KEY_NAME, count($IDs));
183
     }
192
     }
184
 
193
 

+ 0
- 0
classes/badges.class.php View File


+ 0
- 0
classes/bencode.class.php View File


+ 1
- 1
classes/irc.class.php View File

106
 
106
 
107
   protected function get_word($Select = 1) {
107
   protected function get_word($Select = 1) {
108
     preg_match('/:.+ PRIVMSG [^:]+ :(.+)/', $this->Data, $Word);
108
     preg_match('/:.+ PRIVMSG [^:]+ :(.+)/', $this->Data, $Word);
109
-    $Word = split(' ', $Word[1]);
109
+    $Word = preg_split(' ', $Word[1]);
110
     return trim($Word[$Select]);
110
     return trim($Word[$Select]);
111
   }
111
   }
112
 
112
 

+ 1
- 1
classes/tools.class.php View File

296
   */
296
   */
297
   public static function check_cidr_range($CheckIP, $Subnet) {
297
   public static function check_cidr_range($CheckIP, $Subnet) {
298
     $IP = ip2long($CheckIP);
298
     $IP = ip2long($CheckIP);
299
-    $CIDR = split('/', $Subnet);
299
+    $CIDR = preg_split('/', $Subnet);
300
     $SubnetIP = ip2long($CIDR[0]);
300
     $SubnetIP = ip2long($CIDR[0]);
301
     $SubnetMaskBits = 32 - $CIDR[1];
301
     $SubnetMaskBits = 32 - $CIDR[1];
302
 
302
 

+ 27
- 27
sections/user/edit.php View File

207
         <td>
207
         <td>
208
           <ul class="options_list nobullet">
208
           <ul class="options_list nobullet">
209
             <li>
209
             <li>
210
-              <input type="radio" name="searchtype" id="search_type_simple" value="0"<?=$SiteOptions['SearchType'] == 0 ? ' checked="checked"' : ''?> />
210
+              <input type="radio" name="searchtype" id="search_type_simple" value="0"<?=$SiteOptions  ?? 'SearchType' == 0 ? ' checked="checked"' : ''?> />
211
               <label for="search_type_simple">Simple</label>
211
               <label for="search_type_simple">Simple</label>
212
             </li>
212
             </li>
213
             <li>
213
             <li>
214
-              <input type="radio" name="searchtype" id="search_type_advanced" value="1"<?=$SiteOptions['SearchType'] == 1 ? ' checked="checked"' : ''?> />
214
+              <input type="radio" name="searchtype" id="search_type_advanced" value="1"<?=$SiteOptions ?? 'SearchType' == 1 ? ' checked="checked"' : ''?> />
215
               <label for="search_type_advanced">Advanced</label>
215
               <label for="search_type_advanced">Advanced</label>
216
             </li>
216
             </li>
217
           </ul>
217
           </ul>
222
         <td class="label tooltip" title="Enabling torrent grouping will place multiple formats of the same torrent group together beneath a common header."><strong>Torrent grouping</strong></td>
222
         <td class="label tooltip" title="Enabling torrent grouping will place multiple formats of the same torrent group together beneath a common header."><strong>Torrent grouping</strong></td>
223
         <td>
223
         <td>
224
           <div class="option_group">
224
           <div class="option_group">
225
-            <input type="checkbox" name="disablegrouping" id="disablegrouping"<?=$SiteOptions['DisableGrouping2'] == 0 ? ' checked="checked"' : ''?> />
225
+            <input type="checkbox" name="disablegrouping" id="disablegrouping"<?=$SiteOptions ?? 'DisableGrouping2' == 0 ? ' checked="checked"' : ''?> />
226
             <label for="disablegrouping">Enable torrent grouping</label>
226
             <label for="disablegrouping">Enable torrent grouping</label>
227
           </div>
227
           </div>
228
         </td>
228
         </td>
233
           <div class="option_group">
233
           <div class="option_group">
234
             <ul class="options_list nobullet">
234
             <ul class="options_list nobullet">
235
               <li>
235
               <li>
236
-                <input type="radio" name="torrentgrouping" id="torrent_grouping_open" value="0"<?=$SiteOptions['TorrentGrouping'] == 0 ? ' checked="checked"' : ''?> />
236
+                <input type="radio" name="torrentgrouping" id="torrent_grouping_open" value="0"<?=$SiteOptions ?? 'TorrentGrouping' == 0 ? ' checked="checked"' : ''?> />
237
                 <label for="torrent_grouping_open">Open</label>
237
                 <label for="torrent_grouping_open">Open</label>
238
               </li>
238
               </li>
239
               <li>
239
               <li>
240
-                <input type="radio" name="torrentgrouping" id="torrent_grouping_closed" value="1"<?=$SiteOptions['TorrentGrouping'] == 1 ? ' checked="checked"' : ''?> />
240
+                <input type="radio" name="torrentgrouping" id="torrent_grouping_closed" value="1"<?=$SiteOptions ?? 'TorrentGrouping' == 1 ? ' checked="checked"' : ''?> />
241
                 <label for="torrent_grouping_closed">Closed</label>
241
                 <label for="torrent_grouping_closed">Closed</label>
242
               </li>
242
               </li>
243
             </ul>
243
             </ul>
247
       <tr id="tor_snatched_tr">
247
       <tr id="tor_snatched_tr">
248
         <td class="label tooltip" title="Enabling the snatched torrents indicator will display &quot;Snatched!&quot; next to torrents you've snatched."><strong>Snatched torrents indicator</strong></td>
248
         <td class="label tooltip" title="Enabling the snatched torrents indicator will display &quot;Snatched!&quot; next to torrents you've snatched."><strong>Snatched torrents indicator</strong></td>
249
         <td>
249
         <td>
250
-          <input type="checkbox" name="showsnatched" id="showsnatched"<?=!empty($SiteOptions['ShowSnatched']) ? ' checked="checked"' : ''?> />
250
+          <input type="checkbox" name="showsnatched" id="showsnatched"<?=!empty($SiteOptions ?? 'ShowSnatched') ? ' checked="checked"' : ''?> />
251
           <label for="showsnatched">Enable snatched torrents indicator</label>
251
           <label for="showsnatched">Enable snatched torrents indicator</label>
252
         </td>
252
         </td>
253
       </tr>
253
       </tr>
254
       <tr id="tor_magnet_tr">
254
       <tr id="tor_magnet_tr">
255
         <td class="label tooltip" title="Magnet links should only be used on clients with DHT disabled globally"><strong>Magnet links</strong></td>
255
         <td class="label tooltip" title="Magnet links should only be used on clients with DHT disabled globally"><strong>Magnet links</strong></td>
256
         <td>
256
         <td>
257
-          <input type="checkbox" name="showmagnets" id="showmagnets"<?=!empty($SiteOptions['ShowMagnets']) ? ' checked="checked"' : '' ?> />
257
+          <input type="checkbox" name="showmagnets" id="showmagnets"<?=!empty($SiteOptions ?? 'ShowMagnets') ? ' checked="checked"' : '' ?> />
258
           <label for="showmagnets">Show magnet links</label>
258
           <label for="showmagnets">Show magnet links</label>
259
         </td>
259
         </td>
260
       </tr>
260
       </tr>
275
           <ul class="options_list nobullet">
275
           <ul class="options_list nobullet">
276
             <li>
276
             <li>
277
               <input type="hidden" name="coverart" value="" />
277
               <input type="hidden" name="coverart" value="" />
278
-              <input type="checkbox" name="coverart" id="coverart"<?=!isset($SiteOptions['CoverArt']) || $SiteOptions['CoverArt'] ? ' checked="checked"' : ''?> />
278
+              <input type="checkbox" name="coverart" id="coverart"<?=!isset($SiteOptions['CoverArt']) || $SiteOptions ?? 'CoverArt' ? ' checked="checked"' : ''?> />
279
               <label for="coverart">Enable cover artwork</label>
279
               <label for="coverart">Enable cover artwork</label>
280
             </li>
280
             </li>
281
             <li>
281
             <li>
282
-              <input type="checkbox" name="show_extra_covers" id="show_extra_covers"<?=$SiteOptions['ShowExtraCovers'] ? ' checked="checked"' : ''?> />
282
+              <input type="checkbox" name="show_extra_covers" id="show_extra_covers"<?=$SiteOptions ?? 'ShowExtraCovers' ? ' checked="checked"' : ''?> />
283
               <label for="show_extra_covers">Enable additional cover artwork</label>
283
               <label for="show_extra_covers">Enable additional cover artwork</label>
284
             </li>
284
             </li>
285
           </ul>
285
           </ul>
289
         <td class="label tooltip" title="This option allows you to change the number of album covers to display within a single collection page."><strong>Cover art (collections)</strong></td>
289
         <td class="label tooltip" title="This option allows you to change the number of album covers to display within a single collection page."><strong>Cover art (collections)</strong></td>
290
         <td>
290
         <td>
291
           <select name="collagecovers" id="collagecovers">
291
           <select name="collagecovers" id="collagecovers">
292
-            <option value="10"<?=$SiteOptions['CollageCovers'] == 10 ? ' selected="selected"' : ''?>>10</option>
293
-            <option value="25"<?=($SiteOptions['CollageCovers'] == 25 || !isset($SiteOptions['CollageCovers'])) ? ' selected="selected"' : ''?>>25 (default)</option>
294
-            <option value="50"<?=$SiteOptions['CollageCovers'] == 50 ? ' selected="selected"' : ''?>>50</option>
295
-            <option value="100"<?=$SiteOptions['CollageCovers'] == 100 ? ' selected="selected"' : ''?>>100</option>
296
-            <option value="1000000"<?=$SiteOptions['CollageCovers'] == 1000000 ? ' selected="selected"' : ''?>>All</option>
297
-            <option value="0"<?=($SiteOptions['CollageCovers'] === 0 || (!isset($SiteOptions['CollageCovers']) && $SiteOptions['HideCollage'])) ? ' selected="selected"' : ''?>>None</option>
292
+            <option value="10"<?=$SiteOptions ?? 'CollageCovers' == 10 ? ' selected="selected"' : ''?>>10</option>
293
+            <option value="25"<?=($SiteOptions ?? 'CollageCovers' == 25 || !isset($SiteOptions['CollageCovers'])) ? ' selected="selected"' : ''?>>25 (default)</option>
294
+            <option value="50"<?=$SiteOptions ?? 'CollageCovers' == 50 ? ' selected="selected"' : ''?>>50</option>
295
+            <option value="100"<?=$SiteOptions ?? 'CollageCovers' == 100 ? ' selected="selected"' : ''?>>100</option>
296
+            <option value="1000000"<?=$SiteOptions ?? 'CollageCovers' == 1000000 ? ' selected="selected"' : ''?>>All</option>
297
+            <option value="0"<?=($SiteOptions ?? 'CollageCovers' === 0 || (!isset($SiteOptions['CollageCovers']) && $SiteOptions['HideCollage'])) ? ' selected="selected"' : ''?>>None</option>
298
           </select>
298
           </select>
299
           covers per page
299
           covers per page
300
         </td>
300
         </td>
318
         <td class="label tooltip" title="Autocomplete will try to predict the word or phrase that you're typing. Selecting &quot;Everywhere&quot; will enable autocomplete on artist and tag fields across the site. Selecting &quot;Searches only&quot; will enable autocomplete in searches."><strong>Autocompletion</strong></td>
318
         <td class="label tooltip" title="Autocomplete will try to predict the word or phrase that you're typing. Selecting &quot;Everywhere&quot; will enable autocomplete on artist and tag fields across the site. Selecting &quot;Searches only&quot; will enable autocomplete in searches."><strong>Autocompletion</strong></td>
319
         <td>
319
         <td>
320
           <select name="autocomplete">
320
           <select name="autocomplete">
321
-            <option value="0"<?=empty($SiteOptions['AutoComplete']) ? ' selected="selected"' : ''?>>Everywhere</option>
322
-            <option value="2"<?=$SiteOptions['AutoComplete'] === 2 ? ' selected="selected"' : ''?>>Searches only</option>
323
-            <option value="1"<?=$SiteOptions['AutoComplete'] === 1 ? ' selected="selected"' : ''?>>Disable</option>
321
+            <option value="0"<?=empty($SiteOptions ?? 'AutoComplete') ? ' selected="selected"' : ''?>>Everywhere</option>
322
+            <option value="2"<?=$SiteOptions ?? 'AutoComplete' === 2 ? ' selected="selected"' : ''?>>Searches only</option>
323
+            <option value="1"<?=$SiteOptions ?? 'AutoComplete' === 1 ? ' selected="selected"' : ''?>>Disable</option>
324
           </select>
324
           </select>
325
         </td>
325
         </td>
326
       </tr>
326
       </tr>
329
         <td>
329
         <td>
330
           <ul class="nobullet">
330
           <ul class="nobullet">
331
             <li>
331
             <li>
332
-              <input type="checkbox" name="hide_lolicon" id="hide_lolicon"<?=($SiteOptions['HideLolicon']) ? ' checked="checked"' : ''?> />
332
+              <input type="checkbox" name="hide_lolicon" id="hide_lolicon"<?=($SiteOptions ?? 'HideLolicon') ? ' checked="checked"' : ''?> />
333
               <label for="hide_lolicon">Hide results with Lolicon, Shotacon, or Toddlercon</label>
333
               <label for="hide_lolicon">Hide results with Lolicon, Shotacon, or Toddlercon</label>
334
             </li>
334
             </li>
335
             <li>
335
             <li>
336
-              <input type="checkbox" name="hide_scat" id="hide_scat"<?=($SiteOptions['HideScat']) ? ' checked="checked"' : ''?> />
336
+              <input type="checkbox" name="hide_scat" id="hide_scat"<?=($SiteOptions ?? 'HideScat') ? ' checked="checked"' : ''?> />
337
               <label for="hide_scat">Hide results with Scat</label>
337
               <label for="hide_scat">Hide results with Scat</label>
338
             </li>
338
             </li>
339
             <li>
339
             <li>
340
-              <input type="checkbox" name="hide_snuff" id="hide_snuff"<?=($SiteOptions['HideSnuff']) ? ' checked="checked"' : ''?> />
340
+              <input type="checkbox" name="hide_snuff" id="hide_snuff"<?=($SiteOptions ?? 'HideSnuff') ? ' checked="checked"' : ''?> />
341
               <label for="hide_snuff">Hide results with Snuff</label>
341
               <label for="hide_snuff">Hide results with Snuff</label>
342
             </li>
342
             </li>
343
           </ul>
343
           </ul>
354
         <td class="label tooltip" title="This option allows you to set the desired number of displayed posts per page within forum threads."><strong>Posts per page (forums)</strong></td>
354
         <td class="label tooltip" title="This option allows you to set the desired number of displayed posts per page within forum threads."><strong>Posts per page (forums)</strong></td>
355
         <td>
355
         <td>
356
           <select name="postsperpage" id="postsperpage">
356
           <select name="postsperpage" id="postsperpage">
357
-            <option value="25"<?=$SiteOptions['PostsPerPage'] == 25 ? ' selected="selected"' : ''?>>25 (default)</option>
358
-            <option value="50"<?=$SiteOptions['PostsPerPage'] == 50 ? ' selected="selected"' : ''?>>50</option>
359
-            <option value="100"<?=$SiteOptions['PostsPerPage'] == 100 ? ' selected="selected"' : ''?>>100</option>
357
+            <option value="25"<?=$SiteOptions ?? 'PostsPerPage' == 25 ? ' selected="selected"' : ''?>>25 (default)</option>
358
+            <option value="50"<?=$SiteOptions ?? 'PostsPerPage' == 50 ? ' selected="selected"' : ''?>>50</option>
359
+            <option value="100"<?=$SiteOptions ?? 'PostsPerPage' == 100 ? ' selected="selected"' : ''?>>100</option>
360
           </select>
360
           </select>
361
           posts per page
361
           posts per page
362
         </td>
362
         </td>
371
       <tr id="comm_emot_tr">
371
       <tr id="comm_emot_tr">
372
         <td class="label tooltip" title="Emoticons are small images which replace traditional text-based &quot;smileys&quot; like :) or :("><strong>Emoticons</strong></td>
372
         <td class="label tooltip" title="Emoticons are small images which replace traditional text-based &quot;smileys&quot; like :) or :("><strong>Emoticons</strong></td>
373
         <td>
373
         <td>
374
-          <input type="checkbox" name="disablesmileys" id="disablesmileys"<?=!empty($SiteOptions['DisableSmileys']) ? ' checked="checked"' : ''?> />
374
+          <input type="checkbox" name="disablesmileys" id="disablesmileys"<?=!empty($SiteOptions ?? 'DisableSmileys') ? ' checked="checked"' : ''?> />
375
           <label for="disablesmileys">Disable emoticons</label>
375
           <label for="disablesmileys">Disable emoticons</label>
376
         </td>
376
         </td>
377
       </tr>
377
       </tr>
379
         <td class="label tooltip" title="This option allows you to disable all avatars or show all avatars with a placeholder for users without avatars." data-title-plain="This option allows you to disable all avatars or show all avatars with a placeholder for users without avatars."><strong>Avatar display (posts)</strong></td>
379
         <td class="label tooltip" title="This option allows you to disable all avatars or show all avatars with a placeholder for users without avatars." data-title-plain="This option allows you to disable all avatars or show all avatars with a placeholder for users without avatars."><strong>Avatar display (posts)</strong></td>
380
         <td>
380
         <td>
381
           <select name="disableavatars" id="disableavatars">
381
           <select name="disableavatars" id="disableavatars">
382
-            <option value="1"<?=$SiteOptions['DisableAvatars'] == 1 ? ' selected="selected"' : ''?>>Disable avatars</option>
383
-            <option value="0"<?=$SiteOptions['DisableAvatars'] == 0 ? ' selected="selected"' : ''?>>Show avatars</option>
382
+            <option value="1"<?=$SiteOptions ?? 'DisableAvatars' == 1 ? ' selected="selected"' : ''?>>Disable avatars</option>
383
+            <option value="0"<?=$SiteOptions ?? 'DisableAvatars' == 0 ? ' selected="selected"' : ''?>>Show avatars</option>
384
           </select>
384
           </select>
385
         </td>
385
         </td>
386
       </tr>
386
       </tr>

Loading…
Cancel
Save