当前位置: 首页>>代码示例>>PHP>>正文


PHP CitruscartSelect::orderstate方法代码示例

本文整理汇总了PHP中CitruscartSelect::orderstate方法的典型用法代码示例。如果您正苦于以下问题:PHP CitruscartSelect::orderstate方法的具体用法?PHP CitruscartSelect::orderstate怎么用?PHP CitruscartSelect::orderstate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CitruscartSelect的用法示例。


在下文中一共展示了CitruscartSelect::orderstate方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

"/>
                        </div>
                        <div class="rangeline">
                            <input id="filter_total_to" name="filter_total_to" value="<?php 
echo $state->filter_total_to;
?>
" size="5" class="input" placeholder="<?php 
echo JText::_('COM_CITRUSCART_TO');
?>
"/>
                        </div>
                    </div>
                </th>
                <th>
    	            <?php 
echo CitruscartSelect::orderstate($state->filter_orderstate, 'filter_orderstate', $attribs, 'order_state_id', true);
?>
                </th>
            </tr>
			<tr>
				<th colspan="20" style="font-weight: normal;">
					<div style="float: right; padding: 5px;"><?php 
echo $this->pagination->getResultsCounter();
?>
</div>
					<div style="float: left;"><?php 
echo $this->pagination->getListFooter();
?>
</div>
				</th>
			</tr>
开发者ID:joomlacorner,项目名称:citruscart,代码行数:31,代码来源:default.php

示例2: array

    	<tr>
    	    <td style="width: 100px; text-align: right;" class="key">
    	        <?php 
echo JText::_('COM_CITRUSCART_NEW_STATUS');
?>
    	    </td>
    	    <td>
    	        <input value="<?php 
echo JText::_('COM_CITRUSCART_UPDATE_ORDER');
?>
" onclick="document.getElementById('task').value='update_status'; this.form.submit();" style="float: right;" type="button"  class="btn btn-danger"/>
    	        <?php 
$url = "index.php?option=com_citruscart&format=raw&controller=orders&task=updateStatusTextarea&orderstate_selected=";
$onchange = 'citruscartPutAjaxLoader( \'update_order\' );citruscartDoTask( \'' . $url . '\'+document.getElementById(\'new_orderstate_id\').options[document.getElementById(\'new_orderstate_id\').selectedIndex].value, \'update_order\', \'\', \'\', false );';
$attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => $onchange, 'id' => 'new_orderstate_id');
echo CitruscartSelect::orderstate($row->order_state_id, 'new_orderstate_id', $attribs);
?>
    	    </td>
    	</tr>
    	<tr>
        	<td style="width: 100px; text-align: right;" class="key">
                <?php 
echo JText::_('COM_CITRUSCART_DO_COMPLETED_ORDER_TASKS') . "?";
?>
            </td>
        	<td>
        	   <?php 
if (empty($order->completed_tasks)) {
    ?>
        	     <input id="completed_tasks" name="completed_tasks" type="checkbox" />
        	     <?php 
开发者ID:joomlacorner,项目名称:citruscart,代码行数:31,代码来源:view.php

示例3:

            <td><?php 
echo CitruscartSelect::orderstate($this->row->get('initial_order_state', '15'), 'initial_order_state');
?>
            </td>
            <td><?php 
echo JText::_('COM_CITRUSCART_INITIAL_ORDER_STATE_DESC');
?>
            </td>
        </tr>
        <tr>
            <th style="width: 25%;"><?php 
echo JText::_('COM_CITRUSCART_PENDING_ORDER_STATE');
?>
            </th>
            <td><?php 
echo CitruscartSelect::orderstate($this->row->get('pending_order_state', '1'), 'pending_order_state');
?>
            </td>
            <td><?php 
echo JText::_('COM_CITRUSCART_PENDING_ORDER_STATE_DESC');
?>
            </td>
        </tr>
        <tr>
            <th style="width: 25%;"><?php 
echo JText::_('COM_CITRUSCART_ORDER_NUMBER_PREFIX');
?>
            </th>
            <td><input type="text" name="order_number_prefix" value="<?php 
echo $this->row->get('order_number_prefix', '');
?>
开发者ID:joomlacorner,项目名称:citruscart,代码行数:31,代码来源:orders_advanced.php

示例4:

        echo $item->shipping_city . ", ";
        echo $item->shipping_zone_name . " ";
        echo $item->shipping_postal_code . " ";
        echo $item->shipping_country_name;
    }
    ?>
                    <?php 
    if (!empty($item->order_number)) {
        echo "<br/><b>" . JText::_('COM_CITRUSCART_ORDER_NUMBER') . "</b>: " . $item->order_number;
    }
    ?>
				</td>

				<td style="text-align: center;">
			    <?php 
    echo CitruscartSelect::orderstate($item->order_state_id, 'new_orderstate_id[]');
    ?>
    	    	</td>

    	    	<td style="text-align: center;">
			    <?php 
    if (empty($item->completed_tasks)) {
        echo '<input id="completed_tasks" name="completed_tasks[' . $item->order_id . ']" type="checkbox" />';
    } else {
        echo '<input id="completed_tasks" name="completed_tasks[' . $item->order_id . ']" type="checkbox" checked="checked" disabled="disabled" />';
    }
    ?>
    	    	</td>

    	    	<td style="text-align: center;">
			     <?php 
开发者ID:joomlacorner,项目名称:citruscart,代码行数:31,代码来源:batchedit.php


注:本文中的CitruscartSelect::orderstate方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。