Reverting last commit. Hooks don't belong in templates.
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 9 Oct 2006 02:45:45 +0000 (02:45 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 9 Oct 2006 02:45:45 +0000 (02:45 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11870 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/compose_buttons.tpl

index 302b04e2a5fa71084f5eb69d89c33e6ae99053ee..d4848ab9f291fd04ead920f0c41d02cd2da38195 100644 (file)
@@ -71,8 +71,8 @@ extract($t);
     }
    ?>
    <input type="submit" name="send" value="<?php echo _("Send"); ?>" />&nbsp;
-   <?php do_hook('compose_button_row'); ?>
+   <?php if (!empty($plugin_output['compose_button_row'])) echo $plugin_output['compose_button_row']; ?>
   </td>
  </tr>
 </table>
-</div>
\ No newline at end of file
+</div>