Skip to content
Snippets Groups Projects
Commit a8108b2f authored by Alex Arnaud's avatar Alex Arnaud
Browse files

hotline#22194 - Remove babelio message on admin side

parent f68acb9f
Branches
Tags
7 merge requests!896Master,!811Stable,!800Master,!798Hotline master,!797Stable,!796Stable,!794Hotline#22194 remove babelio message on admin side
ticket #22194: Suppression du message "Le service Babelio est gratuit pour une durée de 90 jours..."
\ No newline at end of file
......@@ -39,12 +39,6 @@ class Admin_IndexController extends ZendAfi_Controller_Action {
$this->view->href_site="true";
}
$status_babelio = Class_WebService_Babelio::getActivationStatus();
$this->view->status_babelio = $status_babelio['enabled'] ? 'Activé' : 'Désactivé';
if (null !== $expiration_date = $status_babelio['expire_at'])
$this->view->status_babelio .= ', expiration le '.$expiration_date->toString("d MMMM yyyy");
$this->view->show_babelio_info = !$status_babelio['enabled'] || $expiration_date !== null;
$this->view->user = Class_Users::getLoader()->getIdentity();
}
......
......@@ -18,13 +18,9 @@ if ($this->user->isAdmin()) {
echo $this->ligneInfos("Etat du site", $this->etat_site . $lien)
. $this->ligneInfos("Profil", $profil->getLibelle() . $lien_edit_site)
. $this->ligneInfos("Thème", $profil->getSkin())
. $this->ligneInfos("Avis Babelio", $this->status_babelio);
. $this->ligneInfos("Thème", $profil->getSkin());
if ($this->show_babelio_info) { ?>
<div class='ligne_info'>Le service <a href='http://www.babelio.com/'>Babelio</a> est gratuit pour une durée de
90 jours à compter de l'ouverture du portail. Veuillez contacter AFI pour souscrire à un abonnement.</div>
<?php } ?>
?>
<h2><?php echo $this->traduire('Accès');?>&nbsp;:</h2>
<?php
......
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