OXID eShop CE 4.10.1 tpl/form/privatesales/invite.tpl 
[{assign var="_oProduct" value=$oView->getProduct()}]
[{assign var="editval" value=$oView->getInviteData()}]
<form class="js-oxValidate" action="[{$oViewConf->getSslSelfLink()}]" method="post">
<div>
[{$oViewConf->getHiddenSid()}]
[{$oViewConf->getNavFormParams()}]
<input type="hidden" name="fnc" value="send">
<input type="hidden" name="cl" value="invite">
<input type="hidden" name="anid" value="[{$_oProduct->oxarticles__oxnid->value}]">
10  <input type="hidden" name="CustomError" value='invite'>
11  [{assign var="oCaptcha" value=$oView->getCaptcha()}]
12  <input type="hidden" name="c_mach" value="[{$oCaptcha->getHash()}]">
*** 
13  <h3 class="blockHead">[{oxmultilang ident="SEND_INVITE_TO"}]</h3>
14  <ul class="form">
15  <li>
16  <label class="req">[{oxmultilang ident="EMAIL"}] #1:</label>
17  <input type="text" class="js-oxValidate js-oxValidate_notEmpty js-oxValidate_email" name="editval[rec_email][1]" size="73" maxlength="73" value="[{$editval->rec_email.1}]">
18  <p class="oxValidateError">
19  <span class="js-oxError_notEmpty">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS"}]</span>
20  <span class="js-oxError_email">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOVALIDEMAIL"}]</span>
21  </p>
22  </li>
23  <li>
24  <label>[{oxmultilang ident="EMAIL"}] #2:</label>
25  <input type="text" name="editval[rec_email][2]" size="73" maxlength="73" value="[{$editval->rec_email.2}]">
26  <p class="oxValidateError">
27  <span class="js-oxError_email">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOVALIDEMAIL"}]</span>
28  </p>
29  </li>
30  <li>
31  <label>[{oxmultilang ident="EMAIL"}] #3:</label>
32  <input type="text" name="editval[rec_email][3]" size="73" maxlength="73" value="[{$editval->rec_email.3}]">
33  <p class="oxValidateError">
34  <span class="js-oxError_email">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOVALIDEMAIL"}]</span>
35  </p>
36  </li>
37  <li>
38  <label>[{oxmultilang ident="EMAIL"}] #4:</label>
39  <input type="text" name="editval[rec_email][4]" size="73" maxlength="73" value="[{$editval->rec_email.4}]">
40  <p class="oxValidateError">
41  <span class="js-oxError_email">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOVALIDEMAIL"}]</span>
42  </p>
43  </li>
44  <li>
45  <label>[{oxmultilang ident="EMAIL"}] #5:</label>
46  <input type="text" name="editval[rec_email][5]" size="73" maxlength="73" value="[{$editval->rec_email.5}]">
47  <p class="oxValidateError">
48  <span class="js-oxError_email">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOVALIDEMAIL"}]</span>
49  </p>
50  </li>
51  </ul>
52 
*** 
53  <h3 class="blockHead">[{oxmultilang ident="FORM_PRIVATESALES_INVITE_FROM"}]</h3>
54  <ul class="form">
55  <li>
56  <label class="req">[{oxmultilang ident="SENDER_NAME"}]</label>
57  <input type="text" class="js-oxValidate js-oxValidate_notEmpty" name="editval[send_name]" size=73 maxlength=73 value="[{$editval->send_name}]">
58  <p class="oxValidateError">
59  <span class="js-oxError_notEmpty">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS"}]</span>
60  </p>
61  </li>
62  <li>
*** 
63  <label class="req">[{oxmultilang ident="FORM_PRIVATESALES_INVITE_SENDEREMAIL"}]</label>
64  <input type="text" class="js-oxValidate js-oxValidate_notEmpty js-oxValidate_email" name="editval[send_email]" size=73 maxlength=73 value="[{$editval->send_email}]" >
65  <p class="oxValidateError">
66  <span class="js-oxError_notEmpty">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS"}]</span>
67  <span class="js-oxError_email">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOVALIDEMAIL"}]</span>
68  </p>
69  </li>
70  <li>
*** 
71  <label class="req">[{oxmultilang ident="SUBJECT"}]</label>
72  <input type="text" class="js-oxValidate js-oxValidate_notEmpty" name="editval[send_subject]" size=73 maxlength=73 value="[{if $editval->send_subject}][{$editval->send_subject}][{else}][{oxmultilang ident="HAVE_A_LOOK"}] [{$_oProduct->oxarticles__oxtitle->value|strip_tags}][{/if}]">
73  <p class="oxValidateError">
74  <span class="js-oxError_notEmpty">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS"}]</span>
75  </p>
76  </li>
77  <li>
*** 
78  <label class="req">[{oxmultilang ident="YOUR_MESSAGE"}]</label>
79  <textarea cols="70" rows="8" name="editval[send_message]" class="js-oxValidate js-oxValidate_notEmpty areabox">[{if $editval->send_message}][{$editval->send_message}][{else}][{oxmultilang ident="FORM_SUGGEST_MESSAGE1"}] [{$oxcmp_shop->oxshops__oxname->value}] [{oxmultilang ident="FORM_SUGGEST_MESSAGE2"}][{/if}]</textarea>
80  <p class="oxValidateError">
81  <span class="js-oxError_notEmpty">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS"}]</span>
82  </p>
83  </li>
84  <li class="verify">
85  <label class="req">[{oxmultilang ident="VERIFICATION_CODE"}]</label>
86  [{assign var="oCaptcha" value=$oView->getCaptcha()}]
87  [{if $oCaptcha->isImageVisible()}]
88  <img src="[{$oCaptcha->getImageUrl()}]" alt="">
89  [{else}]
90  <span class="verificationCode" id="verifyTextCode">[{$oCaptcha->getText()}]</span>
91  [{/if}]
92  <input type="text" class="js-oxValidate js-oxValidate_notEmpty" data-fieldsize="verify" name="c_mac" value="" >
93  <p class="oxValidateError">
94  <span class="js-oxError_notEmpty">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS"}]</span>
95  </p>
96  </li>
97  <li class="formSubmit">
*** 
98  <button class="submitButton largeButton" type="submit">[{oxmultilang ident="FORM_PRIVATESALES_INVITE_SEND"}]</button>
99  </li>
100  </ul>
101  </div>
102 </form>
 
6 lines changed or deleted