Пример #1
0
    echo smarty_function_translate(array('text' => '_days'), $this);
    ?>

						<input name="year" type="text" class="years text number value" /> <?php 
    echo smarty_function_translate(array('text' => '_years'), $this);
    ?>

					</span>

					<span class="conditionTimeRange">
						<?php 
    echo smarty_function_calendar(array('name' => 'from', 'id' => 'from'), $this);
    ?>

						<?php 
    echo smarty_function_calendar(array('name' => 'to', 'id' => 'to'), $this);
    ?>

					</span>

					<span class="progressIndicator" style="display: none;"></span>
				</span>

				<span class="subConditionMenu">

					<span class="isReverseContainer">
						<input type="checkbox" class="checkbox isReverse" name="isReverse" id="isReverse">
						<label class="checkbox"><?php 
    echo smarty_function_toolTip(array('label' => '_isReverse', 'hint' => '_isReverse_help'), $this);
    ?>
</label>
Пример #2
0
				<a class="menu order_editFields orderDate" href="#edit" id="editDateCompleted"></a>
				<span id="dateCreatedVisible"><?php 
    echo $this->_tpl_vars['order']['dateCompleted'];
    ?>
</span>
			</label>

			<?php 
    $this->_tag_stack[] = array('form', array('id' => 'calendarForm', 'handle' => $this->_tpl_vars['dateForm'], 'class' => 'hidden', 'action' => "controller=backend.customerOrder action=updateDate", 'method' => 'POST'));
    $_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 
        echo smarty_function_calendar(array('name' => 'dateCompleted', 'id' => 'dateCompleted'), $this);
        ?>


				<span class="progressIndicator" id="indicatorDateCompleted" style="display: none;"></span>

				<span class="menu">
					<a href="#save" id="saveDateCompleted"><?php 
        echo smarty_function_translate(array('text' => '_save'), $this);
        ?>
</a>
					<a href="#cancel" id="cancelDateCompleted"><?php 
        echo smarty_function_translate(array('text' => '_cancel'), $this);
        ?>
</a>
				</span>
    ?>
	<?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 
} elseif ($this->_tpl_vars['field']['type'] == 6) {
    ?>
	<?php 
    echo smarty_function_calendar(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']), $this);
    ?>

<?php 
}
						<div style="display: none;" class="dateRange">
							<div>
								<?php 
                echo smarty_function_calendar(array('nobutton' => 'true', 'noform' => 'true', 'class' => "min text " . $this->_tpl_vars['type'], 'id' => "filter_" . $this->_tpl_vars['column'] . "_" . $this->_tpl_vars['id'] . "_from", 'onchange' => "document.getElementById('filter_" . $this->_tpl_vars['column'] . "_" . $this->_tpl_vars['id'] . "').filter.updateDateRangeFilter(this);"), $this);
                ?>

							</div>
							<div>
								<?php 
                echo smarty_function_translate(array('text' => '_to'), $this);
                ?>

							</div>
							<div>
								<?php 
                echo smarty_function_calendar(array('nobutton' => 'true', 'noform' => 'true', 'class' => "max text " . $this->_tpl_vars['type'], 'id' => "filter_" . $this->_tpl_vars['column'] . "_" . $this->_tpl_vars['id'] . "_to", 'onchange' => "document.getElementById('filter_" . $this->_tpl_vars['column'] . "_" . $this->_tpl_vars['id'] . "').filter.updateDateRangeFilter(this);"), $this);
                ?>

							</div>
						</div>
					<?php 
            } else {
                ?>
						<input type="text" class="text <?php 
                echo $this->_tpl_vars['type'];
                ?>
" id="filter_<?php 
                echo $this->_tpl_vars['column'];
                ?>
_<?php 
                echo $this->_tpl_vars['id'];