Rajout de l'aide de vue URL
[zf2.biz/galerie.git] / module / Galerie / view / galerie / index / index.phtml
index a683a67..f9d18c7 100644 (file)
                <th>
                        <?php echo $this->translate('Galerie_index_table_nb', 'galerie'); ?>
                </th>
+               <th>
+                       <?php echo $this->translate('Galerie_index_table_actions', 'galerie'); ?>
+               </th>
        </tr>
        <?php if ($galeries->count() == 0): ?>
        <tr>
-               <td colspan="4">
+               <td colspan="5">
                        <strong><?php echo $this->translate('Galerie_index_table_void', 'galerie'); ?></strong>
                </td>
        </tr>
                <td>
                        <?php echo $this->escapeHtml($galerie->nb); ?>
                </td>
+               <td>
+                        <a href="<?php echo $this->url('galerie/view', array('id'=>$galerie->id)); ?>"><?php echo $this->translate('Galerie_index_table_lien_view', 'galerie'); ?></a>
+                        <a href="<?php echo $this->url('galerie/edit', array('id'=>$galerie->id)); ?>"><?php echo $this->translate('Galerie_index_table_lien_edit', 'galerie'); ?></a>
+                        <a href="<?php echo $this->url('galerie/del', array('id'=>$galerie->id)); ?>"><?php echo $this->translate('Galerie_index_table_lien_del', 'galerie'); ?></a>
+               </td>
        </tr>
        <?php endforeach; ?>
        <?php endif; ?>