コード例 #1
0
ファイル: basket.php プロジェクト: ChrisRut/gallery3-contrib
 static function populateForm($form)
 {
     $form->configure->email->value(basket::getEmailAddress());
     $form->configure->paypal->checked(basket::isPaypal());
     $form->configure->paypal_account->value(basket::getPaypalAccount());
     $form->configure->currency->selected(basket::getCurrency());
 }
コード例 #2
0
ファイル: basket.php プロジェクト: Glooper/gallery3-contrib
 static function populateForm($form)
 {
     $form->configure->email->value(basket::getEmailAddress());
     $form->configure->side_bar->checked(basket::is_side_bar_only());
     $form->configure->paypal->checked(basket::isPaypal());
     $form->configure->paypal_account->value(basket::getPaypalAccount());
     $form->configure->currency->selected(basket::getCurrency());
     $form->configure->allow_pickup->checked(basket::isAllowPickup());
     $form->configure->order_prefix->value(basket::getOrderPrefix());
 }
コード例 #3
0
ファイル: basket.php プロジェクト: rledisez/gallery3-contrib
 static function populateForm($form)
 {
     $form->configure->webshop->value(basket::getWebshop());
     $form->configure->website->value(basket::getWebsite());
     $form->configure->email->value(basket::getEmailAddress());
     $form->configure->side_bar->checked(basket::is_side_bar_only());
     $form->configure->paypal->checked(basket::isPaypal());
     $form->configure->paypal_account->value(basket::getPaypalAccount());
     $form->configure->currency->selected(basket::getCurrency());
     $form->configure->allow_pickup->checked(basket::isAllowPickup());
     $form->configure->pickup_location->value(basket::getPickupLocation());
     $form->configure->order_prefix->value(basket::getOrderPrefix());
     $form->configure->order_bankaccount->value(basket::getOrderBankAccount());
     $form->configure->order_accountowner->value(basket::getOrderAccountOwner());
 }
コード例 #4
0
        <td></td><td></td><td>Total Cost</td><td><?php 
echo html::clean(basket::formatMoney($total + $postage));
?>
</td><td></td>
      </tr>

   </table>
      <? else: ?>
      Shopping Basket is Empty
      <? endif; ?>

  </div>

  <? if (isset($basket->contents ) && count($basket->contents) > 0): ?>

  <? if (basket::isPaypal()): ?>
  <a href="javascript:co();"
    class="g-right g-button ui-state-default ui-corner-all ui-icon-right">
      <span class="ui-icon ui-icon-arrow-1-e"></span><?php 
echo t("Pay with Credit Card or Paypal");
?>
</a>
  <a href="<?php 
echo url::site("basket/checkout");
?>
"
    class="g-right g-button ui-state-default ui-corner-all ui-icon-right">
      <span class="ui-icon ui-icon-arrow-1-e"></span><?php 
echo t("Pay off line");
?>
</a>
コード例 #5
0
<?php 
}
echo $form;
?>
<div class="basketbuttons">
<a href="<?php 
echo url::site("basket/view_basket");
?>
" class="left g-button ui-state-default ui-corner-all ui-icon-left">
<span class="ui-icon ui-icon-arrow-1-w"></span><?php 
echo t("Back to Basket");
?>
</a>

<?php 
if (basket::isPaypal()) {
    ?>
<a href="javascript: so(true)"
    class="right g-button ui-state-default ui-corner-all ui-icon-right">
      <span class="ui-icon ui-icon-arrow-1-e"></span><?php 
    echo t("Pay with Credit Card or Paypal");
    ?>
</a>
  <a href="javascript: so(false)"
    class="right g-button ui-state-default ui-corner-all ui-icon-right">
      <span class="ui-icon ui-icon-arrow-1-e"></span><?php 
    echo t("Pay off line");
    ?>
</a>
<?php 
} else {