echo $form['email_address']; ?> </div> </li> </ul> <p class="rt-section-tools-submit"><button type="submit"><?php echo __('Email this wishlist'); ?> </button></p> </form> <?php } else { ?> <p><?php echo __('No items in your wishlist yet.'); ?> </p> <?php } ?> <?php rt_get_snippet('rt-shop-wishlist-suffix'); ?> </div> </div>
<?php use_helper('I18N', 'rtForm', 'rtTemplate'); slot('rt-title', __('Registration Pending')); ?> <div class="rt-section rt-guard-register-pending"> <?php if (sfConfig::get('app_rt_templates_headers_embedded', true)) { ?> <div class="rt-section-header"> <h1><?php echo __('Registration Pending'); ?> </h1> </div> <?php } ?> <div class="rt-section-content"> <?php rt_get_snippet('rt-guard-register-pending-prefix', __('You have successfully registered and your account is pending activation. An email will be sent when the account has been activated.')); ?> </div> </div>
use_helper('I18N', 'rtForm', 'rtTemplate'); slot('rt-title', __('Account Details')); ?> <div class="rt-section rt-guard-user-edit"> <?php if (sfConfig::get('app_rt_templates_headers_embedded', true)) { ?> <div class="rt-section-header"> <h1><?php echo __('Account Details'); ?> </h1> </div> <?php } ?> <div class="rt-section-content"> <?php rt_get_snippet('rt-guard-user-edit-prefix'); ?> <?php include_partial('form', array('form' => $form)); ?> </div> </div>
if (sfConfig::get('app_rt_templates_headers_embedded', true)) { ?> <div class="rt-section-header"> <h1><?php echo __('Bookings'); ?> </h1> </div> <?php } ?> <div class="rt-section-content"> <?php rt_get_snippet('rt-booking-prefix', 'Please send through your booking details. We\'ll get back to you shortly.'); ?> <form action="<?php echo url_for('rt_booking'); ?> " method="post" class="rt-compact formstyle"> <?php echo $form->renderHiddenFields(); ?> <fieldset> <ul class="rt-form-schema"> <?php echo $form; ?> </ul>
<ul class="rt-form-schema"> <?php echo $form; ?> </ul> </fieldset> <p class="rt-form-tools"> <?php $button_text = $sf_user->hasAttribute('rt_shop_frontend_gift_voucher') ? __('Update Voucher') : __('Save Voucher'); ?> <button type="submit"><?php echo $button_text; ?> </button> <?php if ($sf_user->hasAttribute('rt_shop_frontend_gift_voucher')) { ?> <?php echo __('or'); ?> <?php echo link_to(__('delete Voucher'), '@rt_shop_voucher_delete'); ?> <?php } ?> </p> </form> <?php echo rt_get_snippet('rt-shop-frontend-gift-voucher-suffix');
<?php use_helper('I18N', 'rtForm', 'rtTemplate'); ?> <?php slot('rt-title'); echo __('Booking Sent'); end_slot(); ?> <?php echo rt_get_snippet('rt-booking-confirmation-prefix', 'Thank you for your enquiry, we\'ll be in touch shortly.');
<?php use_helper('I18N', 'rtForm', 'rtTemplate'); slot('rt-title', __('Registration Confirmed')); ?> <div class="rt-section rt-guard-register-confirm"> <?php if (sfConfig::get('app_rt_templates_headers_embedded', true)) { ?> <div class="rt-section-header"> <h1><?php echo __('Registration Confirmed'); ?> </h1> </div> <?php } ?> <div class="rt-section-content"> <?php rt_get_snippet('rt-guard-register-confirm-prefix', sprintf('<p>%s</p>', __('The user "%1%" has been activated and an email has been sent to notify them of this.', array('%1%' => $user->getName())))); ?> </div> </div>
<?php include_partial('address_form', array('form' => $form_shipping)); ?> </fieldset> </div> <p class="rt-section-tools-submit"> <button type="submit"><?php echo __('Proceed to payment'); ?> </button> </p> </form> <?php rt_get_snippet('rt-shop-address-suffix'); ?> </div> <!-- <div class="rt-section-tools-footer"></div>--> </div> <script type="text/javascript"> $(function() { $("#shipping_toggle").click(function(){ $("#steer_shop_billing_address").toggle("fast"); }); }); </script>
/** * Include a snippet by a given $name value - will be set to a specific module and action. * * @package Reditype * @subpackage helper * @author Piers Warmers <*****@*****.**> * @param string $name Collection and cache name * @param string $default Default text * @return string */ function rt_get_snippet_for_action($name, $default = '') { $name .= '-' . sfContext::getInstance()->getRequest()->getParameter('module'); $name .= '-' . sfContext::getInstance()->getRequest()->getParameter('action'); return rt_get_snippet($name, $default); }
use_helper('I18N', 'rtForm', 'rtTemplate'); slot('rt-title', __('Register an account')); ?> <div class="rt-section rt-guard-register"> <?php if (sfConfig::get('app_rt_templates_headers_embedded', true)) { ?> <div class="rt-section-header"> <h1><?php echo __('Register an account'); ?> </h1> </div> <?php } ?> <div class="rt-section-content"> <?php rt_get_snippet('rt-guard-register-prefix', __('Please fill out your details in the form below to create a new account.')); ?> <?php echo get_partial('rtGuardRegister/form', array('form' => $form)); ?> </div> </div>
if (sfConfig::get('app_rt_templates_headers_embedded', true)) { ?> <div class="rt-section-header"> <h1><?php echo __('Sign in'); ?> </h1> </div> <?php } ?> <div class="rt-section-content"> <?php rt_get_snippet('rt-guard-auth-prefix'); ?> <form action="<?php echo url_for('@sf_guard_signin'); ?> " method="post"> <?php echo $form->renderHiddenFields(); ?> <fieldset> <ul class="rt-form-schema"> <?php echo $form; ?> </ul>
if (sfConfig::get('app_rt_templates_headers_embedded', true)) { ?> <div class="rt-section-header"> <h1><?php echo __('Hello %name%', array('%name%' => $user->getName()), 'sf_guard'); ?> </h1> </div> <?php } ?> <div class="rt-section-content"> <?php rt_get_snippet('rt-guard-forgot-password-change-prefix', __('Enter your new password in the form below to have it saved for next time you sign in.')); ?> <form action="<?php echo url_for('@sf_guard_forgot_password_change?unique_key=' . $sf_request->getParameter('unique_key')); ?> " method="POST"> <?php echo $form->renderHiddenFields(); ?> <fieldset> <legend><?php echo __('New password'); ?> </legend> <ul class="rt-form-schema">
if (sfConfig::get('app_rt_templates_headers_embedded', true)) { ?> <div class="rt-section-header"> <h1><?php echo __('Contact Us'); ?> </h1> </div> <?php } ?> <div class="rt-section-content"> <?php rt_get_snippet('rt-contact-prefix', 'Feel free to send through any comments, queries or concerns. We\'ll get back to you shortly.'); ?> <form action="<?php echo url_for('rt_contact'); ?> " method="post" class="rt-compact"> <?php echo $form->renderHiddenFields(); ?> <fieldset> <ul class="rt-form-schema"> <?php echo $form; ?> </ul>
if (sfConfig::get('app_rt_templates_headers_embedded', true)) { ?> <div class="rt-section-header"> <h1><?php echo __('Forgot your password?'); ?> </h1> </div> <?php } ?> <div class="rt-section-content"> <?php rt_get_snippet('rt-guard-forgot-password-prefix', 'Do not worry, we can help you get back in to your account safely! Fill out the form below to request an e-mail with information on how to reset your password.'); ?> <form action="<?php echo url_for('@sf_guard_forgot_password'); ?> " method="post"> <?php echo $form->renderHiddenFields(); ?> <fieldset> <legend><?php echo __('Reset your password'); ?> </legend> <ul class="rt-form-schema">
?> <p class="rt-section-tools-submit"> <button onclick="document.location.href='<?php echo url_for('sf_guard_register'); ?> ';"><?php echo __('Register a new account'); ?> </button> <?php echo __('Or'); ?> , <?php echo link_to(__('proceed without an account'), 'rt_shop_order_address', array(), array('class' => '')); ?> </p> </div> <?php } ?> <?php rt_get_snippet('rt-shop-membership-suffix'); ?> </div> <!-- <div class="rt-section-tools-footer"></div>--> </div>
?> <span id="order-total-charge" class="rt-shop-total"><?php echo format_currency($rt_shop_cart_manager->getTotalCharge(), sfConfig::get('app_rt_currency', 'USD')); ?> </span></h3> <p class="rt-section-tools-submit"> <button id="rt-submit-order"><?php echo __('Place your order'); ?> </button> </p> </form> <?php rt_get_snippet('rt-shop-payment-suffix'); ?> </div> <!-- <div class="rt-section-tools-footer"></div>--> </div> <script type="text/javascript"> var submitcount = 0; function checkForm(){ if (submitcount == 0) { submitcount ++;