Subversion Repositories wpShopGermany4

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7209 thomas 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 __('Kundengruppen', '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_customergroup]" value="0" />
15
		<input type="checkbox" <?php echo ((isset($r['capabilities']['wpsg_customergroup']) && $r['capabilities']['wpsg_customergroup'] == "1")?'checked="checked"':''); ?> name="wpsg_cap[<?php echo $role_key; ?>][wpsg_customergroup]" value="1" />
16
	</td>
17
	<?php } ?>
18
	<td></td>
19
</tr>