Rev 4943 |
Details |
Compare with Previous |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
1454 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für die Integration in die Verwaltung der Berechtigungen
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
global $wpdb; $arRoles = get_option($wpdb->prefix."user_roles");
|
|
|
8 |
|
|
|
9 |
?>
|
|
|
10 |
<tr>
|
|
|
11 |
<td class="wpsg_col_capname"><?php echo __('Gutscheinverwaltung', 'wpsg'); ?></td>
|
|
|
12 |
<?php foreach ($arRoles as $role_key => $r) { ?>
|
|
|
13 |
<td class="wpsg_col_cap">
|
|
|
14 |
<input type="hidden" name="wpsg_cap[<?php echo $role_key; ?>][wpsg_voucher]" value="0" />
|
4148 |
thomas |
15 |
<input type="checkbox" <?php echo ((isset($r['capabilities']['wpsg_voucher']) && $r['capabilities']['wpsg_voucher'] == "1")?'checked="checked"':''); ?> name="wpsg_cap[<?php echo $role_key; ?>][wpsg_voucher]" value="1" />
|
1454 |
daniel |
16 |
</td>
|
|
|
17 |
<?php } ?>
|
|
|
18 |
<td></td>
|
|
|
19 |
</tr>
|