コード例 #1
0
		<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">
		<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>
コード例 #2
0
        smarty_block_error($this->_tag_stack[count($this->_tag_stack) - 1][1], null, $this, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            echo $this->_tpl_vars['msg'];
            $_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);
        }
        array_pop($this->_tag_stack);
        ?>
</div>
	</fieldset>
		</p>
		<p<?php 
        if (smarty_modifier_isRequired($this->_tpl_vars['ratingForm'], 'text')) {
            ?>
 class="required"<?php 
        }
        ?>
>
			
				<label class="wide" style="padding-bottom: 0px !important;"><?php 
        echo smarty_function_translate(array('text' => '_review_text'), $this);
        ?>
:</label>
				<fieldset class="error"><?php 
        echo smarty_function_textarea(array('name' => 'text'), $this);
        ?>