From 382d88cf122307ee64b416f520639dda1ec069d3 Mon Sep 17 00:00:00 2001 From: gloas <gloas@git-test.afi-sa.fr> Date: Fri, 31 May 2013 12:24:39 +0000 Subject: [PATCH] Graphisme: maj affichage panier, ajout style ckeditor pour casqy: mise_en_valeur --- .../modules/opac/views/scripts/panier/_panier_row.phtml | 7 ++++--- application/modules/opac/views/scripts/panier/index.phtml | 1 + ckeditor/config.js | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/application/modules/opac/views/scripts/panier/_panier_row.phtml b/application/modules/opac/views/scripts/panier/_panier_row.phtml index 675fe521980..00a6cb43753 100644 --- a/application/modules/opac/views/scripts/panier/_panier_row.phtml +++ b/application/modules/opac/views/scripts/panier/_panier_row.phtml @@ -15,16 +15,17 @@ if ($this->panier->hasCatalogues()) { echo '<div>'.implode(', ', $catalogue_links).'</div>'; } ?> -<td><?php echo $this->panier->getDateMaj(); ?></td> +<td><?php echo $this->humanDate($this->panier->getDateMaj(),'dd/MM/Y'); ?></td> <td><?php echo $this->panier->numberOfNotices(); ?></td> <td><a href="<?php echo $this->url(['action' => 'index', - 'id_panier' => $this->panier->getId()]); ?>"> </a></td> + 'id_panier' => $this->panier->getId()]); ?>#panier_contenu"> </a></td> <td><?php echo $this->tagAnchor(['module' => 'opac', 'controller' => 'recherche', 'action' => 'simple', 'id_panier' => $this->panier->getId(), - 'retour_panier' => $this->panier->getId()],' '); ?></td> + 'retour_panier' => $this->panier->getId()], + ' '); ?></td> <?php if ($this->panier->isUserEquals(Class_Users::getIdentity())) { ?> <td class="supprimer"> <a href="<?php echo $this->url(['action' => 'supprimerpanier', 'id_panier' => $this->panier->getId()]) ?>" onclick="return confirm('<?php echo $this->traduire("Etes-vous sûr de vouloir supprimer ce panier ?"); ?>')"> </a> diff --git a/application/modules/opac/views/scripts/panier/index.phtml b/application/modules/opac/views/scripts/panier/index.phtml index 1081b20be8a..ac7a2590eae 100644 --- a/application/modules/opac/views/scripts/panier/index.phtml +++ b/application/modules/opac/views/scripts/panier/index.phtml @@ -47,6 +47,7 @@ if($this->panier_courant) { case 1: $msg=" - (1 notice)"; break; default:$msg=" - (".$nombre_notices." notices)"; break; } + print('<a name="panier_contenu"></a>'); $this->openBoite($this->panier_courant->getLibelle()."<small>".$msg."</small>"); // Formulaire modif du libelle diff --git a/ckeditor/config.js b/ckeditor/config.js index a15bc1ad1db..a2c9a2b2245 100644 --- a/ckeditor/config.js +++ b/ckeditor/config.js @@ -122,6 +122,8 @@ CKEDITOR.addStylesSet('default',[ { name:'Texte supprimé', element:'del' }, { name:'Texte inséré', element:'ins' }, { name:'Citation', element:'cite' }, +{ name:'Mise en avant', element:'div', +attributes:{class:'mise_en_avant'}}, { name:'Ecriture droite à gauche', element:'span', -- GitLab