Browse Source

Reverting last commit. Hooks don't belong in templates.

pdontthink 19 năm trước cách đây
mục cha
commit
cb8a4f43f8
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      templates/default/compose_buttons.tpl

+ 2 - 2
templates/default/compose_buttons.tpl

@@ -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>
+</div>