Пример #1
0
        echo JText::_('COM_JEPROSHOP_CHANGE_LABEL');
        ?>
</button>									
								</div>
							</form>
								<?php 
    }
    ?>
							<div class="well">
								<div class="row">
									<div class="col-sm-6">
										<?php 
    $address_type = $this->delivery_address->address_id == $this->invoice_address->address_id ? '&address_type=1' : '';
    ?>
										<a class="btn btn-default pull-right" href="<?php 
    echo JRoute::_('index.php?option=com_jeproshop&view=address&task=edit&address_id=' . (int) $this->delivery_address->address_id . '&realedit=1&order_id=' . (int) $this->order->order_id . $address_type . '&' . JeproshopTools::getAddressToken() . '=1&return=');
    ?>
" >
											<i class="icon-pencil"></i> <?php 
    echo JText::_('COM_JEPROSHOP_EDIT_LABEL');
    ?>
										</a>
											<?php 
    echo JeproshopTools::displayAddressDetail($this->delivery_address, '<br />');
    if ($this->delivery_address->other) {
        echo '<hr />' . $this->delivery_address->other . '<br />';
    }
    ?>
									</div>
									<div class="col-sm-6 hidden-print">
										<div id="map-delivery-canvas" style="height: 190px"></div>
Пример #2
0
									<div class="btn-group pull-right">
										<a class="btn btn-default btn-micro" href="<?php 
        echo JRoute::_('index.php?option=com_jeproshop&view=address&task=edit&address_id=' . $address->address_id . '&' . JeproshopTools::getAddressToken() . '=1');
        ?>
" >
											<i class="icon-edit"></i> <?php 
        echo ucfirst(JText::_('COM_JEPROSHOP_EDIT_LABEL'));
        ?>
										</a>
										<button type="button" class="btn btn-default dropdown-toggle btn-micro" data-toggle="dropdown">
											<span class="caret"></span>
										</button>
										<ul class="dropdown-menu">
											<li>
												<a href="<?php 
        echo JRoute::_('index.php?option=com_jeproshop&view=address&task=delete&address=' . $address->address_id . '&' . JeproshopTools::getAddressToken() . '=1');
        ?>
">
													<i class="icon-trash"></i> <?php 
        echo ucfirst(JText::_('COM_JEPROSHOP_DELETE_LABEL'));
        ?>
												</a>
											</li>
										</ul>
									</div>
								</td>
							</tr>
							<?php 
    }
    ?>
						</tbody>
Пример #3
0
                                    <select id="jform_address_invoice_id" name="jform[address_invoice_id]"></select>
                                </span>
                            </h4>

                            <div class="well">
                                <a href="" id="edit_invoice_address" class="btn btn-default pull-right fancybox"><i class="icon-pencil"></i> <?php 
echo JText::_('COM_JEPROSHOP_Edit_LABEL');
?>
</a>
                                <div id="address_invoice_detail"></div>
                            </div>
                        </div>
                        <div style="clear: both" ></div>
                        <div class="row">
                            <a class="fancybox btn btn-default pull-right" id="new_address" href="<?php 
echo JRoute::_('index.php?option=com_jeproshop&viewp=address&task=add&customer_id=' . $this->customer->customer_id . '&use_ajax=1&' . JeproshopTools::getAddressToken() . '=1', true, 1);
?>
$link->getAdminLink('AdminAddresses')|escape:'html':'UTF-8'}&amp;addaddress&amp;id_customer=42&amp;liteDisplaying=1&amp;submitFormAjax=1#" >
                                <i class="icon-plus-sign-alt"></i> <?php 
echo JText::_('COM_JEPROSHOP_ADD_A_NEW_ADDRESS_LABEL');
?>
                            </a>
                        </div>
                    </div>

                </div>
                <div class="panel" id="carriers_part" style="display:none;">
                    <div class="panel-title"><i class="icon-truck"></i>  <?php 
echo JText::_('COM_JEPROSHOP_SHIPPING_LABEL');
?>
</div>
Пример #4
0
            		</thead>
            		<tbody>
    					<?php 
if (empty($this->addresses)) {
    ?>
                		<tr>
                    		<td colspan="9" ><div class="alert alert-no-items" ><?php 
    echo JText::_('COM_JEPROSHOP_NO_MACTHING_RESULTS_MESSAGE');
    ?>
</div></td>
                		</tr>
                		<?php 
} else {
    foreach ($this->addresses as $index => $address) {
        $address_view_link = JRoute::_('index.php?option=com_jeproshop&view=address&task=edit&address_id=' . (int) $address->address_id . '&' . JeproshopTools::getAddressToken() . '=1');
        $delete_address_link = JRoute::_('index.php?option=com_jeproshop&view=address&task=delete&address_id=' . (int) $address->address_id . '&' . JeproshopTools::getAddressToken() . '=1');
        ?>
                		<tr class="row_<?php 
        echo $index % 2;
        ?>
" >
                			<td class="nowrap center"><?php 
        echo $index + 1;
        ?>
</td>
                    		<td class="nowrap center hidden-phone"><?php 
        echo JHtml::_('grid.id', $index, $address->address_id);
        ?>
</td>
                            <td class="nowrap" ><?php 
        echo ucfirst($address->firstname);