</label>
	</p>

	<div class="stockCount">
		<p <?php 
if (is_array($_tmp = $this->_tpl_vars['form']) ? $this->_run_mod_handler('isRequired', true, $_tmp, 'stockCount') : smarty_modifier_isRequired($_tmp, 'stockCount')) {
    ?>
class="required"<?php 
}
?>
>
			<label for="product_stockCount_<?php 
echo $this->_tpl_vars['cat'];
?>
_<?php 
echo $this->_tpl_vars['product']['ID'];
?>
"><?php 
echo smarty_function_toolTip(array('label' => '_items_in_stock'), $this);
?>
:</label>
			<fieldset class="error">
				<?php 
echo smarty_function_textfield(array('name' => 'stockCount', 'class' => 'number', 'id' => "product_stockCount_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID']), $this);
?>

				<div class="errorText hidden"></div>
			</fieldset>
		</p>
	</div>
</fieldset>
    ?>

		<?php 
    echo smarty_function_textfield(array('id' => "massForm_shippingWeight_" . $this->_tpl_vars['categoryID'], 'class' => 'text number', 'name' => 'set_shippingWeight'), $this);
    ?>

		<?php 
    echo smarty_function_textfield(array('id' => "set_manufacturer_" . $this->_tpl_vars['categoryID'], 'name' => 'manufacturer', 'class' => 'text', 'autocomplete' => "controller=backend.manufacturer field=manufacturer"), $this);
    ?>

		<?php 
    echo smarty_function_textfield(array('id' => "set_keywords_" . $this->_tpl_vars['categoryID'], 'name' => 'set_keywords', 'class' => 'text', 'autocomplete' => "controller=backend.product field=keywords"), $this);
    ?>

		<?php 
    echo smarty_function_textfield(array('id' => "set_url_" . $this->_tpl_vars['categoryID'], 'name' => 'set_URL', 'class' => 'text', 'autocomplete' => "controller=backend.product field=URL"), $this);
    ?>

		<?php 
    echo smarty_function_selectfield(array('id' => "massForm_theme_" . $this->_tpl_vars['categoryID'], 'name' => 'theme', 'options' => $this->_tpl_vars['themes']), $this);
    ?>

		<?php 
    echo smarty_function_selectfield(array('id' => "massForm_shippingClass_" . $this->_tpl_vars['categoryID'], 'name' => 'shippingClass', 'options' => $this->_tpl_vars['shippingClasses']), $this);
    ?>

		<?php 
    echo smarty_function_selectfield(array('id' => "massForm_taxClass_" . $this->_tpl_vars['categoryID'], 'name' => 'taxClass', 'options' => $this->_tpl_vars['taxClasses']), $this);
    ?>

	</span>
		<p>
			<label></label>
			- <?php 
    echo smarty_function_translate(array('text' => '_or'), $this);
    ?>
 -
		</p>

		<p class="required">
			
				<label for="atServer"><span class="label"><?php 
    echo smarty_function_translate(array('text' => '_select_at_server'), $this);
    ?>
 </span></label>
				<fieldset class="error"><?php 
    echo smarty_function_textfield(array('name' => 'atServer', 'id' => 'atServer', 'class' => 'file'), $this);
    ?>
<input type="button" class="button browse" id="selectAtServer" value="<?php 
    echo is_array($_tmp = smarty_function_translate(array('text' => '_browse', 'disableLiveTranslation' => 'true'), $this)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html');
    ?>
" />
			
	<div class="errorText hidden<?php 
    $this->_tag_stack[] = array('error', array('for' => 'atServer'));
    $_block_repeat = true;
    smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
 visible<?php 
        $_block_content = ob_get_contents();
		</p>		
		
		<?php 
    $this->_tag_stack[] = array('language', array());
    $_block_repeat = true;
    smarty_block_language($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
			<p>
				<label><?php 
        echo smarty_function_translate(array('text' => '_image_title'), $this);
        ?>
:</label>
				<?php 
        echo smarty_function_textfield(array('name' => "title_" . $this->_tpl_vars['lang']['ID']), $this);
        ?>

			</p>
		<?php 
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_repeat = false;
        echo smarty_block_language($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
    }
    array_pop($this->_tag_stack);
    ?>
		
	
		<fieldset class="controls">	
			<span class="progressIndicator" style="display: none;"></span>
                        echo smarty_function_translate(array('text' => $this->_tpl_vars['field']['label']), $this);
                        ?>
</label>
									<span>
										<?php 
                        if ($this->_tpl_vars['field']['type'] == 'number') {
                            ?>
											<?php 
                            echo smarty_function_textfield(array('class' => "text number actionField " . $this->_tpl_vars['field']['name'], 'name' => $this->_tpl_vars['field']['name']), $this);
                            ?>

										<?php 
                        } elseif ($this->_tpl_vars['field']['type'] == 'text') {
                            ?>
											<?php 
                            echo smarty_function_textfield(array('class' => "text wide actionField " . $this->_tpl_vars['field']['name'], 'name' => $this->_tpl_vars['field']['name']), $this);
                            ?>

										<?php 
                        } elseif ($this->_tpl_vars['field']['type'] == 'select') {
                            ?>
											<?php 
                            echo smarty_function_selectfield(array('class' => "actionField " . $this->_tpl_vars['field']['name'], 'name' => $this->_tpl_vars['field']['name'], 'options' => $this->_tpl_vars['field']['options']), $this);
                            ?>

										<?php 
                        }
                        ?>
										<span class="progressIndicator" style="display: none;"></span>
									</span>
								</p>
</p>

<p <?php 
if ($this->_tpl_vars['required']) {
    ?>
class="required"<?php 
}
?>
>
	
		<label for="confpassword"><span class="label"><?php 
echo smarty_function_translate(array('text' => '_conf_password'), $this);
?>
:</span></label>
		<fieldset class="error"><?php 
echo smarty_function_textfield(array('name' => 'confpassword', 'type' => 'password', 'class' => 'text'), $this);
?>

	
	<div class="errorText hidden<?php 
$this->_tag_stack[] = array('error', array('for' => 'confpassword'));
$_block_repeat = true;
smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
    ob_start();
    ?>
 visible<?php 
    $_block_content = ob_get_contents();
    ob_end_clean();
    $_block_repeat = false;
    echo smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
							</p>
						<?php 
                }
            }
            unset($_from);
            ?>
						<div class="clear"></div>
					</div>
				<?php 
        }
        ?>
			<?php 
    } elseif (2 == $this->_tpl_vars['option']['type']) {
        ?>
				<fieldset class="error"><?php 
        echo smarty_function_textfield(array('name' => $this->_tpl_vars['fieldName'], 'class' => 'text'), $this);
        ?>

			<?php 
    } elseif (3 == $this->_tpl_vars['option']['type']) {
        ?>
				<?php 
        echo smarty_function_uniqid(array('assign' => 'uniq', 'noecho' => true), $this);
        ?>

				<?php 
        echo smarty_function_filefield(array('name' => "upload_" . $this->_tpl_vars['fieldName'], 'id' => $this->_tpl_vars['uniq']), $this);
        ?>

				<?php 
        echo smarty_function_hidden(array('name' => $this->_tpl_vars['fieldName']), $this);
            echo $this->_tpl_vars['item']['formattedDisplaySubTotal'];
            ?>

				<div class="subTotalCalc">
					<?php 
            echo $this->_tpl_vars['item']['count'];
            ?>
 x <span class="basePrice"><?php 
            echo $this->_tpl_vars['item']['formattedBasePrice'];
            ?>
</span><span class="actualPrice"><?php 
            echo $this->_tpl_vars['item']['formattedPrice'];
            ?>
</span>
				</div>
			<?php 
        }
        ?>
		</td>

		<td class="cartQuant">
			<?php 
        echo smarty_function_textfield(array('name' => "item_" . $this->_tpl_vars['item']['ID'], 'class' => 'text'), $this);
        ?>

		</td>
	</tr>
<?php 
    }
}
unset($_from);
?>

<?php 
if ($this->_tpl_vars['fields']['POSTALCODE']) {
    ?>
<p class="required">
	
		<label for="<?php 
    echo $this->_tpl_vars['prefix'];
    ?>
postalCode"><span class="label"><?php 
    echo smarty_function_translate(array('text' => '_postal_code'), $this);
    ?>
:</span></label>
		<fieldset class="error"><?php 
    echo smarty_function_textfield(array('name' => $this->_tpl_vars['prefix'] . "postalCode", 'class' => 'text'), $this);
    ?>

	
	<div class="errorText hidden<?php 
    $this->_tag_stack[] = array('error', array('for' => $this->_tpl_vars['prefix'] . "postalCode"));
    $_block_repeat = true;
    smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
 visible<?php 
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_repeat = false;
        echo smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
		<?php 
        $this->assign('autocompleteController', smarty_modifier_or($this->_tpl_vars['autocompleteController'], 'backend.product'));
        ?>
		<?php 
        $this->assign('autocomplete', "controller=" . $this->_tpl_vars['autocompleteController'] . " field=" . $this->_tpl_vars['fieldName']);
        ?>
	<?php 
    }
    ?>
	<?php 
    ob_start();
    echo $this->_tpl_vars['textFieldClass'];
    $this->_smarty_vars['capture']['default'] = ob_get_contents();
    $this->assign('blockAsParamValue', ob_get_contents());
    ob_end_clean();
    echo smarty_function_textfield(array('id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['item']['ID'] . "_" . $this->_tpl_vars['fieldName'], 'name' => $this->_tpl_vars['prefix'] . $this->_tpl_vars['fieldName'], 'class' => "text " . $this->_tpl_vars['blockAsParamValue'], 'autocomplete' => $this->_tpl_vars['autocomplete']), $this);
    ?>


<?php 
} elseif ($this->_tpl_vars['field']['type'] == 4) {
    ?>
	<div class="textarea" style="margin-left: 0;">
		<?php 
    echo smarty_function_textarea(array('id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['item']['ID'] . "_" . $this->_tpl_vars['fieldName'], 'name' => $this->_tpl_vars['prefix'] . $this->_tpl_vars['fieldName'], 'class' => 'tinyMCE'), $this);
    ?>

		<div class="errorText hidden"></div>
	</div>

<?php 
Esempio n. 11
0
				<label><?php 
        echo smarty_function_translate(array('text' => '_keywords'), $this);
        ?>
:</label>
				<?php 
        echo smarty_function_textarea(array('name' => "keywords_" . $this->_tpl_vars['lang']['ID'], 'class' => 'categoryKeywords'), $this);
        ?>

			</p>
			<p>
				<label><?php 
        echo smarty_function_translate(array('text' => '_pageTitle'), $this);
        ?>
:</label>
				<?php 
        echo smarty_function_textfield(array('name' => "pageTitle_" . $this->_tpl_vars['lang']['ID'], 'class' => 'wide'), $this);
        ?>

			</p>

			<?php 
        $_smarty_tpl_vars = $this->_tpl_vars;
        $this->_smarty_include(array('smarty_include_tpl_file' => "custom:backend/eav/language.tpl", 'smarty_include_vars' => array('item' => $this->_tpl_vars['category'], 'language' => $this->_tpl_vars['lang']['ID'])));
        $this->_tpl_vars = $_smarty_tpl_vars;
        unset($_smarty_tpl_vars);
        ?>

		<?php 
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_repeat = false;
			<fieldset class="error"><?php 
    ob_start();
    echo smarty_function_uniqid(array('assign' => 'id_state_select'), $this);
    $this->_smarty_vars['capture']['default'] = ob_get_contents();
    $this->assign('blockAsParamValue', ob_get_contents());
    ob_end_clean();
    echo smarty_function_selectfield(array('name' => $this->_tpl_vars['prefix'] . "state_select", 'style' => "display: none;", 'options' => $this->_tpl_vars['states'], 'id' => $this->_tpl_vars['blockAsParamValue']), $this);
    ?>

			<?php 
    ob_start();
    echo smarty_function_uniqid(array('assign' => 'id_state_text'), $this);
    $this->_smarty_vars['capture']['default'] = ob_get_contents();
    $this->assign('blockAsParamValue', ob_get_contents());
    ob_end_clean();
    echo smarty_function_textfield(array('name' => $this->_tpl_vars['prefix'] . "state_text", 'class' => 'text', 'id' => $this->_tpl_vars['blockAsParamValue']), $this);
    ?>

		
	<div class="errorText hidden<?php 
    $this->_tag_stack[] = array('error', array('for' => $this->_tpl_vars['prefix'] . "state_select"));
    $_block_repeat = true;
    smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
    while ($_block_repeat) {
        ob_start();
        ?>
 visible<?php 
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_repeat = false;
        echo smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
        echo smarty_function_translate(array('text' => '_capture'), $this);
        ?>
</legend>

				<span class="confirmation" style="display: none"><?php 
        echo smarty_function_translate(array('text' => '_capture_conf'), $this);
        ?>
</span>

				<p>
					<?php 
        echo smarty_function_translate(array('text' => '_capture_amount'), $this);
        ?>
:<Br />
					<?php 
        echo smarty_function_textfield(array('name' => 'amount', 'class' => 'text number', 'value' => $this->_tpl_vars['transaction']['amount']), $this);
        ?>
 <?php 
        echo $this->_tpl_vars['transaction']['Currency']['ID'];
        ?>

				</p>

				<p class="captureComment">
					<?php 
        echo smarty_function_translate(array('text' => '_comment'), $this);
        ?>
:
					<textarea name="comment"></textarea>
				</p>
:</label>
		<fieldset class="error">
			<?php 
        echo smarty_function_textfield(array('name' => "price_" . $this->_tpl_vars['currency'], 'class' => 'money price', 'id' => "product_price_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_" . $this->_tpl_vars['currency']), $this);
        ?>
 <?php 
        echo $this->_tpl_vars['currency'];
        ?>

			<span class="listPrice">
				<?php 
        echo smarty_function_toolTip(array('label' => '_list_price'), $this);
        ?>
:
				<?php 
        echo smarty_function_textfield(array('name' => "listPrice_" . $this->_tpl_vars['currency'], 'class' => 'money', 'id' => "product_listPrice_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_" . $this->_tpl_vars['currency']), $this);
        ?>

			</span>
			<a href="" class="menu setQuantPrice" style="display: none;"><?php 
        echo smarty_function_translate(array('text' => '_set_quant'), $this);
        ?>
</a>
			<div class="errorText hidden"></div>
			<?php 
        $_smarty_tpl_vars = $this->_tpl_vars;
        $this->_smarty_include(array('smarty_include_tpl_file' => "custom:backend/product/form/quantityPricing.tpl", 'smarty_include_vars' => array('currency' => $this->_tpl_vars['currency'])));
        $this->_tpl_vars = $_smarty_tpl_vars;
        unset($_smarty_tpl_vars);
        ?>
		</fieldset>
?>
:</label>
		<fieldset class="error">
			<?php 
echo smarty_function_textfield(array('name' => 'minimumQuantity', 'id' => "product_minimumQuantity_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'], 'class' => 'number'), $this);
?>

			<div class="errorText hidden"></div>
		</fieldset>
	</p>
	<p>
		<label for="product_<?php 
echo $this->_tpl_vars['cat'];
?>
_<?php 
echo $this->_tpl_vars['product']['ID'];
?>
_fractionalStep"><?php 
echo smarty_function_toolTip(array('label' => '_fractionalStep', 'hint' => '_hint_fractionalStep'), $this);
?>
:</label>
		<fieldset class="error">
			<?php 
echo smarty_function_textfield(array('name' => 'fractionalStep', 'class' => 'number', 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_fractionalStep"), $this);
?>

			<div class="errorText hidden"></div>
		</fieldset>
	</p>

</fieldset>
Esempio n. 16
0
?>

	<p>
		<label for="product_<?php 
echo $this->_tpl_vars['cat'];
?>
_<?php 
echo $this->_tpl_vars['product']['ID'];
?>
_position"><?php 
echo smarty_function_toolTip(array('label' => '_sort_order', 'hint' => '_hint_sort_order'), $this);
?>
:</label>
		<fieldset class="error">
			<?php 
echo smarty_function_textfield(array('name' => 'position', 'class' => 'number', 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_position"), $this);
?>

			<div class="errorText hidden"></div>
		</fieldset>
	</p>
	<p>
		<label></label>
		<?php 
echo smarty_function_checkbox(array('name' => 'isFeatured', 'class' => 'checkbox', 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_isfeatured"), $this);
?>

		<label for="product_<?php 
echo $this->_tpl_vars['cat'];
?>
_<?php 
Esempio n. 17
0
    if (is_array($_tmp = 'HIDE_SEARCH_CATS') ? $this->_run_mod_handler('config', true, $_tmp) : $this->_plugins['modifier']['config'][0][0]->config($_tmp)) {
        ?>
				<?php 
        echo smarty_function_hidden(array('name' => 'id', 'value' => '1'), $this);
        ?>

			<?php 
    } else {
        ?>
				<?php 
        echo smarty_function_selectfield(array('name' => 'id', 'options' => $this->_tpl_vars['categories']), $this);
        ?>

			<?php 
    }
    echo smarty_function_textfield(array('class' => 'text searchQuery', 'name' => 'q', 'placeholder' => "Search...", 'style' => "border: none; position: relative;"), $this);
    ?>

<input type="submit" class="submit" style="position: relative; right: 29px; border: none; background-image: url('upload/theme/IlluminataV3/searchicon.jpg'); background-position: right; background-repeat: no-repeat; background-color: white; color: gray;" value="|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" />
			<input type="hidden" name="cathandle" value="search" />
		<?php 
    $_block_content = ob_get_contents();
    ob_end_clean();
    $_block_repeat = false;
    echo smarty_block_form($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
}
array_pop($this->_tag_stack);
?>
		
		<?php 
echo smarty_function_renderBlock(array('block' => 'CURRENCY'), $this);
	<p>
		<label for="product_<?php 
    echo $this->_tpl_vars['cat'];
    ?>
_<?php 
    echo $this->_tpl_vars['product']['ID'];
    ?>
_pageTitle_<?php 
    echo $this->_tpl_vars['lang']['ID'];
    ?>
"><?php 
    echo smarty_function_translate(array('text' => '_pageTitle'), $this);
    ?>
:</label>
		<?php 
    echo smarty_function_textfield(array('name' => "pageTitle_" . $this->_tpl_vars['lang']['ID'], 'class' => 'wide', 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_pageTitle_" . $this->_tpl_vars['lang']['ID']), $this);
    ?>

	</p>

	<?php 
    if ($this->_tpl_vars['multiLingualSpecFieldss']) {
        ?>
	<fieldset>
		<legend><?php 
        echo smarty_function_translate(array('text' => '_specification_attributes'), $this);
        ?>
</legend>
		<?php 
        $_smarty_tpl_vars = $this->_tpl_vars;
        $this->_smarty_include(array('smarty_include_tpl_file' => "custom:backend/eav/language.tpl", 'smarty_include_vars' => array('item' => $this->_tpl_vars['product'], 'cat' => $this->_tpl_vars['cat'], 'language' => $this->_tpl_vars['lang']['ID'])));
echo smarty_function_textfield(array('name' => $this->_tpl_vars['namePrefix'] . "postalCode", 'id' => $this->_tpl_vars['idPrefix'] . "_postalCode", 'class' => 'text'), $this);
?>

	<div class="errorText" style="display: none" ></div>
</fieldset>

<fieldset class="error">
	<label for="<?php 
echo $this->_tpl_vars['idPrefix'];
?>
_phone"><?php 
echo smarty_function_translate(array('text' => '_phone'), $this);
?>
</label>
	<?php 
echo smarty_function_textfield(array('name' => $this->_tpl_vars['namePrefix'] . "phone", 'id' => $this->_tpl_vars['idPrefix'] . "_phone", 'class' => 'text'), $this);
?>

</fieldset>

<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "custom:block/eav/fields.tpl", 'smarty_include_vars' => array('item' => $this->_tpl_vars['address'], 'fieldList' => $this->_tpl_vars['specFieldListByOwner']['UserAddress'][$this->_tpl_vars['address']['ID']])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

<script type="text/javascript">
$('<?php 
echo $this->_tpl_vars['idPrefix'];
?>
Esempio n. 20
0
	</fieldset>
		</p>
		<p<?php 
        if (smarty_modifier_isRequired($this->_tpl_vars['ratingForm'], 'title')) {
            ?>
 class="required"<?php 
        }
        ?>
>
			
				<label class="wide" style="padding-bottom: 0px !important;"><?php 
        echo smarty_function_translate(array('text' => '_summary'), $this);
        ?>
:</label>
				<fieldset class="error"><?php 
        echo smarty_function_textfield(array('name' => 'title', 'class' => 'text wide'), $this);
        ?>

			
	<div class="errorText hidden<?php 
        $this->_tag_stack[] = array('error', array('for' => 'title'));
        $_block_repeat = true;
        smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
 visible<?php 
            $_block_content = ob_get_contents();
            ob_end_clean();
            $_block_repeat = false;
            echo smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
				</p>
			<?php 
    }
    ?>

			<?php 
    if ($this->_tpl_vars['fields']['CITY']) {
        ?>
				<p>
					<label><?php 
        echo smarty_function_translate(array('text' => '_city'), $this);
        ?>
</label>
					<?php 
        echo smarty_function_textfield(array('name' => 'estimate_city'), $this);
        ?>

				</p>
			<?php 
    }
    ?>

			<p>
				<label></label>
				<input type="submit" class="submit" value="<?php 
    echo is_array($_tmp = smarty_function_translate(array('text' => '_update_address', 'disableLiveTranslation' => 'true'), $this)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html');
    ?>
" name="updateEstimateAddress" />
			</p>
		</div>
<?php

/* Smarty version 2.6.26, created on 2015-12-01 10:48:41
   compiled from custom:product/block/quantity.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'config', 'custom:product/block/quantity.tpl', 1, false), array('modifier', 'default', 'custom:product/block/quantity.tpl', 2, false), array('function', 'textfield', 'custom:product/block/quantity.tpl', 2, false), array('function', 'selectfield', 'custom:product/block/quantity.tpl', 4, false))), $this);
if ($this->_tpl_vars['product']['isFractionalUnit'] || (is_array($_tmp = 'QUANT_FIELD_TYPE') ? $this->_run_mod_handler('config', true, $_tmp) : $this->_plugins['modifier']['config'][0][0]->config($_tmp)) == 'QUANT_INPUT') {
    ?>
	<?php 
    echo smarty_function_textfield(array('name' => is_array($_tmp = @$this->_tpl_vars['field']) ? $this->_run_mod_handler('default', true, $_tmp, 'count') : smarty_modifier_default($_tmp, 'count'), 'class' => 'text number'), $this);
    ?>

<?php 
} else {
    ?>
	<?php 
    echo smarty_function_selectfield(array('name' => is_array($_tmp = @$this->_tpl_vars['field']) ? $this->_run_mod_handler('default', true, $_tmp, 'count') : smarty_modifier_default($_tmp, 'count'), 'options' => $this->_tpl_vars['quantity'], 'class' => 'quantity', 'style' => "color: black"), $this);
    ?>

<?php 
}
Esempio n. 23
0
$_block_repeat = true;
smarty_block_form($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
    ob_start();
    ?>
	<?php 
    if ($this->_tpl_vars['new'] || $this->_tpl_vars['template']['isCustomFile']) {
        ?>
		<p>
			
				<label style="margin-top: 9px;"><?php 
        echo smarty_function_translate(array('text' => '_template_file_name'), $this);
        ?>
:</label>
				<fieldset class="error"><?php 
        echo smarty_function_textfield(array('name' => 'fileName', 'class' => 'text'), $this);
        ?>

			
	<div class="errorText hidden<?php 
        $this->_tag_stack[] = array('error', array('for' => 'fileName'));
        $_block_repeat = true;
        smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>
 visible<?php 
            $_block_content = ob_get_contents();
            ob_end_clean();
            $_block_repeat = false;
            echo smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], $_block_content, $this, $_block_repeat);
Esempio n. 24
0
			<?php 
$this->_tag_stack[] = array('form', array('action' => "controller=backend.payment action=addOffline id=" . $this->_tpl_vars['order']['ID'], 'method' => 'POST', 'handle' => $this->_tpl_vars['offlinePaymentForm'], 'onsubmit' => "Backend.Payment.submitOfflinePaymentForm(event);"));
$_block_repeat = true;
smarty_block_form($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
while ($_block_repeat) {
    ob_start();
    ?>

				<p>
					<label><?php 
    echo smarty_function_translate(array('text' => '_amount'), $this);
    ?>
:</label>
					<fieldset class="error">
						<?php 
    echo smarty_function_textfield(array('name' => 'amount', 'class' => 'text number'), $this);
    ?>
 <?php 
    echo $this->_tpl_vars['order']['Currency']['ID'];
    ?>

						<div class="errorText hidden"></div>
					</fieldset>
				</p>

				<p>
					<label><?php 
    echo smarty_function_translate(array('text' => '_comment'), $this);
    ?>
:</label>
					<?php 
Esempio n. 25
0
                ?>
:</label>

		<fieldset class="error">
			<?php 
                if ($this->_tpl_vars['types'][$this->_tpl_vars['fieldName']] == 'longtext') {
                    ?>
				<?php 
                    echo smarty_function_textarea(array('class' => 'tinyMCE', 'name' => $this->_tpl_vars['fieldName'] . "_" . $this->_tpl_vars['lang']['ID'], 'id' => $this->_tpl_vars['fieldName'] . "_" . $this->_tpl_vars['lang']['ID']), $this);
                    ?>

			<?php 
                } else {
                    ?>
				<?php 
                    echo smarty_function_textfield(array('class' => 'text wide', 'name' => $this->_tpl_vars['fieldName'] . "_" . $this->_tpl_vars['lang']['ID'], 'id' => $this->_tpl_vars['fieldName'] . "_" . $this->_tpl_vars['lang']['ID']), $this);
                    ?>

			<?php 
                }
                ?>
			<div class="errorText hidden"></div>
		</fieldset>
	</p>
	<?php 
            }
        }
        unset($_from);
        $_block_content = ob_get_contents();
        ob_end_clean();
        $_block_repeat = false;
Esempio n. 26
0
_format" value="4" />
<?php 
}
?>

<p class="required">
	<label for="newsletter_<?php 
echo $this->_tpl_vars['newsletter']['ID'];
?>
_name"><?php 
echo smarty_function_translate(array('text' => '_subject'), $this);
?>
:</label>
	<fieldset class="error">
		<?php 
echo smarty_function_textfield(array('name' => 'subject', 'id' => "newsletter_" . $this->_tpl_vars['newsletter']['ID'] . "_name", 'class' => 'wide'), $this);
?>

		<div class="errorText hidden"></div>
	</fieldset>
</p>

<p class="required">
	<label for="newsletter_<?php 
echo $this->_tpl_vars['cat'];
?>
_<?php 
echo $this->_tpl_vars['newsletter']['ID'];
?>
_html"><?php 
echo smarty_function_translate(array('text' => '_message_text_html'), $this);
Esempio n. 27
0
	</p>

	<p class="required">
		<label for="user_<?php 
    echo $this->_tpl_vars['someUser']['UserGroup']['ID'];
    ?>
_<?php 
    echo $this->_tpl_vars['someUser']['ID'];
    ?>
_email"><?php 
    echo smarty_function_translate(array('text' => '_email'), $this);
    ?>
</label>
		<fieldset class="error">
			<?php 
    echo smarty_function_textfield(array('name' => 'email', 'id' => "user_" . $this->_tpl_vars['someUser']['UserGroup']['ID'] . "_" . $this->_tpl_vars['someUser']['ID'] . "_email"), $this);
    ?>

			<div class="errorText" style="display: none" ></span>
		</fieldset>
	</p>

	<?php 
    $_smarty_tpl_vars = $this->_tpl_vars;
    $this->_smarty_include(array('smarty_include_tpl_file' => "custom:backend/eav/fields.tpl", 'smarty_include_vars' => array('item' => $this->_tpl_vars['someUser'])));
    $this->_tpl_vars = $_smarty_tpl_vars;
    unset($_smarty_tpl_vars);
    ?>

	<p <?php 
    if (!$this->_tpl_vars['someUser']['ID']) {
Esempio n. 28
0
                        ?>
);
						</script>
					<?php 
                    } elseif ('text-decoration' == $this->_tpl_vars['property']['type']) {
                        ?>
						<?php 
                        echo smarty_function_selectfield(array('options' => $this->_tpl_vars['textStyles']), $this);
                        ?>

					<?php 
                    } elseif ('font' == $this->_tpl_vars['property']['type']) {
                        ?>
						<div class="fontEntry">
							<?php 
                        echo smarty_function_textfield(array('name' => $this->_tpl_vars['property']['var'], 'id' => $this->_tpl_vars['property']['id'], 'class' => 'text'), $this);
                        ?>

						</div>
					<?php 
                    } elseif ('checkbox' == $this->_tpl_vars['property']['type']) {
                        ?>
						<?php 
                        ob_start();
                        echo smarty_function_uniqid(array(), $this);
                        $this->_smarty_vars['capture']['default'] = ob_get_contents();
                        $this->assign('blockAsParamValue', ob_get_contents());
                        ob_end_clean();
                        echo smarty_function_checkbox(array('id' => $this->_tpl_vars['blockAsParamValue'], 'name' => 'option', 'class' => 'option checkbox', 'value' => $this->_tpl_vars['property']['append']), $this);
                        ?>