Subversion Repositories wpShopGermany4

Rev

Rev 4943 | Go to most recent revision | 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 __('Statistik', '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_statistics]" value="0" />
4227 daniel 15
		<input type="checkbox" <?php echo (($r['capabilities']['wpsg_statistics'] == "1")?'checked="checked"':''); ?> name="wpsg_cap[<?php echo $role_key; ?>][wpsg_statistics]" value="1" />
1454 daniel 16
	</td>
17
	<?php } ?>
18
	<td></td>
19
</tr>