コード例 #1
0
    ?>
_<?php 
    echo $this->_tpl_vars['someUser']['ID'];
    ?>
_password_show" class="checkbox"><?php 
    echo smarty_function_translate(array('text' => '_show_password'), $this);
    ?>
</label>
			</fieldset >
			<div class="errorText" style="display: none" ></span>
		</fieldset>
	</p>

	<p class="sameAddress">
		<?php 
    echo smarty_function_checkbox(array('name' => 'sameAddresses', 'id' => "user_" . $this->_tpl_vars['someUser']['UserGroup']['ID'] . "_" . $this->_tpl_vars['someUser']['ID'] . "_sameAddresses", 'class' => 'checkbox'), $this);
    ?>

		<label for="user_<?php 
    echo $this->_tpl_vars['someUser']['UserGroup']['ID'];
    ?>
_<?php 
    echo $this->_tpl_vars['someUser']['ID'];
    ?>
_sameAddresses" class="checkbox"><?php 
    echo smarty_function_translate(array('text' => "_same_billing_and_shipping_addresses?"), $this);
    ?>
</label>
	</p>

	<br class="clear" />
コード例 #2
0
                        ?>
					<?php 
                        if ('multi' == $this->_tpl_vars['values'][$this->_tpl_vars['fieldName']]['extra']) {
                            ?>
						<div class="multi">
						<?php 
                            $_from = $this->_tpl_vars['values'][$this->_tpl_vars['fieldName']]['type'];
                            if (!is_array($_from) && !is_object($_from)) {
                                settype($_from, 'array');
                            }
                            if (count($_from)) {
                                foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']) {
                                    ?>
							<p>
							<?php 
                                    echo smarty_function_checkbox(array('name' => $this->_tpl_vars['fieldName'] . "[" . $this->_tpl_vars['key'] . "]", 'class' => 'checkbox', 'value' => 1), $this);
                                    ?>

							<label for="<?php 
                                    echo $this->_tpl_vars['fieldName'];
                                    ?>
[<?php 
                                    echo $this->_tpl_vars['key'];
                                    ?>
]" class="checkbox"><?php 
                                    echo $this->_tpl_vars['value'];
                                    ?>
</label>
							</p>
						<?php 
                                }
コード例 #3
0
: <?php 
    echo smarty_function_textfield(array('class' => 'text number', 'id' => "massForm_related_" . $this->_tpl_vars['categoryID'], 'name' => 'related', 'autocomplete' => "controller=backend.product field=sku"), $this);
    ?>

		</span>
		<span class="move">
			<input type="hidden" name="categoryID" />
		</span>

		<span class="inc_price">
			<?php 
    echo smarty_function_textfield(array('id' => "inc_price_" . $this->_tpl_vars['categoryID'], 'class' => 'text number', 'name' => 'inc_price_value'), $this);
    ?>
%
			<?php 
    echo smarty_function_checkbox(array('id' => "inc_quant_price_" . $this->_tpl_vars['categoryID'], 'name' => 'inc_quant_price'), $this);
    ?>

			<label for="inc_quant_price_<?php 
    echo $this->_tpl_vars['categoryID'];
    ?>
" style="float: none;"><?php 
    echo smarty_function_translate(array('text' => '_inc_quant_prices'), $this);
    ?>
</label>
		</span>

		<?php 
    echo smarty_function_textfield(array('id' => "massForm_inc_stock_" . $this->_tpl_vars['categoryID'], 'class' => 'text number', 'name' => 'inc_stock'), $this);
    ?>
コード例 #4
0
	<?php 
if ($this->_tpl_vars['option']['fieldName']) {
    $this->assign('fieldName', $this->_tpl_vars['option']['fieldName']);
} else {
    $this->assign('fieldName', "option_" . $this->_tpl_vars['option']['ID']);
}
?>
	<?php 
$this->assign('fieldName', $this->_tpl_vars['optionPrefix'] . $this->_tpl_vars['fieldName']);
?>
	<?php 
if (0 == $this->_tpl_vars['option']['type']) {
    ?>
		
			<fieldset class="error"><?php 
    echo smarty_function_checkbox(array('name' => $this->_tpl_vars['fieldName'], 'class' => 'checkbox'), $this);
    ?>

			<label for=<?php 
    echo $this->_tpl_vars['fieldName'];
    ?>
 class="checkbox">
				<?php 
    echo $this->_tpl_vars['option']['name_lang'];
    ?>

				<?php 
    smarty_fun_optionPrice($this, array('choice' => $this->_tpl_vars['option']['DefaultChoice']));
    ?>
			</label>
コード例 #5
0
 /**
  * @param string $expected
  * @param array  $params
  */
 private function _assertSame($expected, array $params)
 {
     $this->assertSame($expected, smarty_function_checkbox($params, $this->_template));
 }
コード例 #6
0
		<label for="product_isBackOrderable_<?php 
echo $this->_tpl_vars['cat'];
?>
_<?php 
echo $this->_tpl_vars['product']['ID'];
?>
"><?php 
echo smarty_function_toolTip(array('label' => '_allow_back_ordering'), $this);
?>
</label>
	</p>
	<p class="checkbox">
		<label></label>
		<?php 
echo smarty_function_checkbox(array('name' => 'isFractionalUnit', 'class' => 'checkbox', 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_isFractionalUnit"), $this);
?>

		<label for="product_<?php 
echo $this->_tpl_vars['cat'];
?>
_<?php 
echo $this->_tpl_vars['product']['ID'];
?>
_isFractionalUnit" class="checkbox"><?php 
echo smarty_function_toolTip(array('label' => '_allow_fractional_quantities'), $this);
?>
</label>
	</p>

	<p>
コード例 #7
0
    echo smarty_function_checkbox(array('name' => 'menuInformation', 'class' => 'checkbox', 'id' => "menuInformation_" . $this->_tpl_vars['page']['ID']), $this);
    ?>

		<label for="menuInformation_<?php 
    echo $this->_tpl_vars['page']['ID'];
    ?>
" class="checkbox"><?php 
    echo smarty_function_translate(array('text' => '_information_menu'), $this);
    ?>
</label>
	</fieldset>

	<fieldset class="error">
		<label></label>
		<?php 
    echo smarty_function_checkbox(array('name' => 'menuRootCategories', 'class' => 'checkbox', 'id' => "menuRootCategories_" . $this->_tpl_vars['page']['ID']), $this);
    ?>

		<label for="menuRootCategories_<?php 
    echo $this->_tpl_vars['page']['ID'];
    ?>
" class="checkbox"><?php 
    echo smarty_function_translate(array('text' => '_main_header_menu'), $this);
    ?>
</label>
	</fieldset>

	<p>
		<label for="handle" class="wide"><?php 
    echo smarty_function_translate(array('text' => '_handle'), $this);
    ?>
コード例 #8
0
?>
<fieldset class="inventory <?php 
if (is_array($_tmp = 'INVENTORY_TRACKING_DOWNLOADABLE') ? $this->_run_mod_handler('config', true, $_tmp) : $this->_plugins['modifier']['config'][0][0]->config($_tmp)) {
    ?>
downloadableInventory<?php 
}
?>
">
	<legend><?php 
echo smarty_function_translate(array('text' => '_inventory'), $this);
?>
</legend>
	<p>
		<label></label>
		<?php 
echo smarty_function_checkbox(array('name' => 'isUnlimitedStock', 'class' => 'checkbox isUnlimitedStock', 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['product']['ID'] . "_isUnlimitedStock"), $this);
?>

		<label class="checkbox" for="product_<?php 
echo $this->_tpl_vars['cat'];
?>
_<?php 
echo $this->_tpl_vars['product']['ID'];
?>
_isUnlimitedStock"><?php 
echo smarty_function_toolTip(array('label' => '_unlimited_stock'), $this);
?>
</label>
	</p>

	<div class="stockCount">
コード例 #9
0
			<label for="product_<?php 
    echo $this->_tpl_vars['cat'];
    ?>
_<?php 
    echo $this->_tpl_vars['product']['ID'];
    ?>
_isVariationImages" class="checkbox"><?php 
    echo smarty_function_toolTip(array('label' => '_show_variation_images'), $this);
    ?>
</label>
		</p>

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

			<label for="product_<?php 
    echo $this->_tpl_vars['cat'];
    ?>
_<?php 
    echo $this->_tpl_vars['product']['ID'];
    ?>
_isAllVariations" class="checkbox"><?php 
    echo smarty_function_toolTip(array('label' => '_allow_all_variations'), $this);
    ?>
</label>
		</p>
	</fieldset>
	</td><td>
コード例 #10
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();
    ?>

	<fieldset>
		<legend><?php 
    echo smarty_function_translate(array('text' => '_main_info'), $this);
    ?>
</legend>

		<p>
			<label></label>
			<?php 
    echo smarty_function_checkbox(array('name' => 'isEnabled', 'class' => 'checkbox', 'id' => "isEnabled_" . $this->_tpl_vars['condition']['ID']), $this);
    ?>

			<label for="isEnabled_<?php 
    echo $this->_tpl_vars['condition']['ID'];
    ?>
" class="checkbox"><?php 
    echo smarty_function_toolTip(array('label' => '_is_enabled', 'hint' => '_tip_is_enabled_condition'), $this);
    ?>
</label>
		</p>

		<?php 
    $_smarty_tpl_vars = $this->_tpl_vars;
    $this->_smarty_include(array('smarty_include_tpl_file' => "custom:backend/discount/conditionForm.tpl", 'smarty_include_vars' => array('id' => "userInfo_" . $this->_tpl_vars['condition']['ID'] . "_form")));
    $this->_tpl_vars = $_smarty_tpl_vars;
コード例 #11
0
    unset($_from);
    ?>
				<input type="hidden" value="" name="userGroupIDs" id="userGroupIDs" />
				<p>
					<?php 
    echo smarty_function_checkbox(array('class' => 'checkbox', 'name' => 'users', 'onchange' => "Backend.Newsletter.updateRecipientCount(this)"), $this);
    ?>

					<label class="checkbox" for="users"><?php 
    echo smarty_function_translate(array('text' => '_all_users'), $this);
    ?>
</label>
				</p>
				<p>
					<?php 
    echo smarty_function_checkbox(array('class' => 'checkbox', 'name' => 'subscribers', 'onchange' => "Backend.Newsletter.updateRecipientCount(this)"), $this);
    ?>

					<label class="checkbox" for="subscribers"><?php 
    echo smarty_function_translate(array('text' => '_all_subscribers'), $this);
    ?>
</label>
				<p>
				<fieldset class="container">
					<p class="recipientCount">
						<?php 
    $_smarty_tpl_vars = $this->_tpl_vars;
    $this->_smarty_include(array('smarty_include_tpl_file' => "custom:backend/newsletter/recipientCount.tpl", 'smarty_include_vars' => array('count' => $this->_tpl_vars['recipientCount'])));
    $this->_tpl_vars = $_smarty_tpl_vars;
    unset($_smarty_tpl_vars);
    ?>
コード例 #12
0
			<div class="eavCheckboxes">
				<?php 
        $_from = $this->_tpl_vars['field']['values'];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        if (count($_from)) {
            foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['value']) {
                ?>
					<?php 
                if ('' != $this->_tpl_vars['id']) {
                    ?>
						<p>
							<?php 
                    echo smarty_function_checkbox(array('name' => $this->_tpl_vars['prefix'] . "specItem_" . $this->_tpl_vars['id'], 'class' => 'checkbox', 'value' => 'on', 'id' => "product_" . $this->_tpl_vars['cat'] . "_" . $this->_tpl_vars['item']['ID'] . "_specItem_" . $this->_tpl_vars['id']), $this);
                    ?>

							<label class="checkbox" for="product_<?php 
                    echo $this->_tpl_vars['cat'];
                    ?>
_<?php 
                    echo $this->_tpl_vars['item']['ID'];
                    ?>
_specItem_<?php 
                    echo $this->_tpl_vars['id'];
                    ?>
"> <?php 
                    echo $this->_tpl_vars['value'];
                    ?>
</label>
コード例 #13
0
?>
</h2>

<?php 
$this->_tag_stack[] = array('form', array('action' => "controller=onePageCheckout action=doSelectBillingAddress", 'method' => 'POST', 'handle' => $this->_tpl_vars['form']));
$_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['order']['isMultiAddress']) {
        ?>
		<p>
			<?php 
        echo smarty_function_checkbox(array('name' => 'sameAsShipping', 'class' => 'checkbox'), $this);
        ?>

			<label for="sameAsShipping" class="checkbox"><?php 
        echo smarty_function_translate(array('text' => '_the_same_as_shipping_address'), $this);
        ?>
</label>
		</p>
	<?php 
    }
    ?>

	<?php 
    $_smarty_tpl_vars = $this->_tpl_vars;
    $this->_smarty_include(array('smarty_include_tpl_file' => "custom:checkout/block/selectAddress.tpl", 'smarty_include_vars' => array('confirmButton' => true, 'addresses' => $this->_tpl_vars['billingAddresses'], 'prefix' => 'billing', 'states' => $this->_tpl_vars['billing_states'])));
    $this->_tpl_vars = $_smarty_tpl_vars;
コード例 #14
0
				</p>

				<p class="captureComment">
					<?php 
        echo smarty_function_translate(array('text' => '_comment'), $this);
        ?>
:
					<textarea name="comment"></textarea>
				</p>

				<?php 
        if ($this->_tpl_vars['transaction']['isMultiCapture']) {
            ?>
					<p>
						<?php 
            echo smarty_function_checkbox(array('name' => 'complete', 'class' => 'checkbox'), $this);
            ?>

						<label for="complete"><?php 
            echo smarty_function_translate(array('text' => '_finalize'), $this);
            ?>
</label>
						<div class="clear"></div>
					</p>
				<?php 
        } else {
            ?>
					<input type="checkbox" name="complete" id="complete" value="ON" checked="checked" style="display: none;" />
				<?php 
        }
        ?>
コード例 #15
0
    ?>
</option>
					<option value="disable"><?php 
    echo smarty_function_translate(array('text' => '_disable'), $this);
    ?>
</option>
					<option value="delete"><?php 
    echo smarty_function_translate(array('text' => '_delete'), $this);
    ?>
</option>
				</select>
			</p>
			<p>
				<label></label>
				<?php 
    echo smarty_function_checkbox(array('name' => "options[transaction]", 'id' => 'options_transaction', 'class' => 'checkbox'), $this);
    ?>

				<label class="checkbox acronym" for="options_transaction"><a><?php 
    echo smarty_function_translate(array('text' => '_enclose_transaction'), $this);
    ?>
<div><?php 
    echo smarty_function_translate(array('text' => '_transaction_descr'), $this);
    ?>
</div></a></label>
			</p>
		</div>

	</fieldset>

	<fieldset class="controls">
コード例 #16
0
						<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);
                        ?>

						<?php 
                        if ('checkbox' == $this->_tpl_vars['property']['type']) {
                            ?>
							<label class="checkbox" for="<?php 
                            echo smarty_function_uniqid(array('last' => true), $this);
                            ?>
"><?php 
                            echo $this->_tpl_vars['property']['name'];
                            ?>
</label>
						<?php 
                        }
                        ?>