This commit is contained in:
Damien LASSERRE 2011-09-07 15:31:28 +00:00
parent b538204761
commit 35900f7e7e
5 changed files with 12 additions and 5 deletions

View File

@ -21,6 +21,9 @@
<controllerFile controllerName="Analyse">
<actionMethod actionName="index"/>
</controllerFile>
<controllerFile controllerName="Formulaires">
<actionMethod actionName="index"/>
</controllerFile>
</controllersDirectory>
<formsDirectory enabled="false"/>
<layoutsDirectory enabled="false"/>
@ -43,6 +46,9 @@
<viewControllerScriptsDirectory forControllerName="Analyse">
<viewScriptFile forActionName="index"/>
</viewControllerScriptsDirectory>
<viewControllerScriptsDirectory forControllerName="Formulaires">
<viewScriptFile forActionName="index"/>
</viewControllerScriptsDirectory>
</viewScriptsDirectory>
<viewHelpersDirectory/>
<viewFiltersDirectory enabled="false"/>

View File

@ -13,6 +13,10 @@ resources.db.params.mysql:user = "root"
resources.db.params.mysql:password = "XnyexbUF"
resources.db.params.mysql:db = "sphinxphp"
resources.layout.layout = "main"
resources.layout.layoutPath = APPLICATION_PATH "/views/default"
resources.view.basePath = APPLICATION_PATH "/views/default"
[staging : production]
[testing : production]

View File

@ -5,7 +5,7 @@ class IndexController extends Zend_Controller_Action
public function init()
{
/* Initialize action controller here */
$this->view->headLink()->appendStylesheet('/themes/default/styles/main.css', 'all');
}
public function indexAction()

View File

@ -0,0 +1 @@
<?php echo $this->form;?>

View File

@ -1,4 +0,0 @@
<br /><br />
<div id="view-content">
<p>View script for controller <b>Formulaires</b> and script/action name <b>index</b></p>
</div>