mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 11:52:20 +01:00 
			
		
		
		
	Fichier "Mon équipe"
This commit is contained in:
		@@ -1,13 +1,10 @@
 | 
			
		||||
<?php
 | 
			
		||||
require_once "header.php";
 | 
			
		||||
 | 
			
		||||
if (isset($error_message)) {
 | 
			
		||||
	if ($error_message !== false) {
 | 
			
		||||
		echo "<h2>Erreur : " . $error_message . "</h2>";
 | 
			
		||||
	} else {
 | 
			
		||||
if ($has_error)
 | 
			
		||||
	echo "<h2>Erreur : " . $error_message . "</h2>";
 | 
			
		||||
elseif (isset($send_document))
 | 
			
		||||
		echo "<h2>Le fichier a été correctement envoyé !</h2>";
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
?>
 | 
			
		||||
 | 
			
		||||
    <h2>Informations sur l'équipe</h2>
 | 
			
		||||
@@ -65,7 +62,7 @@ for ($i = 1; $i <= 6; ++$i) {
 | 
			
		||||
                    <label for="tournament">Tournoi :</label>
 | 
			
		||||
                </td>
 | 
			
		||||
                <td>
 | 
			
		||||
                    <select style="width: 100%;" id="tournament" name="tournament">
 | 
			
		||||
                    <select style="width: 100%;" id="tournament" name="tournament_id">
 | 
			
		||||
						<?php
 | 
			
		||||
						foreach ($tournaments as $tournament)
 | 
			
		||||
							echo "<option value=\"" . $tournament->getId() . "\">" . $tournament->getName() . "</option>\n";
 | 
			
		||||
@@ -147,7 +144,7 @@ for ($i = 1; $i <= 6; ++$i) {
 | 
			
		||||
                    </form>
 | 
			
		||||
                </td>
 | 
			
		||||
				<?php
 | 
			
		||||
				$can_validate = checkCanValidate();
 | 
			
		||||
				$can_validate = canValidate($team, $tournament);
 | 
			
		||||
				if ($can_validate) { ?>
 | 
			
		||||
                    <td style="width: 50%;">
 | 
			
		||||
                        <form method="post">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user