get_string( 'no' ), 1 => get_string( 'yes' )); $yesnoonly = array( 0 => get_string( 'no' ), 1 => get_string( 'yes' ), 2 => get_string( 'only', 'block_my_peers' ) ); $biglittle = array( 16 => get_string( 'reallylittle', 'block_my_peers'),36 => get_string( 'little', 'block_my_peers'), 50 => get_string( 'notsobig', 'block_my_peers'), 100 => get_string( 'big', 'block_my_peers')); $usehtmleditor = can_use_html_editor(); $context = get_context_instance(CONTEXT_BLOCK, $this->instance->id); $assignableroles = get_assignable_roles($context); ?>
get_param('block_my_peers_admin_blabla') ); ?> | |
"; foreach($assignableroles as $role) { print " | $role | "; } print "
$role | "; foreach($assignableroles2 as $role2_id => $role2) { if (isset($block_my_peers_role_to_display[$role_id][$role2_id])) { $checked = 'checked'; } else { $checked = ''; } $var = "block_my_peers_role_to_display[$role_id][$role2_id]"; print ''; } print " |