<?php /* Smarty version Smarty-3.1.15, created on 2015-04-29 10:48:51
         compiled from "/home/hushdogcafe/public_html/cube/admin/skins/default/templates/settings.language.php" */ ?>
<?php /*%%SmartyHeaderCode:86958433555404693618bc6-21354509%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd8d872d54b2a2f27d578fac3a445afb173040b5b' => 
    array (
      0 => '/home/hushdogcafe/public_html/cube/admin/skins/default/templates/settings.language.php',
      1 => 1429684646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '86958433555404693618bc6-21354509',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'VAL_SELF' => 0,
    'LANGUAGES' => 0,
    'LANG' => 0,
    'language' => 0,
    'DISPLAY_EDITOR' => 0,
    'SECTIONS' => 0,
    'section' => 0,
    'MODULES' => 0,
    'module' => 0,
    'STRINGS' => 0,
    'STRING_TYPE' => 0,
    'string' => 0,
    'DISPLAY_EXPORT' => 0,
    'COMPRESSION' => 0,
    'SESSION_TOKEN' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_55404693977a71_82571945',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_55404693977a71_82571945')) {function content_55404693977a71_82571945($_smarty_tpl) {?>
<form action="<?php echo $_smarty_tpl->tpl_vars['VAL_SELF']->value;?>
" method="post" enctype="multipart/form-data">
   <?php if (isset($_smarty_tpl->tpl_vars['LANGUAGES']->value)) {?>
   <div id="lang_list" class="tab_content">
      <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['title_languages'];?>
</h3>
      <table>
         <thead>
         <tr>
            <th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['status'];?>
</th>
            <th colspan="2"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['language'];?>
</th>
            <th><?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['action'];?>
</th>
         </tr>
         </thead>
         <tbody>
         <tr>
            <td></td>
            <td><img src="language/flags/globe.png" alt="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['master_language'];?>
"></td>
            <td><?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['master_language'];?>
</td>
            <td class="actions"><a href="?_g=settings&node=language&download=definitions" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['download'];?>
"><i class="fa fa-download" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['download'];?>
"></i></a></td>
         </tr>
         <?php  $_smarty_tpl->tpl_vars['language'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['language']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['LANGUAGES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['language']->key => $_smarty_tpl->tpl_vars['language']->value) {
$_smarty_tpl->tpl_vars['language']->_loop = true;
?>
         <tr>
            <td align="center"><input type="hidden" name="status[<?php echo $_smarty_tpl->tpl_vars['language']->value['code'];?>
]" id="status_<?php echo $_smarty_tpl->tpl_vars['language']->value['code'];?>
" value="<?php echo $_smarty_tpl->tpl_vars['language']->value['status'];?>
" class="toggle"></td>
            <td><img src="<?php echo $_smarty_tpl->tpl_vars['language']->value['flag'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['language']->value['title'];?>
"></td>
            <td><a href="<?php echo $_smarty_tpl->tpl_vars['language']->value['edit'];?>
"><?php echo $_smarty_tpl->tpl_vars['language']->value['title'];?>
</a></td>
            <td class="actions">
               <a href="<?php echo $_smarty_tpl->tpl_vars['language']->value['download'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['download'];?>
"><i class="fa fa-download" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['download'];?>
"></i></a>
               <a href="<?php echo $_smarty_tpl->tpl_vars['language']->value['edit'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['edit'];?>
"><i class="fa fa-pencil-square-o" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['edit'];?>
"></i></a>
               <a href="<?php echo $_smarty_tpl->tpl_vars['language']->value['delete'];?>
" class="delete" 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>
            </td>
         </tr>
         <?php } ?>
         </tbody>
         </table>
   </div>
   <div id="lang_create" class="tab_content">
      <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['title_language_create'];?>
</h3>
      <p><strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['advanced'];?>
</strong>: <?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['help_required'];?>
</p>
      <fieldset>
         <div><label for="create_title"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['language_name'];?>
</label><span><input id="create_title" type="text" name="create[title]" class="textbox required"></span></div>
         <div><label for="create_code"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['language_code'];?>
</label><span><input id="create_code" type="text" name="create[code]" class="textbox required"></span></div>
         <div>
            <label for="create_parent"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['language_parent'];?>
</label>
            <span>
               <select id="create_parent" name="create[parent]">
                  <option value=""><?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['none'];?>
</option>
                  <?php  $_smarty_tpl->tpl_vars['language'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['language']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['LANGUAGES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['language']->key => $_smarty_tpl->tpl_vars['language']->value) {
$_smarty_tpl->tpl_vars['language']->_loop = true;
?>
                  <option value="<?php echo $_smarty_tpl->tpl_vars['language']->value['code'];?>
"><?php echo $_smarty_tpl->tpl_vars['language']->value['title'];?>
</option>
                  <?php } ?>
               </select>
            </span>
         </div>
      </fieldset>
   </div>
   <div id="lang_import" class="tab_content">
      <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['title_language_import'];?>
</h3>
      <p><strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['advanced'];?>
</strong>: <?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['help_required'];?>
</p>
      <fieldset>
         <div><label for="import_overwrite"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['filemanager']['overwrite'];?>
</label><span><input id="import_overwrite" type="checkbox" name="import[overwrite]"></span></div>
         <div><label for="import_file"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['filemanager']['file_upload'];?>
</label><span><input id="import_file" type="file" name="import[file]" class="textbox"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['example_upload'];?>
</span></div>
      </fieldset>
   </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" name="save" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['save'];?>
">
   </div>
   <?php } elseif (!$_smarty_tpl->tpl_vars['DISPLAY_EDITOR']->value) {?>
   <div id="lang_list" class="tab_content">
   <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['title_languages'];?>
</h3>
   <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['error_no_languages'];?>
</p>
   </div>
   <?php }?>
   <?php if ($_smarty_tpl->tpl_vars['DISPLAY_EDITOR']->value) {?>
   <div class="tab_content" id="general">
      <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['tab_string_edit'];?>
</h3>
      <?php if ($_smarty_tpl->tpl_vars['SECTIONS']->value) {?>
      <fieldset>
         <legend><?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['language_group_edit'];?>
</legend>
         <div>
            <select name="type" class="textbox update_form required">
               <option value=""><?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['please_select'];?>
</option>
               <?php  $_smarty_tpl->tpl_vars['section'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['section']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['SECTIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['section']->key => $_smarty_tpl->tpl_vars['section']->value) {
$_smarty_tpl->tpl_vars['section']->_loop = true;
?>
               <option value="<?php echo $_smarty_tpl->tpl_vars['section']->value['name'];?>
" <?php echo $_smarty_tpl->tpl_vars['section']->value['selected'];?>
><?php echo $_smarty_tpl->tpl_vars['section']->value['description'];?>
</option>
               <?php } ?>
               <optgroup label="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['navigation']['nav_modules'];?>
">
                  <?php  $_smarty_tpl->tpl_vars['module'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['module']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['MODULES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['module']->key => $_smarty_tpl->tpl_vars['module']->value) {
$_smarty_tpl->tpl_vars['module']->_loop = true;
?>
                  <option value="<?php echo $_smarty_tpl->tpl_vars['module']->value['path'];?>
" <?php echo $_smarty_tpl->tpl_vars['module']->value['selected'];?>
><?php echo $_smarty_tpl->tpl_vars['module']->value['name'];?>
</option>
                  <?php } ?>
               </optgroup>
            </select>
         </div>
      </fieldset>
      <?php }?>
      <?php if (isset($_smarty_tpl->tpl_vars['STRINGS']->value)) {?>
      <fieldset>
         <legend><?php echo $_smarty_tpl->tpl_vars['STRING_TYPE']->value;?>
</legend>
         <table class="phrases">
            <?php  $_smarty_tpl->tpl_vars['string'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['string']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['STRINGS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['string']->key => $_smarty_tpl->tpl_vars['string']->value) {
$_smarty_tpl->tpl_vars['string']->_loop = true;
?>
            <tr id="row_<?php echo $_smarty_tpl->tpl_vars['string']->value['name'];?>
">
               <td>
                  <label for="string_<?php echo $_smarty_tpl->tpl_vars['string']->value['name'];?>
"><?php echo $_smarty_tpl->tpl_vars['string']->value['name'];?>
</label>
                  <input type="hidden" id="defined_<?php echo $_smarty_tpl->tpl_vars['string']->value['name'];?>
" value="<?php echo $_smarty_tpl->tpl_vars['string']->value['defined'];?>
">
                  <?php if (isset($_smarty_tpl->tpl_vars['string']->value['multiline'])) {?>
                  <textarea id="string_<?php echo $_smarty_tpl->tpl_vars['string']->value['name'];?>
" name="string[<?php echo $_smarty_tpl->tpl_vars['string']->value['type'];?>
][<?php echo $_smarty_tpl->tpl_vars['string']->value['name'];?>
]" class="textbox editable_phrase" rel="<?php echo $_smarty_tpl->tpl_vars['string']->value['name'];?>
"><?php echo $_smarty_tpl->tpl_vars['string']->value['value'];?>
</textarea>
                  <?php } else { ?>
                  <input type="text" id="string_<?php echo $_smarty_tpl->tpl_vars['string']->value['name'];?>
" name="string[<?php echo $_smarty_tpl->tpl_vars['string']->value['type'];?>
][<?php echo $_smarty_tpl->tpl_vars['string']->value['name'];?>
]" value="<?php echo $_smarty_tpl->tpl_vars['string']->value['value'];?>
" class="textbox editable_phrase" rel="<?php echo $_smarty_tpl->tpl_vars['string']->value['name'];?>
">
                  <?php }?>
               </td>
               <td class="actions">
                  <input type="hidden" id="default_<?php echo $_smarty_tpl->tpl_vars['string']->value['name'];?>
" value="<?php echo $_smarty_tpl->tpl_vars['string']->value['default'];?>
">
                  <a href="#" class="revert" id="revert_<?php echo $_smarty_tpl->tpl_vars['string']->value['name'];?>
" rel="<?php echo $_smarty_tpl->tpl_vars['string']->value['name'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['revert'];?>
"><i class="fa fa-clock-o"></i></a>
               </td>
            </tr>
            <?php } ?>
         </table>
      </fieldset>
      <?php }?>
      <div>
         <input type="hidden" name="previous-tab" id="previous-tab" value="">
         <input type="submit" name="save" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['save'];?>
">
      </div>
   </div>
   <?php }?>
   <?php if (isset($_smarty_tpl->tpl_vars['DISPLAY_EXPORT']->value)) {?>
   <div class="tab_content" id="merge">
      <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['merge_db_file'];?>
</h3>
      <p><strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['advanced'];?>
</strong>: <?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['help_required'];?>
</p>
      <fieldset>
         <legend><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['title_import_options'];?>
</legend>
         <div><input type="checkbox" name="export_opt[replace]" value="1"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['translate']['replace_original'];?>
</div>
         <?php if ($_smarty_tpl->tpl_vars['COMPRESSION']->value) {?>
         <div><input type="checkbox" name="export_opt[compress]" value="1"> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['compress_file'];?>
</div>
         <?php }?>
      </fieldset>
   </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="submit" name="export" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['export'];?>
">
   </div>
   <?php }?>
   <input type="hidden" name="token" value="<?php echo $_smarty_tpl->tpl_vars['SESSION_TOKEN']->value;?>
">
</form><?php }} ?>
