From: stephen@cubedesigners.com Date: Fri, 25 Nov 2022 13:27:07 +0000 (+0000) Subject: Deactivate alert and restore phone numbers. Done #5571 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=db754cbc7d9e27a2a704427e7b85d9955520b02d;p=cubedesigners-v7.git Deactivate alert and restore phone numbers. Done #5571 @0.25 --- diff --git a/framework/application/views/helpers/ContactInfos.php b/framework/application/views/helpers/ContactInfos.php index cfa4926..2ff8d08 100644 --- a/framework/application/views/helpers/ContactInfos.php +++ b/framework/application/views/helpers/ContactInfos.php @@ -26,11 +26,10 @@ class Cubedesigners_View_Helper_ContactInfos extends Zend_View_Helper_Abstract { $res.=$this->view->linkGeo(__("Plan d'accès"), $bureau['coordonnees']['adresse'] . ',' . $bureau['coordonnees']['ville'] . ',' . Zend_Locale::getTranslation($bureau['coordonnees']['pays'], 'territory'), array('class' => 'but mobile')); $res.=''; - // PHONE NUMBERS TEMPORARILY HIDDEN... - // $res.='
'; - // $res.='

' . __('Tel') . ' ' . $this->view->linkPhone($bureau['coordonnees']['tel']) . '

'; - // //$res.='

' . __('Fax') . ' ' . $bureau['coordonnees']['fax'] . '

'; - // $res.='
'; + $res.='
'; + $res.='

' . __('Tel') . ' ' . $this->view->linkPhone($bureau['coordonnees']['tel']) . '

'; + //$res.='

' . __('Fax') . ' ' . $bureau['coordonnees']['fax'] . '

'; + $res.='
'; $res.=''; // .inner diff --git a/framework/application/views/helpers/FooterContact.php b/framework/application/views/helpers/FooterContact.php index 6cea4d8..57cdb92 100644 --- a/framework/application/views/helpers/FooterContact.php +++ b/framework/application/views/helpers/FooterContact.php @@ -16,12 +16,11 @@ class Cubedesigners_View_Helper_FooterContact extends Zend_View_Helper_Abstract $res .= '

' . sprintf(__('Bureaux de %s'), $bureau['coordonnees']['nom']) . '

'; - /* TEMPORARILY HIDING PHONE NUMBERS AFTER FAKE JOB ADS WERE POSTED IN THE NAME OF CUBEDESIGNERS... */ - // $res .= '

'; - // $event = array('category' => 'phone', 'action' => 'call', 'label' => $bureau['coordonnees']['tel']); - // $res .= '

' . __('Tel') . ' ' . $this->view->linkPhone($bureau['coordonnees']['tel'], null, array('data-event' => $event)) . '

'; - // //$res.='

' . __('Fax') . ' ' . $this->view->linkPhone($bureau['coordonnees']['fax']) . '

'; - // $res .= '
'; + $res .= '
'; + $event = array('category' => 'phone', 'action' => 'call', 'label' => $bureau['coordonnees']['tel']); + $res .= '

' . __('Tel') . ' ' . $this->view->linkPhone($bureau['coordonnees']['tel'], null, array('data-event' => $event)) . '

'; + //$res.='

' . __('Fax') . ' ' . $this->view->linkPhone($bureau['coordonnees']['fax']) . '

'; + $res .= '
'; //$res.= $this->view->microdataPlace($bureau['coordonnees']['adresse']);