<?php /* Smarty version 2.6.26, created on 2017-04-14 15:06:44
         compiled from /home3/bargaip4/public_html/gevimmo/plugins/multiField/admin/edit_format_block.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count', '/home3/bargaip4/public_html/gevimmo/plugins/multiField/admin/edit_format_block.tpl', 25, false),array('function', 'rlHook', '/home3/bargaip4/public_html/gevimmo/plugins/multiField/admin/edit_format_block.tpl', 44, false),)), $this); ?>
<!-- edit format form -->

<form onsubmit="editItem('<?php echo $this->_tpl_vars['item']['Key']; ?>
');$('input[name=item_edit]').val('<?php echo $this->_tpl_vars['lang']['loading']; ?>
');return false;" action="" method="post">
	<table class="form">
	<tr>
		<td class="name"><span class="red">*</span><?php echo $this->_tpl_vars['lang']['key']; ?>
</td>
		<td class="field">
			<input readonly="readonly" class="disabled" type="text" id="ni_key" style="width: 200px;" maxlength="60" value="<?php echo $this->_tpl_vars['item']['Key']; ?>
" />
		</td>
	</tr>
	<?php if ($this->_tpl_vars['geo_filter']): ?>
		<tr>
			<td class="name"><?php echo $this->_tpl_vars['lang']['mf_path']; ?>
</td>

			<td class="field"><span class="field_description_noicon" style="padding:0"><?php echo @RL_URL_HOME; ?>
<?php if ($this->_tpl_vars['parent_path']): ?><?php echo $this->_tpl_vars['parent_path']; ?>
/<?php endif; ?></span>
				<input type="text" id="ei_path" style="width: 200px;" maxlength="60" value="<?php echo $this->_tpl_vars['item']['Path']; ?>
"/>
			</td>
		</tr>
	<?php endif; ?>
	<tr>
		<td class="name">
			<div><span class="red">*</span><?php echo $this->_tpl_vars['lang']['value']; ?>
</span></div>
		</td>
		<td class="field">
			<?php if (count($this->_tpl_vars['allLangs']) > 1): ?>
				<ul class="tabs">
					<?php $_from = $this->_tpl_vars['allLangs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['langF'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['langF']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['language']):
        $this->_foreach['langF']['iteration']++;
?>
					<li lang="<?php echo $this->_tpl_vars['language']['Code']; ?>
" <?php if (($this->_foreach['langF']['iteration'] <= 1)): ?>class="active"<?php endif; ?>><?php echo $this->_tpl_vars['language']['name']; ?>
</li>
					<?php endforeach; endif; unset($_from); ?>
				</ul>
			<?php endif; ?>
			
			<?php $_from = $this->_tpl_vars['allLangs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['langF'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['langF']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['language']):
        $this->_foreach['langF']['iteration']++;
?>
				<?php if (count($this->_tpl_vars['allLangs']) > 1): ?><div class="tab_area<?php if (! ($this->_foreach['langF']['iteration'] <= 1)): ?> hide<?php endif; ?> <?php echo $this->_tpl_vars['language']['Code']; ?>
"><?php endif; ?>
				<input id="ei_<?php echo $this->_tpl_vars['language']['Code']; ?>
" type="text" style="width: 250px;" value="<?php echo $this->_tpl_vars['names'][$this->_tpl_vars['language']['Code']]['Value']; ?>
" />
				<?php if (count($this->_tpl_vars['allLangs']) > 1): ?>
					<span class="field_description_noicon"><?php echo $this->_tpl_vars['lang']['name']; ?>
 (<b><?php echo $this->_tpl_vars['language']['name']; ?>
</b>)</span>
				</div>
				<?php endif; ?>
			<?php endforeach; endif; unset($_from); ?>
		</td>
	</tr>
	
	<?php echo rlHook::load(array('name' => 'apTplDataFormatsEditItemField'), $this);?>

	
	<tr>
		<td class="name"><?php echo $this->_tpl_vars['lang']['status']; ?>
</td>
		<td class="field">
			<select id="ei_status">
				<option value="active" <?php if ($this->_tpl_vars['item']['Status'] == 'active'): ?>selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['lang']['active']; ?>
</option>
				<option value="approval" <?php if ($this->_tpl_vars['item']['Status'] == 'approval'): ?>selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['lang']['approval']; ?>
</option>
			</select>
		</td>
	</tr>
	
	<tr>
		<td></td>
		<td class="field">
			<input type="submit" name="item_edit" value="<?php echo $this->_tpl_vars['lang']['edit']; ?>
" />
			<a href="javascript:void(0)" onclick="$('#edit_item').slideUp('normal')" class="cancel" type="button"><?php echo $this->_tpl_vars['lang']['close']; ?>
</a>
		</td>
	</tr>
	</table>
</form>

<!-- edit format form end -->