blob: f843da96fbdada0a0986e093fb2d9b108e6943ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
/**
* Template für die Integration in die Verwaltung der Berechtigungen
* @version 4.6.1
*/
global $wpdb; $arRoles = get_option($wpdb->prefix."user_roles");
?>
<tr>
<td class="wpsg_col_capname"><?php echo __('Aboverwaltung', 'wpsg'); ?></td>
<?php foreach ($arRoles as $role_key => $r) { ?>
<td class="wpsg_col_cap">
<input type="hidden" name="wpsg_cap[<?php echo $role_key; ?>][wpsg_abo]" value="0" />
<input type="checkbox" <?php echo ((isset($r['capabilities']['wpsg_abo']) && $r['capabilities']['wpsg_abo'] == "1")?'checked="checked"':''); ?> name="wpsg_cap[<?php echo $role_key; ?>][wpsg_abo]" value="1" />
</td>
<?php } ?>
<td></td>
</tr>
|