Subversion Repositories ALCASAR

Rev

Rev 1805 | Rev 1838 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1805 Rev 1831
Line 395... Line 395...
395
<td align=right colspan=$colspan bgcolor="#d0ddb0">
395
<td align=right colspan=$colspan bgcolor="#d0ddb0">
396
$l_group_member<br><font size=-2><i>($l_main_group)</i></font>
396
$l_group_member<br><font size=-2><i>($l_main_group)</i></font>
397
</td>
397
</td>
398
<td>
398
<td>
399
EOM;
399
EOM;
-
 
400
 
-
 
401
 
400
if (isset($member_groups)){
402
	if (isset($member_groups)){
401
	echo "<select size=5 name=\"edited_groups[]\" multiple OnChange=\"this.form.group_change.value=1\">";
403
	echo "<select size=5 name=\"edited_groups[]\"  OnChange=\"this.form.group_change.value=1\">";
402
	if ($config['sql_show_all_groups'] == 'true'){
404
	if ($config['sql_show_all_groups'] == 'true'){
403
		foreach ($existing_groups as $group => $count){
405
		foreach ($existing_groups as $group => $count){
-
 
406
			if (isset($member_groups[$group]) && ($member_groups[$group] == $group))
-
 
407
				echo "<option selected value=\"$group\">$group\n";
404
			if ($member_groups[$group] == $group)
408
			else if(isset($member_groups[0]) && ($member_groups[0] == $group))
405
				echo "<option selected value=\"$group\">$group\n";
409
				echo "<option selected value=\"$group\">$group\n";
406
			else
410
			else
407
				echo "<option value=\"$group\">$group\n";
411
				echo "<option value=\"$group\">$group\n";
408
			}
412
			}
409
		}else{
413
		}else{
Line 411... Line 415...
411
			echo "<option value=\"$group\">$group\n";
415
			echo "<option value=\"$group\">$group\n";
412
		}
416
		}
413
		echo "</select></td></tr>";
417
		echo "</select></td></tr>";
414
	}
418
	}
415
	else{
419
	else{
416
		echo "aucun group</td></tr>";
420
		echo "Aucun groupe</td></tr>";
417
	}
421
	}
418
}
422
}
419
echo "</table><br>";
423
echo "</table><br>";
420
echo "<input type=submit class=button value=$l_change OnClick=\"this.form.change.value=1\">";
424
echo "<input type=submit class=button value=$l_change OnClick=\"this.form.change.value=1\">";
421
//if ($user_type != 'group'){
425
//if ($user_type != 'group'){