<?php 
    $orderChatButtons = array(
        array(
            'item' => 'edit_chat',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'copy_messages',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'open_new_window',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'show_survey',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'remove_dialog_tab',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'close_chat',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'delete_chat',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'transfer',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'blockuser',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'send_mail',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'redirect_contact',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'print',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'attatch_file',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'redirect_user',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'speech',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'cobrowse',
            'enabled' => !isset($hideActionBlock)
        ),
        array(
            'item' => 'print_archive',
            'enabled' => isset($hideActionBlock)
        ),
        array(
            'item' => 'mail_archive',
            'enabled' => isset($hideActionBlock)
        )
    );
?>