Line 10... |
Line 10... |
10 |
<tr>
|
10 |
<tr>
|
11 |
<td class="wpsg_col_capname"><?php echo __('Statistik', 'wpsg'); ?></td>
|
11 |
<td class="wpsg_col_capname"><?php echo __('Statistik', 'wpsg'); ?></td>
|
12 |
<?php foreach ($arRoles as $role_key => $r) { ?>
|
12 |
<?php foreach ($arRoles as $role_key => $r) { ?>
|
13 |
<td class="wpsg_col_cap">
|
13 |
<td class="wpsg_col_cap">
|
14 |
<input type="hidden" name="wpsg_cap[<?php echo $role_key; ?>][wpsg_statistics]" value="0" />
|
14 |
<input type="hidden" name="wpsg_cap[<?php echo $role_key; ?>][wpsg_statistics]" value="0" />
|
15 |
<input type="checkbox" <?php echo (($r['capabilities']['wpsg_statistics'] == "1")?'checked="checked"':''); ?> name="wpsg_cap[<?php echo $role_key; ?>][wpsg_statistics]" value="1" />
|
15 |
<input type="checkbox" <?php echo ((isset($r['capabilities']['wpsg_statistics']))?'checked="checked"':''); ?> name="wpsg_cap[<?php echo $role_key; ?>][wpsg_statistics]" value="1" />
|
16 |
</td>
|
16 |
</td>
|
17 |
<?php } ?>
|
17 |
<?php } ?>
|
18 |
<td></td>
|
18 |
<td></td>
|
19 |
</tr>
|
19 |
</tr>
|
20 |
|
20 |
|