Ignore:
Timestamp:
Feb 16, 2010, 3:09:53 PM (11 years ago)
Author:
goya
Message:

retire bouton vers menu dans commissions, hardcache a regenerer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/intervention/templates/seanceSuccess.php

    r1075 r1109  
    2020</div>
    2121</div>
    22 <?php $table_m = $seance->getTableMatiere(); if (count($table_m)) {?>
     22<?php $table_m = $seance->getTableMatiere(); $ct = count($table_m); if ($ct) {?>
    2323<div class="orga_dossier">
    2424<h2>Sommaire</h2>
     
    7676      $didascalie = 0;
    7777      $perso = $intervention->getIntervenant();
    78       if ($titre != 1)
    79         echo '<span class="source"><a href="#table_'.$intervention->section_id.'">Debut de section</a>&nbsp;-&nbsp;<a href="'.url_for("@interventions_seance?seance=$seance->id").'#inter_'.$intervention->getMd5().'">Permalien</a></span>';
     78      if ($titre != 1) {
     79        echo '<span class="source">';
     80        if ($ct) echo '<a href="#table_'.$intervention->section_id.'">Debut de section</a>&nbsp;-&nbsp;';
     81        echo '<a href="'.url_for("@interventions_seance?seance=$seance->id").'#inter_'.$intervention->getMd5().'">Permalien</a></span>';
     82      }
    8083      if ($perso->getPageLink()) {
    8184        if ($photo = $perso->hasPhoto()) {
Note: See TracChangeset for help on using the changeset viewer.