<?php
/**
 * @author QuanticaLabs - http://codecanyon.net/user/QuanticaLabs/portfolio?ref=QuanticaLabs
 *
 * @link			http://codecanyon.net/item/timetable-responsive-schedule-for-joomla/9749539?ref=QuanticaLabs
 * @copyright		Copyright (C) 2008 - 2014 quanticalabs.com . All rights reserved.
 * @license			GNU General Public License version 2 or later; see LICENSE under Licensing/ directory
 */
 
defined('_JEXEC') or die('Restricted access');
?>
<?php if (!empty( $this->sidebar)) : ?>
	<div id="j-sidebar-container" class="span2">
		<?php echo $this->sidebar; ?>
	</div>
	<div id="j-main-container" class="span10">
<?php else : ?>
	<div id="j-main-container">
<?php endif;?>	
		<div class="clearfix"> </div>
		<div class="wrap">
			<h2><?php echo JText::_('COM_TIMETABLE_DUMMY_CONTENT', true); ?></h2>
		</div>
		<div>
			<button id="import_dummy" class="btn btn-small"><?php echo JText::_('COM_TIMETABLE_IMPORT_CONTENT', true); ?></button>
			<img class="spinner" src="<?php echo COM_TIMETABLE_IMAGES_URL . "ajax-loader.gif"; ?>">
			<img class="dummy_content_tick" src="<?php echo COM_TIMETABLE_IMAGES_URL . "tick.png"; ?>">
			<div class="dummy_content_info"></div>
			<br/>
			<button id="delete_content" class="btn btn-small"><?php echo JText::_('COM_TIMETABLE_DELETE_CONTENT', true); ?></button>
			<img class="spinner" src="<?php echo COM_TIMETABLE_IMAGES_URL . "ajax-loader.gif"; ?>">
			<img class="dummy_content_tick" src="<?php echo COM_TIMETABLE_IMAGES_URL . "tick.png"; ?>">
			<div class="dummy_content_info"></div>			
		</div>
		<div class="wrap">
			<h2><?php echo JText::_('COM_TIMETABLE_SHORTCODE_GENERATOR', true); ?></h2>
		</div>
		<div class="timetable_shortcode_container">
			<input style="width: 630px;" type="text" class="regular-text tt_shortcode" value="[tt_timetable]" data-default="[tt_timetable]" name="shortcode">
			<button id="copy_to_clipboard1" class="btn btn-small"><?php echo JText::_('COM_TIMETABLE_COPY_TO_CLIPBOARD', true); ?></button>
			<span class="copy_info"><?php echo JText::_('COM_TIMETABLE_SHORTCODE_COPIED', true); ?></span>
		</div>
		<form id="timetable_settings" action="<?php echo JRoute::_('index.php?option=com_timetable&view=events'); ?>" method="post" name="adminForm" id="adminForm">
			<?php echo JHtml::_('bootstrap.startTabSet', 'myTab', array('active' => 'main_configuration')); ?>		
			<?php echo $this->loadTemplate('main');?>
			<?php echo $this->loadTemplate('colors');?>
			<?php echo $this->loadTemplate('fonts');?>
			<?php echo $this->loadTemplate('custom_css');?>
			<?php echo JHtml::_('bootstrap.endTabSet'); ?>
		</form>
		<div class="timetable_shortcode_container">
			<input style="width: 630px;" type="text" class="regular-text tt_shortcode" value="[tt_timetable]" data-default="[tt_timetable]" name="shortcode">
			<button id="copy_to_clipboard2" class="btn btn-small"><?php echo JText::_('COM_TIMETABLE_COPY_TO_CLIPBOARD', true); ?></button>
			<span class="copy_info"><?php echo JText::_('COM_TIMETABLE_SHORTCODE_COPIED', true); ?></span>
		</div>
		<input type="hidden" name="task" value="" />
		<input type="hidden" name="boxchecked" value="0" />
		
		<?php echo JHtml::_('form.token'); ?>
	</div>
