Admin Comments Toolbar by Adam Pingitore <adamjpin@yahoo.com>
for osCommerce V2.2 CVS (http://www.oscommerce.com)
Date: 01/05/2002

Released under the GNU General Public License

---
WHAT IS IT?

The purpose of this modification is to basically make the life
easier of those of you whom rely heavily on the comments box
to give your customer information about their order.

I got quite tired of typing or copying and pasting in the same
text to let their customer know their order has been shipped,
backordered, etc.

Comments Toolbar simply adds any number of buttons under your
comments box for orders.php in admin that basically act as macro
buttons. You customize the buttons and text by editing the 
included html file.

---
HOW TO INSTALL

Installation of Comment Toolbar is extremely simple, shouldn't
take more than a couple of minutes. However backing up your
files before modifying any OSC is always a good idea.

1) Modify comment_bar.html where the <button> tags are to your 
liking. You should be able to easily identify what text to change,
unless you are a complete and utter newbee!

2) Upload comment_Bar.html to your admin directory.

3) In admin/orders.php: 

After:

      <tr><?php echo tep_draw_form('status', FILENAME_ORDERS, tep_get_all_get_params(array('action')) . 'action=update_order'); ?>
        <td class="main"><?php echo tep_draw_textarea_field('comments', 'soft', '60', '5', $order->info['comments']); ?></td>
      </tr>

Insert this:

      <tr><td><?php include ("comment_bar.html"); ?></td></tr>	


This simply just adds buttons under your comment box by including 
the comment_bar.html file.

You are all done!

Any bugs, questions or comments can be sent to adamjpin@yahoo.com.

