option for users to disable others avatars

main
hecht 10 years ago
parent 0279d6a99e
commit cda12dd355

@ -219,14 +219,14 @@ function display($user, $usergroups){
<td><?php <td><?php
$data = getUserMetaData($user['id']); $data = getUserMetaData($user['id']);
if($data['hide_avatars'] == 1) { if($data['hide_avatars'] == 1) {
$che1 = 'checked="checked"';
$che2 = '';
} else{
$che1 = ''; $che1 = '';
$che2 = 'checked="checked"'; $che2 = 'checked="checked"';
} else{
$che1 = 'checked="checked"';
$che2 = '';
} }
?> an: <input type="radio" name="chat" value="0" <?php echo $che1; ?> /> ?> an: <input type="radio" name="hide_avatars" value="0" <?php echo $che1; ?> />
aus: <input type="radio" name="chat" value="1" <?php echo $che2; ?> /> aus: <input type="radio" name="hide_avatars" value="1" <?php echo $che2; ?> />
</td> </td>
</tr> </tr>
<tr> <tr>

Loading…
Cancel
Save