diff options
Diffstat (limited to 'applications/modules/pub')
| -rw-r--r-- | applications/modules/pub/controllers/AdminController.php | 43 | ||||
| -rw-r--r-- | applications/modules/pub/controllers/IndexController.php | 47 | ||||
| -rwxr-xr-x | applications/modules/pub/descriptor.ini | 36 |
3 files changed, 126 insertions, 0 deletions
diff --git a/applications/modules/pub/controllers/AdminController.php b/applications/modules/pub/controllers/AdminController.php new file mode 100644 index 0000000..f0066ad --- /dev/null +++ b/applications/modules/pub/controllers/AdminController.php @@ -0,0 +1,43 @@ +<?php +/** + * +----------------------------------------------------------------------+ + * | This file is part of TABARNAK - PHP Version 5 | + * +----------------------------------------------------------------------+ + * | Copyright (C) 2008-2009 Libricks | + * +----------------------------------------------------------------------+ + * | Ce programme est un logiciel libre distribue sous licence GNU/GPL. | + * | Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. | + * | | + * | This program is free software; you can redistribute it and/or | + * | modify it under the terms of the GNU General Public License | + * | as published by the Free Software Foundation; either version 2 | + * | of the License, or (at your option) any later version. | + * | | + * | This program is distributed in the hope that it will be useful, | + * | but WITHOUT ANY WARRANTY; without even the implied warranty of | + * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | + * | GNU General Public License for more details. | + * | | + * | You should have received a copy of the GNU General Public License | + * | along with this program; if not, write to | + * | the Free Software Foundation, Inc., | + * | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA | + * | | + * +----------------------------------------------------------------------+ + * | Authors: * Marc-Henri PAMISEUX <[email protected]> | + * | * Jean-Baptiste BLANC <[email protected]> | + * +----------------------------------------------------------------------+ + */ + +class AdminController extends Zend_Controller_Action +{ + /** + * Affichage de la page d'accueil + */ + public function indexAction() + { + $this->view->test = "Mouahahahahahaha"; + } + +} +?>
\ No newline at end of file diff --git a/applications/modules/pub/controllers/IndexController.php b/applications/modules/pub/controllers/IndexController.php new file mode 100644 index 0000000..ddb8bc0 --- /dev/null +++ b/applications/modules/pub/controllers/IndexController.php @@ -0,0 +1,47 @@ +<?php +/** + * +----------------------------------------------------------------------+ + * | This file is part of TABARNAK - PHP Version 5 | + * +----------------------------------------------------------------------+ + * | Copyright (C) 2008-2009 Libricks | + * +----------------------------------------------------------------------+ + * | Ce programme est un logiciel libre distribue sous licence GNU/GPL. | + * | Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. | + * | | + * | This program is free software; you can redistribute it and/or | + * | modify it under the terms of the GNU General Public License | + * | as published by the Free Software Foundation; either version 2 | + * | of the License, or (at your option) any later version. | + * | | + * | This program is distributed in the hope that it will be useful, | + * | but WITHOUT ANY WARRANTY; without even the implied warranty of | + * | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | + * | GNU General Public License for more details. | + * | | + * | You should have received a copy of the GNU General Public License | + * | along with this program; if not, write to | + * | the Free Software Foundation, Inc., | + * | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA | + * | | + * +----------------------------------------------------------------------+ + * | Authors: * Marc-Henri PAMISEUX <[email protected]> | + * | * Jean-Baptiste BLANC <[email protected]> | + * +----------------------------------------------------------------------+ + */ + +/** + * Contrôleur principal de l'application + * + * @package application + * @subpackage controllers + */ +class IndexController extends Zend_Controller_Action +{ + /** + * Affichage de la page d'accueil + */ + public function indexAction() + { + $this->view->echo = 'Test MHP'; + } +}
\ No newline at end of file diff --git a/applications/modules/pub/descriptor.ini b/applications/modules/pub/descriptor.ini new file mode 100755 index 0000000..3645418 --- /dev/null +++ b/applications/modules/pub/descriptor.ini @@ -0,0 +1,36 @@ +; +----------------------------------------------------------------------+ +; | This file is part of TABARNAK - PHP Version 5 | +; +----------------------------------------------------------------------+ +; | Copyright (C) 2008-2009 Libricks | +; +----------------------------------------------------------------------+ +; | Ce programme est un logiciel libre distribue sous licence GNU/GPL. | +; | Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. | +; | | +; | This program is free software; you can redistribute it and/or | +; | modify it under the terms of the GNU General Public License | +; | as published by the Free Software Foundation; either version 2 | +; | of the License, or (at your option) any later version. | +; | | +; | This program is distributed in the hope that it will be useful, | +; | but WITHOUT ANY WARRANTY; without even the implied warranty of | +; | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | +; | GNU General Public License for more details. | +; | | +; | You should have received a copy of the GNU General Public License | +; | along with this program; if not, write to | +; | the Free Software Foundation, Inc., | +; | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA | +; | | +; +----------------------------------------------------------------------+ +; | Authors: * Marc-Henri PAMISEUX <[email protected]> | +; | * Jean-Baptiste BLANC <[email protected]> | +; +----------------------------------------------------------------------+ +; + +[general] +index = "index" +admin = "index" + +[activation] +active = "1" + |
