I didn't find what you asked for the second one, but I did find the following:

PHP Code:
// Begin add Edit Orders button to lower buttons
        
$contents[] = array('align' => 'center''text' => '<a href="' zen_href_link(FILENAME_ORDERSzen_get_all_get_params(array('oID''action')) . 'oID=' $oInfo->orders_id '&action=edit''NONSSL') . '">' zen_image_button('button_details.gif'IMAGE_DETAILS) . '</a>&nbsp;<a href="' zen_href_link(FILENAME_ORDER_EDITzen_get_all_get_params(array('oID''action')) . 'oID=' $oInfo->orders_id '&action=edit''NONSSL') . '">' zen_image_button('button_edit.gif'IMAGE_EDIT) . '</a>');
// End add Edit Orders button to lower buttons