Correction post-entretien1

This commit is contained in:
xdrm-brackets 2016-01-07 15:09:20 +01:00
parent ed7634cf8e
commit 2b354f3ca1
12 changed files with 10 additions and 2747 deletions

0
README.md Normal file → Executable file
View File

View File

@ -103,7 +103,8 @@ $notifNotifNum = 5;
<!-- LICENCE CREATIVE COMMONS -->
<a style='z-index:110; position: fixed; bottom: 10px; right: 10px;' rel="license" href="http://creativecommons.org/licenses/by/3.0/fr/">
<img alt="Licence Creative Commons" style="border-width:0" src="https://i.creativecommons.org/l/by/3.0/fr/88x31.png" /></a>
<img alt="Licence Creative Commons" style="border-width:0" src="https://i.creativecommons.org/l/by/3.0/fr/88x31.png" />
</a>
</div>

View File

@ -7,7 +7,7 @@
// on se place dans /.../src/files
chdir( $path );
chmod( $path, 0774 );
// chmod( $path, 0774 );
if( move_uploaded_file($_FILES["file"]["tmp_name"], $path.$fileName) ){
// on modifie les droits du fichier

File diff suppressed because it is too large Load Diff

View File

@ -275,10 +275,10 @@ if( importInscrits != null ){
xhr.open('POST', 'manager/import.php', true);
xhr.onreadystatechange = function(){
if( xhr.readyState == 4 && [0, 200].indexOf(xhr.status) > -1 )
if( xhr.readyState == 4 && [0, 200].indexOf(xhr.status) > -1 ){
console.log('[1] IMPORT=> '+xhr.responseText);
if( xhr.responseText == 'success' ){
/* [2] LECTURE DU FICHIER
=======================================*/
var request = { level_0: 'excel', level_1: 'import_inscrits' };
@ -299,6 +299,7 @@ if( importInscrits != null ){
}else console.log('import error');
});
}
}

View File

@ -673,7 +673,7 @@ if( permission('master') || permission('admin') ){
/* AFFINAGE PAR ANNEE */
/**********************/
echo "Importation des listes d'étudiants<br>";
echo "<span style='font-size:.8em;'>(Fichier .xlsx suivant le modèle : <a href='".__ROOT__."/src/modele_import_inscrits.xlsx'>modèle de fichier</a>)</span><br>";
echo "<span style='font-size:.8em;'>(Fichier .xlsx suivant le modèle : <a href='".__ROOT__."/src/files/modele_import_inscrits.xlsx'>modèle de fichier</a>)</span><br>";
/* AFFINAGE POUR LES 5 ANNEES SUIVANTES */
echo "<select name='annee'>";

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.