コード例 #1
0
ファイル: parameters.php プロジェクト: laiello/dp-navigator
     $smarty->assign("menu", $_SESSION['user']->getGroup());
     $smarty->assign("content", "parameters");
     $smarty->assign("paramcontent", $menu . $action);
     break;
 case 'Save':
     $smarty->assign("title", "Gestionnaire des paramètres");
     $smarty->assign("paramtitle", "Liste des acteurs");
     $smarty->assign("menu", $_SESSION['user']->getGroup());
     $smarty->assign("content", "parameters");
     $smarty->assign("paramcontent", "actorList");
     $smarty->assign("actorList", $_SESSION['actorList']);
     $smarty->assign("size", $_SESSION['actorsize']);
     break;
 case 'Update':
     $actorId = $_SESSION["actorId"] = $_GET["id"];
     $actor = Actor::getOneActor($actorId);
     $smarty->assign("actor", $actor);
     $smarty->assign("title", "Gestionnaire des paramètres");
     $smarty->assign("paramtitle", "Modification d'un acteur");
     $smarty->assign("menu", $_SESSION['user']->getGroup());
     $smarty->assign("content", "parameters");
     $smarty->assign("paramcontent", $menu . $action);
     break;
 case 'Delete':
     $smarty->assign("title", "Gestionnaire des paramètres");
     $smarty->assign("paramtitle", "Gestionnaire des catégories");
     $smarty->assign("menu", $_SESSION['user']->getGroup());
     $smarty->assign("content", "parameters");
     $smarty->assign("paramcontent", $menu);
     $smarty->assign("categoryList", $_SESSION['categoryList']);
     break;