[admin] profile can be uploaded

This commit is contained in:
Tóth Richárd
2018-06-07 23:32:06 +02:00
parent a88c0df0d2
commit f98f1fe6e2
10 changed files with 918 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
<?php
# HA VAN ID, AKKOR PROFIL FELTÖLTÉS
if ($this->is_id()) {
switch ($this->get_id()) {
case '1':
$smarty->assign('error', 'Nem található a fájlnévvel egyező gyerek a rendszerben!');
break;
case '2':
$smarty->assign('error', 'Ismeretlen esemény típus');
break;
case 'success':
# code...
$smarty->assign('success', 'Sikeres feltöltés!');
break;
default:
# code...
break;
}
}
else {
# PROFIL FELTÖLTÉS
}
$smarty->display('upload_milestone.tpl');
?>