Skip to content
Snippets Groups Projects
Commit da55af5f authored by gloas's avatar gloas
Browse files

supression de la constante url_html

parent bd28c948
Branches
Tags
No related merge requests found
......@@ -50,12 +50,14 @@ class ZendAfi_Controller_Action_Helper_ViewRenderer extends Zend_Controller_Acti
//-------------------------------------------------------------------------------
public function preDispatch() {
$module=$this->getmodule();
$profil_path = Class_Profil::getCurrentProfil()->getPathTheme();
if ($module == "admin") {
$this->view->addHelperPath('ZendAfi/View/Helper/Admin/', 'ZendAfi_View_Helper_Admin');
} else {
if ($module=="opac") {
$this->view->addHelperPath('ZendAfi/View/Helper/Java', 'ZendAfi_View_Helper_Java');
$this->view->addHelperPath('ZendAfi/View/Helper/Accueil', 'ZendAfi_View_Helper_Accueil');
$this->view->addScriptPath($profil_path.'html');
}
if ($module=="telephone") {
......@@ -66,8 +68,9 @@ class ZendAfi_Controller_Action_Helper_ViewRenderer extends Zend_Controller_Acti
$this->view->addHelperPath('ZendAfi/View/Helper/Telephone', 'ZendAfi_View_Helper_Telephone');
$this->view->addHelperPath('ZendAfi/View/Helper/Telephone/Tags', 'ZendAfi_View_Helper_Telephone_Tags');
$this->view->addScriptPath($profil_path.'html_mobile');
}
$this->view->addScriptPath("..".URL_HTML);
}
......
......@@ -162,8 +162,7 @@ class ZendAfi_Controller_Plugin_DefineURLs extends Zend_Controller_Plugin_Abstra
$this
->_defineConstant("PATH_SKIN", '.'.$skindir)
->_defineConstant("URL_IMG", $url_skin . "images/")
->_defineConstant("URL_CSS", $url_skin . "css/")
->_defineConstant("URL_HTML", $url_skin ."html/");
->_defineConstant("URL_CSS", $url_skin . "css/");
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment