Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/administrator/components/com_hikashop/views/config/tmpl/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/administrator/components/com_hikashop/views/config/tmpl/languages.php

<?php
/**
 * @package	HikaShop for Joomla!
 * @version	2.2.3
 * @author	hikashop.com
 * @copyright	(C) 2010-2013 HIKARI SOFTWARE. All rights reserved.
 * @license	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?><?php if(!HIKASHOP_BACK_RESPONSIVE) { ?>
<div id="page-languages">
<?php } else { ?>
<div id="page-languages" class="row-fluid">
	<div class="span12">
<?php } ?>
		<table class="admintable table"
cellspacing="1">
			<tr>
				<td class="key" >
					<?php echo JText::_('MULTI_LANGUAGE_EDIT'); ?>
				</td>
				<td>
					<?php
					if(hikashop_level(1)){
						$translationHelper = hikashop_get('helper.translation');
						if($translationHelper->isMulti(true)){
							$update = hikashop_get('helper.update');
							$update->addJoomfishElements(false);
							echo JHTML::_('hikaselect.booleanlist',
"config[multi_language_edit]" , '',
$this->config->get('multi_language_edit'));
						}else{
							echo JText::_('INSTALL_JOOMFISH');
						}
					}else{
						echo JHTML::_('hikaselect.booleanlist',
"config[multi_language_edit]" , ' DISABLED', 0).'
<small
style="color:red">'.JText::_('ONLY_COMMERCIAL').'</small>';
					}
					?>
				</td>
			</tr>
			<?php if(hikashop_level(1)){ ?>
			<tr>
				<td class="key" >
				<?php echo JText::_('DEFAULT_TRANSLATION_PUBLISH'); ?>
				</td>
				<td>
					<?php echo JHTML::_('hikaselect.booleanlist',
"config[default_translation_publish]" ,
'',$this->config->get('default_translation_publish',0)
);?>
				</td>
			</tr>
			<?php if(hikashop_level(9)){ ?>
				<tr>
					<td class="key" >
					<?php echo JText::_('MUTLILANGUAGE_INTERFACE_DISPLAY');
?>
					</td>
					<td>
						<?php echo
$this->multilang->display("config[multilang_display]" ,
$this->config->get('multilang_display','tabs')
);?>
					</td>
				</tr>
			<?php }
			} ?>
		</table>
<?php if(HIKASHOP_BACK_RESPONSIVE) { ?>
	</div>
<?php } ?>
	<fieldset class="adminform">
		<legend><?php echo JText::_('LANGUAGES')
?></legend>
		<table class="adminlist table table-striped"
cellpadding="1">
			<thead>
				<tr>
					<th class="title titlenum">
						<?php echo JText::_( 'HIKA_NUM' );?>
					</th>
					<th class="title titletoggle">
						<?php echo JText::_('HIKA_EDIT'); ?>
					</th>
					<th class="title">
						<?php echo JText::_('HIKA_NAME'); ?>
					</th>
					<th class="title titletoggle">
						<?php echo JText::_('ID'); ?>
					</th>
				</tr>
			</thead>
			<tbody>
				<?php
					$k = 0;
					for($i = 0,$a = count($this->languages);$i<$a;$i++){
						$row =& $this->languages[$i];
				?>
					<tr class="row<?php echo $k; ?>">
						<td align="center">
						<?php echo $i+1; ?>
						</td>
						<td  align="center">
							<?php if($this->manage) echo $row->edit; ?>
						</td>
						<td align="center">
							<?php echo $row->name; ?>
						</td>
						<td align="center">
							<?php echo $row->language; ?>
						</td>
					</tr>
				<?php
						$k = 1-$k;
					}
				?>
			</tbody>
		</table>
</div>