NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms-system:article:contentparts:form:special-applications:send-a-friend [2009/11/23 08:58] Knut Heermann (flip-flop) |
english:phpwcms-system:article:contentparts:form:special-applications:send-a-friend [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 247: | Line 247: | ||
| \\ | \\ | ||
| + | |||
| + | **Recommended:** //The form is not automatically visible if JS is turned off.// | ||
| <code js|h sendafriend.js (if the form is poped up a short time during site load)|h> | <code js|h sendafriend.js (if the form is poped up a short time during site load)|h> | ||
| window.addEvent('domready', function() { | window.addEvent('domready', function() { | ||
| Line 287: | Line 289: | ||
| </code> | </code> | ||
| - | ==== Artikel ==== | + | \\ |
| + | |||
| + | ==== Article ==== | ||
| {{:deutsch:andere-erweiterungen:send-a-friend_de.gif|}} | {{:deutsch:andere-erweiterungen:send-a-friend_de.gif|}} | ||
| Line 296: | Line 300: | ||
| </code> | </code> | ||
| - | First HTML CP //(if the form pops up a short time during site loading)// | + | **Recommended:**\\ |
| + | First HTML CP: //(if the form pops up a short time during site loading)// | ||
| <code html> | <code html> | ||
| <div id="sendafriend" class="sendafriend" style="display:none"> | <div id="sendafriend" class="sendafriend" style="display:none"> | ||
| Line 302: | Line 307: | ||
| \\ | \\ | ||
| - | ==== Formular ==== | + | ==== Form ==== |
| {{:deutsch:andere-erweiterungen:form_send-a-friend_de.gif|}} | {{:deutsch:andere-erweiterungen:form_send-a-friend_de.gif|}} | ||
| Line 310: | Line 315: | ||
| </code> | </code> | ||
| - | <code html|h on success, if a "Close form"-link is recommended |> | + | **Recommended:** \\ |
| + | //(switch on success to [X] HTML)// | ||
| + | <code html|h on success, if a "Close form"-link is desired |> | ||
| <p id="safok">The recommendation has been sent successfully.</p><br /> | <p id="safok">The recommendation has been sent successfully.</p><br /> | ||
| [PHP] | [PHP] | ||
| Line 316: | Line 323: | ||
| [/PHP] | [/PHP] | ||
| </code> | </code> | ||
| + | The **"Close form"-link** has the advantage that the page is reloaded without an anchor and a new form input is immediately possible. | ||
| - | + | <code html|h on error|> | |
| - | <code html|h bei Fehler|> | + | <p class="error" id="saferror">Your request could not be sent! <br /> |
| - | <p class="error" id="saferror">Ihre Anfrage konnte leider nicht versendet werden! <br /> | + | Please fill or correct the color-highlighted areas.</p> |
| - | Bitte füllen bzw. korrigieren Sie die farblich hervorgehobenen Bereiche.</p> | + | |
| </code> | </code> | ||
| Line 329: | Line 336: | ||
| Der Absender {yourname} | Der Absender {yourname} | ||
| {sender} | {sender} | ||
| - | empfiehlt Ihnen den Link auf folgende Seite: | + | recommends you the link to the following page: |
| {FORM_URL} | {FORM_URL} | ||
| Line 336: | Line 343: | ||
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
| - | Wir weisen darauf hin, dass die Absenderangabe nicht verifiziert ist. | + | We point out that the return address is not verified. |
| - | Sollten Sie Zweifel an der Authentizität des Absenders haben, | + | If you have doubts about the authenticity of the sender, |
| - | ignorieren Sie diese E-Mail bitte. | + | just ignore this e-mail please. |
| </code> | </code> | ||
| - | <code html|h template, if a "Close form"-link is recommended (insert at the end) |h> | + | **Recommended:** \\ |
| + | <code html|h template, if a "Close form"-link is desired (insert at the end) |h> | ||
| ......... | ......... | ||
| <br /> | <br /> | ||