?
Current File : /home/c/i/d/cideo/www/wp-includesVIp/js/crop/images/HeaderController.php.tar
home/cideo/site_2015/application/modules/site/controllers/HeaderController.php000066600000001526151257267510023447 0ustar00<?php
class HeaderController extends Zend_Controller_Action
{
	function headerAction()
	{
		$this ->_helper->viewRenderer->setResponseSegment('header');
		$session = Zend_Registry::get('session');
		$translate = Zend_Registry::get('translate');
		$classMainMenu = array();

		$this->view->langue = $session->lang;

		$actionCourante = $this->view->layout()->actionactif;
    	$controllerCourant = $this->view->layout()->controlleractif;
    	$controller_action = $controllerCourant.$actionCourante;

    	$this->view->actionCourante = $this->view->layout()->actionactif;
		$this->view->controllerCourant = $this->view->layout()->controlleractif;

		$config = new Zend_Config_Xml(PUBLIC_PATH.'txt/social.xml', "social");
		$this->view->reseaux = $config->element;
		
		$nb = 100 / count($config->element);
		$this->view->largeurlist = $nb."%";
		




	}
}home/cideo/site_2015/application/modules/admin/controllers/HeaderController.php000066600000001220151257272110023552 0ustar00<?php
class  Admin_HeaderController extends Zend_Controller_Action
{
	function headerAction()
	{	 
	
		$session = Zend_Registry::get('session');
		$this ->_helper->viewRenderer->setResponseSegment('header');
		$translate = Zend_Registry::get('translate');
		$this->view->translate = $translate;
		$this->view->actionCourante = $this->view->layout()->actionactif;
		$this->view->controllerCourant = $this->view->layout()->controlleractif;
		$this->view->textmention = $translate->_("textmention");

		$this->view->actionCourante = $this->view->layout()->actionactif;

		$ln = $this->_request->getParam('ln');
		$this->view->lang = $session->lang;



		
	}
}