Drupal: Uporabnik sam izbere čas trajanja in PayPal začasno skrijemo.
This commit is contained in:
parent
5f2b5b72b6
commit
614a73a4cc
@ -647,6 +647,10 @@
|
|||||||
jQuery('[name="payment_method"]').siblings().addClass('error-field');
|
jQuery('[name="payment_method"]').siblings().addClass('error-field');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!jQuery('[name="trajanje"]').is(":checked")){
|
||||||
|
jQuery('[name="trajanje"]').siblings().addClass('error-field');
|
||||||
|
}
|
||||||
|
|
||||||
// Dodamo opozorilov input polja in tudi sklop obarvamo rdeče
|
// Dodamo opozorilov input polja in tudi sklop obarvamo rdeče
|
||||||
jQuery(':input[required]:visible').each(function () {
|
jQuery(':input[required]:visible').each(function () {
|
||||||
if (jQuery(this).val() == '') {
|
if (jQuery(this).val() == '') {
|
||||||
|
@ -100,7 +100,7 @@
|
|||||||
</label>
|
</label>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<input type="radio" id="trajanje12m" name="trajanje" value="12" required="required" checked="checked">
|
<input type="radio" id="trajanje12m" name="trajanje" value="12" required="required">
|
||||||
<span class="mesec">
|
<span class="mesec">
|
||||||
<label for="trajanje12m">
|
<label for="trajanje12m">
|
||||||
<?php if ($language->language == 'sl'): ?>
|
<?php if ($language->language == 'sl'): ?>
|
||||||
@ -497,17 +497,17 @@
|
|||||||
</label>
|
</label>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<input type="radio" id="paymentMethod2" name="payment_method" value="2" required="required">
|
<!-- <input type="radio" id="paymentMethod2" name="payment_method" value="2" required="required">-->
|
||||||
<span class="paket vrsta-placila">
|
<!-- <span class="paket vrsta-placila">-->
|
||||||
<label for="paymentMethod2">
|
<!-- <label for="paymentMethod2">-->
|
||||||
<?php if ($language->language == 'sl'): ?>
|
<!-- --><?php //if ($language->language == 'sl'): ?>
|
||||||
Plačilo preko PayPal računa
|
<!-- Plačilo preko PayPal računa-->
|
||||||
<?php else: ?>
|
<!-- --><?php //else: ?>
|
||||||
Payment via PayPal account
|
<!-- Payment via PayPal account-->
|
||||||
<?php endif; ?>
|
<!-- --><?php //endif; ?>
|
||||||
</label>
|
<!-- </label>-->
|
||||||
<img src="/d/sites/all/themes/pro1ka/img/paypal_logo.png" class="logo">
|
<!-- <img src="/d/sites/all/themes/pro1ka/img/paypal_logo.png" class="logo">-->
|
||||||
</span>
|
<!-- </span>-->
|
||||||
|
|
||||||
<input type="radio" id="paymentMethod3" name="payment_method" value="3" required="required" checked="checked">
|
<input type="radio" id="paymentMethod3" name="payment_method" value="3" required="required" checked="checked">
|
||||||
<span class="paket vrsta-placila">
|
<span class="paket vrsta-placila">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user