<?php
/**
 * Reservation form toolbar
 * 
 * @package		ARTIO Booking
 * @subpackage  views
 * @copyright	Copyright (C) 2016 ARTIO Ltd Co. All rights reserved.
 * @author 		ARTIO Ltd Co., http://www.artio.net
 * @license     GNU/GPL http://www.gnu.org/copyleft/gpl.html
 * @link        http://www.artio.net Official website
 */
$config = AFactory::getConfig();
?>
<div class="bookingToolbar">
    <a class="aIconToolSave tool save" title="<?php echo JText::_('SAVE_RESERVATION'); ?>" href="javascript:submitbutton('save')" ><?php echo JText::_('SAVE_RESERVATION'); ?></a>
    <?php if ($config->moreReservations && $config->cartButtonContinue) { ?>
        <a class="aIconToolApply tool save" title="<?php echo JText::_('SAVE_CONTINUE'); ?>" href="javascript:submitbutton('store')" ><?php echo JText::_('SAVE_CONTINUE'); ?></a>
        <?php
    }
    if ($config->cartButtonBack) {
        ?>
        <a class="aIconToolRestore tool cancel" title="<?php echo JText::_('BACK'); ?>" href="<?php echo $this->backUrl; ?>"><?php echo JText::_('BACK'); ?></a>
        <?php
    }
    if ($config->cartButtonReset) {
        ?>
        <a class="aIconToolCancel tool cancel" title="<?php echo JText::_('RESET_RESERVATION'); ?>" href="javascript:submitbutton('erase')" ><?php echo JText::_('RESET_RESERVATION'); ?></a>
    <?php } ?>
    <div class="clr"></div>
</div>	