Changeset 1482
- Timestamp:
- Sep 28, 2010, 11:36:20 PM (10 years ago)
- Location:
- cpc/trunk/project
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/apps/frontend/modules/documents/templates/showSuccess.php
r1449 r1482 39 39 </div> 40 40 <div class="right"> 41 <div class="nuage_de_tags"> 42 <h3>Mots-clés</h3> 43 <?php echo include_component('tag', 'tagcloud', array('tagquery' => $qtag, 'model' => 'Texteloi', 'limit' => 40, 'fixlevel' => 1)); ?> 44 </div> 41 <?php echo include_component('tag', 'tagcloud', array('tagquery' => $qtag, 'model' => 'Texteloi', 'limit' => 40, 'fixlevel' => 1, 'nozerodisplay' => true)); ?> 45 42 <?php if ((isset($texte) && $texte > 0) || count($annexes) || $amendements) { ?> 46 43 <div class="annexes"> -
cpc/trunk/project/apps/frontend/modules/section/templates/showSuccess.php
r1449 r1482 17 17 <div class="resume"> 18 18 <div class="right"> 19 <div class="nuage_de_tags"> 20 <h3>Mots-clés de cette section</h3> 21 <?php echo include_component('tag', 'tagcloud', array('hide'=>1, 'tagquery' => $qtag, 'model' => 'Intervention', 'limit'=>40, 'route' => '@tag_section_interventions?section='.$section->id.'&')); ?> 22 </div> 19 <?php echo include_component('tag', 'tagcloud', array('hide'=>1, 'tagquery' => $qtag, 'model' => 'Intervention', 'limit'=>40, 'route' => '@tag_section_interventions?section='.$section->id.'&', 'nozerodisplay' => true)); ?> 23 20 </div> 24 21 <div class="left"> -
cpc/trunk/project/apps/frontend/modules/tag/templates/_tagcloud.php
r1385 r1482 1 <?php $keys = array_keys($tags); 2 $tot = count($keys); 3 if (!isset($nozerodisplay)) 4 $nozerodisplay = false; 5 if (!$nozerodisplay || $tot > 0) { 6 if ($nozerodisplay) { ?> 7 <div class="nuage_de_tags"> 8 <h3>Mots-clés</h3> 9 <?php } ?> 1 10 <div class="internal_tag_cloud"> 2 11 <?php $ct = 1; $keys = array_keys($tags); 3 if ( count($keys)) { foreach($keys as $tag) : ?>12 if ($tot > 0) { foreach($keys as $tag) : ?> 4 13 <span class="tag_level_<?php echo $tags[$tag]['class']; ?>"><?php if (isset($route)) { 5 14 echo '<a href="'; … … 25 34 <span><em>Aucun mot-clé trouvé</em></span> 26 35 <?php } ?></div> 36 <?php if ($nozerodisplay) { ?> 37 </div> 38 <?php } 39 } ?> 40 -
cpc/trunk/project/web/css/xneth/style.css
r1476 r1482 1028 1028 height: 170px; 1029 1029 margin-right: 3px; 1030 text-align: center; 1030 1031 } 1031 1032 .graph_depute p {
Note: See TracChangeset
for help on using the changeset viewer.