diff --git a/application/modules/admin/views/scripts/catalogue/tester.phtml b/application/modules/admin/views/scripts/catalogue/tester.phtml index 9a93181ac3759055910cc7fd6f23f11aec212613..6f15ad32a81a2824bf51f8ae07308533bb3fd36a 100644 --- a/application/modules/admin/views/scripts/catalogue/tester.phtml +++ b/application/modules/admin/views/scripts/catalogue/tester.phtml @@ -1,40 +1,40 @@ -<?php -if($this->authUser->ROLE_LEVEL > 6) echo '<p style="font-weight:bold; font-size: 0.9em">'.$this->requete.'</p>'; -if(!$this->notices) echo '<p align="center" class="error">Ce catalogue ne renvoie aucun résultat.</p>'; -else { - echo $this->ligneInfos("Notices trouvées",$this->nb_notices); - echo $this->ligneInfos("Avec vignettes en cache",$this->avec_vignettes); - echo $this->ligneInfos("Temps d'éxécution de la requête",$this->temps_execution); -} - -if($this->notices) -{ - -?> - <br> - <table cellspacing="0" cellpadding="0"> - <tr class="soustitre"> - <td style="width:2%;"> </td> - <td style="width:60%">Titre</td> - <td style="width:38%">Auteur</td> - </tr> - <tr><td colspan="6" class="separ"></td></tr> -<?php - $ligne = 0; - foreach ($this->notices as $notice) - { - $ligne ++ ; if ($ligne & 1) $class="first"; else $class="second"; - echo '<tr class="'.$class.'"> - <td align="center" style="padding:3px 5px 3px 0px">'.$this->iconeSupport($notice->getTypeDoc()).'</td> - <td>'.$notice->getTitrePrincipal().'</td> - <td>'.$notice->getAuteurPrincipal().'</td> - </tr>'; - } - echo '<tr><td colspan="6" class="separ"></td></tr>'; - echo '</table>'; - echo '<p style="margin-top:1px;"><small>nb : Affichage des 20 premières notices uniquement...</small></p> '; -} - -?> -<br> -<a href="<?php echo $this->url(['action' => 'edit', 'id_catalogue' => $this->id_catalogue]); ?>">» Modifier la définition du catalogue</a> +<?php +if($this->authUser->ROLE_LEVEL > 6) echo '<p style="font-weight:bold; font-size: 0.9em">'.$this->requete.'</p>'; +if(!$this->notices) echo '<p align="center" class="error">Ce catalogue ne renvoie aucun résultat.</p>'; +else { + echo $this->ligneInfos("Notices trouvées",$this->nb_notices); + echo $this->ligneInfos("Avec vignettes en cache",$this->avec_vignettes); + echo $this->ligneInfos("Temps d'éxécution de la requête",$this->temps_execution); +} + +if($this->notices) +{ + +?> + <br> + <table cellspacing="0" cellpadding="0"> + <tr class="soustitre"> + <td style="width:2%;"> </td> + <td style="width:60%">Titre</td> + <td style="width:38%">Auteur</td> + </tr> + <tr><td colspan="6" class="separ"></td></tr> +<?php + $ligne = 0; + foreach ($this->notices as $notice) + { + $ligne ++ ; if ($ligne & 1) $class="first"; else $class="second"; + echo '<tr class="'.$class.'"> + <td align="center" style="padding:3px 5px 3px 0px">'.$this->iconeSupport($notice->getTypeDoc()).'</td> + <td>'.$notice->getTitrePrincipal().'</td> + <td>'.$notice->getAuteurPrincipal().'</td> + </tr>'; + } + echo '<tr><td colspan="6" class="separ"></td></tr>'; + echo '</table>'; + echo '<p style="margin-top:1px;"><small>nb : Affichage des 20 premières notices uniquement...</small></p> '; +} + +?> +<br> +<a href="<?php echo $this->url(['action' => 'edit', 'id_catalogue' => $this->id_catalogue]); ?>">» Modifier la définition du catalogue</a>