Correction post-entretien1
This commit is contained in:
parent
ed7634cf8e
commit
2b354f3ca1
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
2743
manager/security.php
2743
manager/security.php
File diff suppressed because it is too large
Load Diff
|
@ -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,9 +299,10 @@ if( importInscrits != null ){
|
|||
|
||||
}else console.log('import error');
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
xhr.send(fd);
|
||||
|
|
|
@ -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.
Binary file not shown.
Loading…
Reference in New Issue