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


PHP osc_draw_image_submit_button函数代码示例

本文整理汇总了PHP中osc_draw_image_submit_button函数的典型用法代码示例。如果您正苦于以下问题:PHP osc_draw_image_submit_button函数的具体用法?PHP osc_draw_image_submit_button怎么用?PHP osc_draw_image_submit_button使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: initialize

 function initialize()
 {
     global $osC_Language, $osC_Template, $osC_Product;
     if (isset($osC_Product) && is_a($osC_Product, 'osC_Product') && $osC_Template->getModule() != 'tell_a_friend') {
         $this->_content = '<form name="tell_a_friend" action="' . osc_href_link(FILENAME_PRODUCTS, 'tell_a_friend&' . $osC_Product->getID()) . '" method="post">' . "\n" . osc_draw_input_field('to_email_address', null, 'style="width: 80%;"') . '&nbsp;' . osc_draw_image_submit_button('button_tell_a_friend.gif', $osC_Language->get('box_tell_a_friend_text')) . '<br />' . $osC_Language->get('box_tell_a_friend_text') . "\n" . '</form>' . "\n";
     }
 }
开发者ID:sajad1441,项目名称:TomatoShop-v1,代码行数:7,代码来源:tell_a_friend.php

示例2: initialize

 public function initialize()
 {
     $OSCOM_Product = Registry::exists('Product') ? Registry::get('Product') : null;
     if (isset($OSCOM_Product) && $OSCOM_Product instanceof \osCommerce\OM\Site\Shop\Product && $OSCOM_Product->isValid()) {
         // HPDL && ($osC_Template->getModule() != 'tell_a_friend')) {
         $this->_content = '<form name="tell_a_friend" action="' . OSCOM::getLink(null, null, 'TellAFriend&' . $OSCOM_Product->getKeyword()) . '" method="post">' . "\n" . osc_draw_input_field('to_email_address', null, 'style="width: 80%;"') . '&nbsp;' . osc_draw_image_submit_button('button_tell_a_friend.gif', OSCOM::getDef('box_tell_a_friend_text')) . '<br />' . OSCOM::getDef('box_tell_a_friend_text') . "\n" . '</form>' . "\n";
     }
 }
开发者ID:kdexter,项目名称:oscommerce,代码行数:8,代码来源:Controller.php

示例3: osc_draw_input_field

    echo '<b>' . $osC_Language->get('fields_gift_certificates_redeem_code') . '</b>';
    ?>
      <?php 
    echo osc_draw_input_field('gift_certificate_redeem_code', null, 'id="gift_certificate_code"');
    ?>
&nbsp;&nbsp;
      <?php 
    echo osc_draw_image_submit_button('button_redeem.gif', $osC_Language->get('button_gift_certificate_redeem'), 'id="btnRedeemGiftCertificate" style="vertical-align: middle"');
    ?>
    </div>
  </div>
</div>
<?php 
}
?>
<div class="submitFormButtons" style="text-align: right;">

<?php 
if ($osC_Payment->hasActionURL()) {
    $form_action_url = $osC_Payment->getActionURL();
} else {
    $form_action_url = osc_href_link(FILENAME_CHECKOUT, 'process', 'SSL');
}
echo '<form name="checkout_confirmation" action="' . $form_action_url . '" method="post">';
if ($osC_Payment->hasActive()) {
    echo $osC_Payment->process_button();
}
echo osc_draw_image_submit_button('button_confirm_order.gif', $osC_Language->get('button_confirm_order')) . '</form>';
?>

</div>
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:order_confirmation_form.php

示例4: osc_draw_label

?>
</li>
      <li><?php 
echo osc_draw_label($osC_Language->get('field_customer_password'), 'password') . '<br />' . osc_draw_password_field('password');
?>
</li>
    </ul>
  
    <p><?php 
echo sprintf($osC_Language->get('login_returning_customer_password_forgotten'), osc_href_link(FILENAME_ACCOUNT, 'password_forgotten', 'SSL'));
?>
</p>

    <div class="submitFormButtons" style="text-align: right;">
      <?php 
echo osc_draw_image_submit_button('button_login.gif', null, 'id="btnLogin"');
?>
    </div>
  </div>
  </form>    
</div>

<div class="moduleBox" style="width: 49%;">
  <div class="outsideHeading">
    <h6><?php 
echo $osC_Language->get('login_new_customer_heading');
?>
</h6>
  </div>

  <div class="content">
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:checkout_method_form.php

示例5: osc_draw_textarea_field

              <h6><?php 
    echo $osC_Language->get('field_review');
    ?>
</h6>
              
              <?php 
    echo osc_draw_textarea_field('review', null, 45, 5);
    ?>
            
              <div class="submitFormButtons">
                <input type="hidden" id="radio_lines" name="radio_lines" value="<?php 
    echo $i;
    ?>
"/>
                <?php 
    echo osc_draw_image_submit_button('submit_reviews.gif', $osC_Language->get('submit_reviews'));
    ?>
              </div>
            
            </form>
          <?php 
}
?>
        </div>  
      </div>
    </div>
      
    <?php 
if ($osC_Product->hasQuantityDiscount()) {
    ?>
      <div id="tabQuantityDiscount">
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:info.php

示例6: osc_draw_label

echo osc_draw_label(OSCOM::getDef('field_customer_email_address'), 'email_address') . osc_draw_input_field('email_address');
?>
</li>
      <li><?php 
echo osc_draw_label(OSCOM::getDef('field_customer_password'), 'password') . osc_draw_password_field('password');
?>
</li>
    </ol>

    <p><?php 
echo sprintf(OSCOM::getDef('login_returning_customer_password_forgotten'), OSCOM::getLink(null, null, 'PasswordForgotten', 'SSL'));
?>
</p>

    <p align="right"><?php 
echo osc_draw_image_submit_button('button_login.gif', OSCOM::getDef('button_sign_in'));
?>
</p>
  </div>

  </form>
</div>

<div class="moduleBox" style="width: 49%;">
  <div class="outsideHeading">
    <h6><?php 
echo OSCOM::getDef('login_new_customer_heading');
?>
</h6>
  </div>
开发者ID:kdexter,项目名称:oscommerce,代码行数:30,代码来源:login.php

示例7: osc_draw_checkbox_field

  <div class="content">
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
      <tr>
        <td width="30"><?php 
echo osc_draw_checkbox_field('newsletter_general', '1', $Qnewsletter->value('customers_newsletter'));
?>
</td>
        <td><b><?php 
echo osc_draw_label(OSCOM::getDef('newsletter_general'), 'newsletter_general');
?>
</b></td>
      </tr>
      <tr>
        <td width="30">&nbsp;</td>
        <td><?php 
echo OSCOM::getDef('newsletter_general_description');
?>
</td>
      </tr>
    </table>
  </div>
</div>

<div class="submitFormButtons" style="text-align: right;">
  <?php 
echo osc_draw_image_submit_button('button_continue.gif', OSCOM::getDef('button_continue'));
?>
</div>

</form>
开发者ID:kdexter,项目名称:oscommerce,代码行数:30,代码来源:newsletters.php

示例8: floor

    <tr class="<?php 
    echo $rows / 2 == floor($rows / 2) ? 'productListing-even' : 'productListing-odd';
    ?>
">
      <td colspan="4"><?php 
    echo osc_draw_label($osC_Language->get('field_return_comments'), 'comments', null, true) . osc_draw_textarea_field('comments', null, 45);
    ?>
</td>
    </tr>    
<?php 
} else {
    ?>
    <tr>
      <td colspan="4"><?php 
    echo $osC_Language->get('no_products_available_for_return');
    ?>
</td>
    </tr>
<?php 
}
?>
  </table>
</div>

<div class="submitFormButtons" style="float: right">
  <?php 
echo osc_draw_image_submit_button('button_continue.gif', $osC_Language->get('button_continue')) . '&nbsp;' . osc_link_object('javascript:window.history.go(-1);', osc_draw_image_button('button_back.gif', $osC_Language->get('button_back')));
?>
</div>

</form>
开发者ID:Doluci,项目名称:tomatocart,代码行数:31,代码来源:return_request_process.php

示例9: osc_link_object

</div>

<div class="submitFormButtons">
  <span style="float: right;"><?php 
    echo osc_link_object(osc_href_link(FILENAME_CHECKOUT, 'checkout', 'SSL'), osc_draw_image_button('button_checkout.gif', $osC_Language->get('button_checkout')));
    ?>
</span>

  <?php 
    echo osc_draw_image_submit_button('button_update_cart.gif', $osC_Language->get('button_update_cart'));
    ?>

  <span style="padding-left: 120px">
    <?php 
    echo osc_draw_image_submit_button('button_continue_shopping.gif', $osC_Language->get('button_continue_shopping'), 'onclick="javascript:history.go(-1);return false;"');
    ?>
  </span>
</div>

</form>

<?php 
} else {
    ?>

<p><?php 
    echo $osC_Language->get('shopping_cart_empty');
    ?>
</p>
开发者ID:Doluci,项目名称:tomatocart,代码行数:29,代码来源:shopping_cart.php

示例10: sprintf

        } else {
            echo '<p class="stockWarning" align="center">' . sprintf($osC_Language->get('products_out_of_stock_checkout_not_possible'), STOCK_MARK_PRODUCT_OUT_OF_STOCK) . '</p>';
        }
    }
    ?>

</div>

<div class="submitFormButtons">
  <span style="float: right;"><?php 
    echo osc_link_object(osc_href_link(FILENAME_CHECKOUT, 'shipping', 'SSL'), osc_draw_image_button('button_checkout.gif', $osC_Language->get('button_checkout')));
    ?>
</span>

  <?php 
    echo osc_draw_image_submit_button('button_update_cart.gif', $osC_Language->get('button_update_cart'));
    ?>
</div>

</form>

<?php 
} else {
    ?>

<p><?php 
    echo $osC_Language->get('shopping_cart_empty');
    ?>
</p>

<div class="submitFormButtons" style="text-align: right;">
开发者ID:heshuai64,项目名称:gamestore,代码行数:31,代码来源:shopping_cart.php

示例11: foreach

        foreach ($osC_ShoppingCart->getGiftCertificateCodes() as $gift_certificate) {
            echo '<p id="' . $gift_certificate . '">' . $gift_certificate . '&nbsp;[' . $osC_Currencies->format($osC_ShoppingCart->getGiftCertificateRedeemAmount($gift_certificate)) . ']' . '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' . osc_draw_image_submit_button('small_delete.gif', $osC_Language->get('button_delete'), 'class="btnDeleteGiftCertificate" style="vertical-align: middle"') . '</p>';
        }
    }
    ?>
    <div>
      <br/>
      <?php 
    echo '<b>' . $osC_Language->get('fields_gift_certificates_redeem_code') . '</b>';
    ?>
      <?php 
    echo osc_draw_input_field('gift_certificate_redeem_code', null, 'id="gift_certificate_code" dir="ltr"');
    ?>
&nbsp;&nbsp;
      <?php 
    echo osc_draw_image_submit_button('button_redeem.gif', $osC_Language->get('button_gift_certificate_redeem'), 'id="btnRedeemGiftCertificate" style="vertical-align: middle"');
    ?>
    </div>
  </div>
</div>
<?php 
}
?>

<div class="moduleBox">
  <h6><?php 
echo $osC_Language->get('add_comment_to_order_title');
?>
</h6>

  <div class="content">
开发者ID:sajad1441,项目名称:TomatoShop-v1,代码行数:31,代码来源:payment_method_form.php

示例12: osc_draw_image_submit_button

            ?>

    </table>

<?php 
        }
        if (isset($confirmation['text'])) {
            ?>

    <p><?php 
            echo $confirmation['text'];
            ?>
</p>

<?php 
        }
        ?>

  </div>
</div>

<?php 
    }
}
if ($osC_Payment->hasActive()) {
    echo $osC_Payment->process_button();
}
echo '<div style="text-align:right;">' . osc_draw_image_submit_button('button_confirm_order.gif', $osC_Language->get('button_confirm_order'), 'id="btnConfirmOrder"') . '</form></div>';
?>

</div>
开发者ID:4DvAnCeBoY,项目名称:tomatocart-shoppingcart,代码行数:31,代码来源:order_confirmation_form.php

示例13: initialize

 function initialize()
 {
     global $osC_Language;
     $this->_title_link = osc_href_link(FILENAME_SEARCH);
     $this->_content = '<form name="search" action="' . osc_href_link(FILENAME_SEARCH, null, 'NONSSL', false) . '" method="get">' . osc_draw_input_field('keywords', null, 'style="width: 80%;" maxlength="30"') . '&nbsp;' . osc_draw_hidden_session_id_field() . osc_draw_image_submit_button('button_quick_find.gif', $osC_Language->get('box_search_heading')) . '<br />' . sprintf($osC_Language->get('box_search_text'), osc_href_link(FILENAME_SEARCH)) . '</form>';
 }
开发者ID:heshuai64,项目名称:gamestore,代码行数:6,代码来源:search.php

示例14: nl2br

    ?>
</h6>

  <div class="content">
    <?php 
    echo nl2br(osc_output_string_protected($_SESSION['comments'])) . osc_draw_hidden_field('comments', $_SESSION['comments']);
    ?>
  </div>
</div>

<?php 
}
?>

<div class="submitFormButtons" style="text-align: right;">

<?php 
if ($OSCOM_ShoppingCart->hasBillingMethod() && $OSCOM_PaymentModule->hasGateway()) {
    $form_action_url = $OSCOM_PaymentModule->getGatewayURL();
} else {
    $form_action_url = OSCOM::getLink(null, null, 'Process', 'SSL');
}
echo '<form name="checkout_confirmation" action="' . $form_action_url . '" method="post">';
if ($OSCOM_ShoppingCart->hasBillingMethod()) {
    echo $OSCOM_PaymentModule->getProcessButton();
}
echo osc_draw_image_submit_button('button_confirm_order.gif', OSCOM::getDef('button_confirm_order')) . '</form>';
?>

</div>
开发者ID:kdexter,项目名称:oscommerce,代码行数:30,代码来源:main.php

示例15: osc_href_link

if ($osC_Product->hasImage()) {
    echo 'margin-left: ' . ($osC_Image->getWidth('product_info') + 20) . 'px; ';
}
?>
min-height: <?php 
echo $osC_Image->getHeight('product_info');
?>
px;">
    <form name="cart_quantity" action="<?php 
echo osc_href_link(FILENAME_PRODUCTS, $osC_Product->getKeyword() . '&action=cart_add');
?>
" method="post">

    <div style="float: right;">
      <?php 
echo osc_draw_image_submit_button('button_in_cart.gif', $osC_Language->get('button_add_to_cart'));
?>
    </div>

    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="productInfoKey">Price:</td>
        <td class="productInfoValue"><span id="productInfoPrice"><?php 
echo $osC_Product->getPriceFormated(true);
?>
</span> (plus <?php 
echo osc_link_object(osc_href_link(FILENAME_INFO, 'shipping'), 'shipping');
?>
)</td>
      </tr>
开发者ID:heshuai64,项目名称:gamestore,代码行数:30,代码来源:info.php


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