Changeset 404 for branches/Ver2.1/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php
- Timestamp:
- Oct 15, 2009, 5:46:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver2.1/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php
r402 r404 417 417 } 418 418 419 function groupe_role_option( ){419 function groupe_role_option($disible=false){ 420 420 global $wp_roles , $xoops_db; 421 421 422 if ($disible) $disible_str = ' disabled="disabled"'; else $disible_str = ''; 422 423 $form = ''; 423 424 $form .= '<tr><th><label for="role">' .__('Role Setting at Login', 'xpressme') . '</label></th>'; … … 428 429 $form .= "<tr>"; 429 430 $form .= "<td> $groupe->name </td>"; 430 $form .= "<td>\n" . '<select name="role_gid_'.$groupe->groupid . '" id="role_gid_' . $groupe->groupid . '" >' . "\n";431 $form .= "<td>\n" . '<select name="role_gid_'.$groupe->groupid . '" id="role_gid_' . $groupe->groupid . '"' . $disible_str . '>' . "\n";; 431 432 $role_list = ''; 432 433 $group_has_role = false; … … 470 471 $form .= "</tr>\n"; 471 472 } 473 if ($disible) 474 $form .= '<tr><p>' . __('Only the Admin can set Group Role Setting','xpressme') . "</p></tr>\n"; 472 475 $form .= "</table></td></tr>\n"; 473 476 return $form;
Note: See TracChangeset
for help on using the changeset viewer.