<?php /* Smarty version Smarty-3.1.15, created on 2015-04-27 21:21:18
         compiled from "/home/hushdogcafe/public_html/cube/admin/skins/default/templates/documents.contact.php" */ ?>
<?php /*%%SmartyHeaderCode:1045542076553e37ce685b79-91112027%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1edea99fc4603078776f86d710c37f1dda521810' => 
    array (
      0 => '/home/hushdogcafe/public_html/cube/admin/skins/default/templates/documents.contact.php',
      1 => 1429684646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1045542076553e37ce685b79-91112027',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'VAL_SELF' => 0,
    'LANG' => 0,
    'CONTACT' => 0,
    'DEPARTMENTS' => 0,
    'department' => 0,
    'SESSION_TOKEN' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_553e37ce751e29_96327814',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_553e37ce751e29_96327814')) {function content_553e37ce751e29_96327814($_smarty_tpl) {?>
<form action="<?php echo $_smarty_tpl->tpl_vars['VAL_SELF']->value;?>
" method="post">
  <div id="general" class="tab_content">
	<h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['contact']['title_contact'];?>
</h3>
	<p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['contact']['contact_info'];?>
</p>
	<fieldset><legend><?php echo $_smarty_tpl->tpl_vars['LANG']->value['contact']['title_configuration'];?>
</legend>
	  <div><label for="status"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['status'];?>
</label><span><input type="hidden" name="contact[status]" id="status" value="<?php echo $_smarty_tpl->tpl_vars['CONTACT']->value['status'];?>
" class="toggle"></span></div>
	  <div><label for="email"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['contact']['email_override'];?>
</label><span><input type="text" name="contact[email]" id="email" value="<?php echo $_smarty_tpl->tpl_vars['CONTACT']->value['email'];?>
" class="textbox"></span></div>
	</fieldset>

	<fieldset><legend><?php echo $_smarty_tpl->tpl_vars['LANG']->value['contact']['title_departments'];?>
</legend>
	  <div id="departments">
	  <?php if (isset($_smarty_tpl->tpl_vars['DEPARTMENTS']->value)) {?>
	  <?php  $_smarty_tpl->tpl_vars['department'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['department']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['DEPARTMENTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['department']->key => $_smarty_tpl->tpl_vars['department']->value) {
$_smarty_tpl->tpl_vars['department']->_loop = true;
?>
		<div>
		  <?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['name'];?>
: <input type="text" name="department[name][]" id="" value="<?php echo $_smarty_tpl->tpl_vars['department']->value['name'];?>
" class="textbox">
		  <?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['email'];?>
: <input type="text" name="department[email][]" id="" value="<?php echo $_smarty_tpl->tpl_vars['department']->value['email'];?>
" class="textbox">
		  <a href="#" class="remove" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['notification']['confirm_delete'];?>
"><i class="fa fa-trash" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['delete'];?>
"></i></a>
		</div>
	  <?php } ?>
	  <?php }?>

	  </div>
	  <div class="list-footer">
			<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['name'];?>
: <input type="text" name="department[name][]" id="" class="textbox">
			<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['email'];?>
: <input type="text" name="department[email][]" id="" class="textbox"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['optional'];?>

	  </div>
	</fieldset>
  </div>
  <div id="pagecontent" class="tab_content">
  <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['contact']['title_content'];?>
</h3>
	<p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['contact']['content_info'];?>
</p>
	<textarea name="contact[description]" id="description" class="textbox fck"><?php echo $_smarty_tpl->tpl_vars['CONTACT']->value['description'];?>
</textarea>
  </div>
  
  <?php echo $_smarty_tpl->getSubTemplate ('templates/element.hook_form_content.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

  
  <div class="form_control">
	<input type="hidden" name="previous-tab" id="previous-tab" value="">
	<input type="submit" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['save'];?>
">
  </div>
  <input type="hidden" name="token" value="<?php echo $_smarty_tpl->tpl_vars['SESSION_TOKEN']->value;?>
">
</form><?php }} ?>
