Fix missing internationalisation and display of empty cells, thanks
[squirrelmail.git] / templates / default / options_advidentity_list.tpl
index cc093810bc4488d24f0977c4738f28244a93fc6d..052e4931e8478432caf3e24517c306e0b4fa09a1 100644 (file)
@@ -85,7 +85,7 @@ extract($t);
       <textarea name="newidentities[<?php echo $index; ?>][signature]" cols="50" rows="5"><?php echo $identity['Signature']; ?></textarea>
      </td>
     </tr>
-    <?php echo concat_hook_function('options_identities_table', array('', $identity['New'], $index)); ?>
+    <?php /* FIXME: No hooks in templates! */ $temp = array('', &$identity['New'], &$index); echo concat_hook_function('options_identities_table', $temp); ?>
     <tr>
      <td colspan="2" class="actionButtons">
       <input type="submit" name="smaction[save][<?php echo $index; ?>]" value="<?php echo _("Save / Update"); ?>" />
@@ -101,7 +101,7 @@ extract($t);
       <input type="submit" name="smaction[move][<?php echo $index; ?>]" value="<?php echo _("Move Up"); ?>" />
             <?php
         }
-        echo concat_hook_function('options_identities_buttons', array($identity['New'], $index));
+        /* FIXME: No hooks in templates! */ echo $temp = array(&$identity['New'], &$index); concat_hook_function('options_identities_buttons', $temp);
       ?>
      </td>
     </tr>
@@ -112,4 +112,4 @@ extract($t);
   </td>
  </tr>
 </table>
-</div>
\ No newline at end of file
+</div>