Changeset 1525


Ignore:
Timestamp:
Oct 2, 2010, 12:55:59 PM (10 years ago)
Author:
roux
Message:

prezsentation documents: affichage toute largeur si pas de colonne droite

Location:
cpc/trunk/project/apps/frontend/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/documents/templates/showSuccess.php

    r1522 r1525  
    2929?>
    3030</div>
     31<?php $tags = get_component('tag', 'tagcloud', array('tagquery' => $qtag, 'model' => 'Texteloi', 'limit' => 40, 'fixlevel' => 1, 'nozerodisplay' => true)); ?>
    3132<div class="document">
    32 <div class="left">
     33<div<?php if ($tags != "" || (isset($texte) && $texte > 0) || count($annexes) || $amendements || count($relatifs) || $section) echo ' class="left"'; ?>>
    3334<?php if ($txt = $doc->getExtract()) { ?>
    3435<h3>Extrait</h3>
     
    3940</div>
    4041<div class="right">
    41   <?php echo include_component('tag', 'tagcloud', array('tagquery' => $qtag, 'model' => 'Texteloi', 'limit' => 40, 'fixlevel' => 1, 'nozerodisplay' => true)); ?>
    42 <?php if ((isset($texte) && $texte > 0) || count($annexes) || $amendements) { ?>
     42<?php print $tags;
     43if ((isset($texte) && $texte > 0) || count($annexes) || $amendements) { ?>
    4344  <div class="annexes">
    4445  <h3>Documents associés</h3><ul>
  • cpc/trunk/project/apps/frontend/modules/tag/templates/_tagcloud.php

    r1502 r1525  
    3838<?php }
    3939} ?>
    40 
Note: See TracChangeset for help on using the changeset viewer.