1$(document).ready(function () { 2 var wartegrafik = function (onoff) { 3 if (onoff) { 4 if ($('#wartegrafik').length == 0) { 5 $('html').append('<div id="wartegrafik" style="background:url(/admin/includes/img/trans_999.png);position:fixed;top:0;left:0;width:100%;height:100%;z-index:999;"><div id="wartegrafikbox" style="width:200px;height:100px;position:fixed;top:45%;left:45%;background:#fff;border:1px solid #ddd;border-radius:5px 5px 5px 5px;"><img id="wartegrafikboximg" src="/admin/includes/img/loader.gif" style="margin:5px 86px 20px 86px;"/><br /><div id="wartegrafikboxtxt" style="font-size:12px;font-color:#ddd;text-align:center;font-family:Arial;">Bitte warten</div></div></div>'); 6 } 7 } else { 8 $('#wartegrafik').remove(); 9 } 10 }; 11 12 //Formulargenerator 13 14 function getAllFieldsOfFrom(eleModule) { 15 var oReturn = {'formuniquename': eleModule.attr('data-uniqid')}; 16 eleModule.find('input').each(function () { 17 var curEle = $(this); 18 var name = curEle.attr('name'); 19 var val = curEle.val(); 20 if (curEle.attr('type') === 'checkbox') { 21 if (curEle.attr('checked') === 'checked') { 22 val = 1; 23 } else { 24 val = 0; 25 } 26 } else if (curEle.attr('type') === 'radio'){ 27 if (curEle.attr('checked') !== 'checked'){ 28 return true; 29 } 30 } 31 32 eval('oReturn.' + name + ' = val;'); 33 }); 34 35 eleModule.find('select').each(function () { 36 var curEle = $(this); 37 var name = curEle.attr('name'); 38 var val = curEle.val(); 39 eval('oReturn.' + name + ' = val;'); 40 }); 41 42 eleModule.find('textarea').each(function () { 43 var curEle = $(this); 44 var name = curEle.attr('name'); 45 var val = curEle.val(); 46 eval('oReturn.' + name + ' = val;'); 47 }); 48 49 return oReturn; 50 } 51 52 var eleFormKlappbox = $('.form_klappboxtoggle'); 53 if (eleFormKlappbox.length > 0) { 54 eleFormKlappbox.on('click', function (e) { 55 e.preventDefault(); 56 e.stopPropagation(); 57 var curBoxToggle = $(this); 58 var id = curBoxToggle.attr('data-boxid'); 59 var eleZiel = $('#' + id); 60 if (eleZiel.is(':visible')) { 61 eleZiel.css('display', 'none'); 62 } else { 63 eleZiel.css('display', 'block'); 64 } 65 }); 66 } 67 68 var eleFormContainer = $('.form_container'); 69 if (eleFormContainer.length > 0) { 70 eleFormContainer.each(function () { 71 var curForm = $(this); 72 curForm.find('button').on('click', function () { 73 var daten = getAllFieldsOfFrom(curForm); 74 curForm.find('.error').removeClass('error'); 75 wartegrafik(true); 76 $.ajax({ 77 url: '/includes/design/ajax/formgenerator_submit.php', 78 data: daten, 79 type: 'POST', 80 async: false, 81 success: function (data) { 82 wartegrafik(false); 83 var teile = data.split('_:_'); 84 if (teile[0] === 'OK'){ 85 curForm.html(teile[1]); 86 sendGoogleAnalyticsEvent('FormularGenerator', 'Abgesendet', window.location.href, 1); 87 } else { 88 if (teile[1] === 'fields' || teile[1] === 'spam'){ 89 alert('Leider funktioniert das Formular mit Ihrem Browser derzeit nicht. Bitte probieren Sie es später erneut!'); 90 } else if(teile[1] === 'doppel'){ 91 alert('Leider funktioniert das Formular mit Ihrem Browser derzeit nicht. Bitte probieren Sie es später erneut!'); 92 } else { 93 var jsdata = JSON.parse(teile[1]); 94 $.each(jsdata, function (key, value) { 95 curForm.find('#' + value).addClass('error'); 96 }); 97 } 98 } 99 } 100 }); 101 }); 102 }); 103 } 104 105 //AllInOneKontak 106 107 var allInOneKontakt = $('.allInOneKontakt'); 108 if (allInOneKontakt.length < 1) { 109 return true; 110 } 111 112 var containerZusatzfelder = allInOneKontakt.find('.zusatzfelder'); 113 var bereichscheckboxes = allInOneKontakt.find('.bereiche').find('input[type="checkbox"]'); 114
115 var validatefield = function (curEle) { 116 var curVal = curEle.val(); 117 var eleName = curEle.attr('name'); 118 curEle.removeClass('valide'); 119 curEle.removeClass('error'); 120 if (eleName === 'grund_email') { 121 if ( curVal == '') { 122 123 } else if (isValidEmailAddress(curVal)) { 124 curEle.addClass('valide'); 125 return true; 126 } else { 127 curEle.addClass('error'); 128 } 129 } else if (eleName === 'grund_telefon') { 130 if ( curVal == '') { 131 132 } else if (isValidTelAddress(curVal)) { 133 curEle.addClass('valide'); 134 return true; 135 } else { 136 curEle.addClass('error'); 137 } 138 } else { 139 if (curVal !== '' && curEle.attr('type') != 'checkbox') { 140 curEle.addClass('valide'); 141 return true; 142 } 143 if (curEle.attr('type') == 'checkbox' && curEle.is(':checked')){ 144 curEle.addClass('valide'); 145 return true; 146 } 147 } 148 149 return false; 150 }; 151 152 var checkselectonekatalog = function () { 153 var curBlock = allInOneKontakt.find('.zusatz_katalog'); 154 if (curBlock.length < 1) { 155 return true; 156 } 157 var inputs = curBlock.find('input'); 158 inputs.removeClass('error'); 159 var oneChecked = false; 160 inputs.each(function () { 161 if ($(this).is(':checked')) { 162 oneChecked = true; 163 } 164 }); 165 if (oneChecked){ 166 return true; 167 } 168 inputs.addClass('error'); 169 170 return false; 171 }; 172 173 var checkselectonekontakt = function () { 174 //Prüfen ob entweder Email, Tel oder Adresse gefüllt ist 175 var eleEmail = allInOneKontakt.find('.grund_email'); 176 var eleTel = allInOneKontakt.find('.grund_telefon'); 177 var eleStrasseNr = allInOneKontakt.find('.grund_strassenr'); 178 var elePlz = allInOneKontakt.find('.grund_plz'); 179 var eleOrt = allInOneKontakt.find('.grund_ort'); 180 181 if (isValidEmailAddress(eleEmail.val()) || 182 isValidTelAddress(eleTel.val()) || 183 (eleStrasseNr !== '' && elePlz !== '' && eleOrt !== '')) { 184 return true; 185 } 186 return false; 187 }; 188 189 var checkclasses = function (bCheckInputs) { 190 191 if (bCheckInputs == undefined) { 192 bCheckInputs = false; 193 } 194 195 //0 unsichtbar 196 //1 optional 197 //2 selectone 198 //3 pflicht 199 var myfields = { 200 'grund_anrede': 0, 201 'grund_firma': 0, 202 'grund_vorname': 0, 203 'grund_nachname': 0, 204 'grund_strassenr': 0, 205 'grund_plz': 0, 206 'grund_ort': 0, 207 'grund_email': 0, 208 'grund_telefon': 0, 209 'grund_mitteilung': 0, 210 'kontakt_ansprechpartner': 0, 211 'gutschein_wert': 0, 212 'newsletter_kontaktok': 0, 213 'gruppe_name': 0, 214 'gruppe_pax': 0, 215 'gruppe_hinfahrt': 0, 216 'gruppe_abfahrtsort': 0, 217 'gruppe_fahrtziel': 0, 218 'gruppe_rueckfahrt': 0, 219 'gruppe_wuensche': 0, 220 'warteliste_anzahl': 0 221 }; 222 223 bereichscheckboxes.each(function () { 224 var curEle = $(this); 225 var mode = curEle.attr('name'); 226 if (curEle.is(':checked')) { 227 if (mode === 'kontakt') { 228 myfields.grund_anrede = Math.max(myfields.grund_anrede, 1); 229 myfields.grund_firma = Math.max(myfields.grund_firma, 1); 230 myfields.grund_vorname = Math.max(myfields.grund_vorname, 3); 231 myfields.grund_nachname = Math.max(myfields.grund_nachname, 3); 232 myfields.grund_mitteilung = Math.max(myfields.grund_mitteilung, 3); 233 myfields.grund_email = Math.max(myfields.grund_email, 2); 234 myfields.grund_plz = Math.max(myfields.grund_plz, 2); 235 myfields.grund_ort = Math.max(myfields.grund_ort, 2); 236 myfields.grund_strassenr = Math.max(myfields.grund_strassenr, 2); 237 myfields.grund_telefon = Math.max(myfields.grund_telefon, 2); 238 myfields.kontakt_ansprechpartner = Math.max(myfields.kontakt_ansprechpartner, 1); 239 } else if (mode === 'gutschein') { 240 myfields.grund_anrede = Math.max(myfields.grund_anrede, 1); 241 myfields.grund_firma = Math.max(myfields.grund_firma, 1); 242 myfields.grund_vorname = Math.max(myfields.grund_vorname, 3); 243 myfields.grund_nachname = Math.max(myfields.grund_nachname, 3); 244 myfields.grund_plz = Math.max(myfields.grund_plz, 2); 245 myfields.grund_ort = Math.max(myfields.grund_ort, 2); 246 myfields.grund_strassenr = Math.max(myfields.grund_strassenr, 2); 247 myfields.grund_email = Math.max(myfields.grund_email, 2); 248 myfields.grund_telefon = Math.max(myfields.grund_telefon, 1); 249 myfields.grund_mitteilung = Math.max(myfields.grund_mitteilung, 1); 250 myfields.gutschein_wert = Math.max(myfields.gutschein_wert, 3); 251 } else if (mode === 'newsletter') { 252 myfields.grund_anrede = Math.max(myfields.grund_anrede, 1); 253 myfields.grund_vorname = Math.max(myfields.grund_vorname, 1); 254 myfields.grund_nachname = Math.max(myfields.grund_nachname, 1); 255 myfields.grund_email = Math.max(myfields.grund_email, 3); 256 myfields.newsletter_kontaktok = Math.max(myfields.newsletter_kontaktok, 3); 257 } else if (mode === 'mietbus') { 258 myfields.grund_anrede = Math.max(myfields.grund_anrede, 1); 259 myfields.grund_firma = Math.max(myfields.grund_firma, 1); 260 myfields.grund_vorname = Math.max(myfields.grund_vorname, 3); 261 myfields.grund_nachname = Math.max(myfields.grund_nachname, 3); 262 myfields.grund_plz = Math.max(myfields.grund_plz, 3); 263 myfields.grund_ort = Math.max(myfields.grund_ort, 3); 264 myfields.grund_strassenr = Math.max(myfields.grund_strassenr, 3); 265 myfields.grund_email = Math.max(myfields.grund_email, 1); 266 myfields.grund_telefon = Math.max(myfields.grund_telefon, 1); 267 myfields.grund_mitteilung = Math.max(myfields.grund_mitteilung, 1); 268 myfields.gruppe_name = Math.max(myfields.gruppe_name, 3); 269 myfields.gruppe_pax = Math.max(myfields.gruppe_pax, 3); 270 myfields.gruppe_hinfahrt = Math.max(myfields.gruppe_hinfahrt, 3); 271 myfields.gruppe_abfahrtsort = Math.max(myfields.gruppe_abfahrtsort, 3); 272 myfields.gruppe_fahrtziel = Math.max(myfields.gruppe_fahrtziel, 3); 273 myfields.gruppe_rueckfahrt = Math.max(myfields.gruppe_rueckfahrt, 1); 274 myfields.gruppe_wuensche = Math.max(myfields.gruppe_wuensche, 1); 275 } else if (mode === 'katalog') { 276 myfields.grund_anrede = Math.max(myfields.grund_anrede, 1); 277 myfields.grund_firma = Math.max(myfields.grund_firma, 1); 278 myfields.grund_vorname = Math.max(myfields.grund_vorname, 3); 279 myfields.grund_nachname = Math.max(myfields.grund_nachname, 3); 280 myfields.grund_plz = Math.max(myfields.grund_plz, 3); 281 myfields.grund_ort = Math.max(myfields.grund_ort, 3); 282 myfields.grund_strassenr = Math.max(myfields.grund_strassenr, 3); 283 myfields.grund_email = Math.max(myfields.grund_email, 2); 284 myfields.grund_telefon = Math.max(myfields.grund_telefon, 1); 285 myfields.grund_mitteilung = Math.max(myfields.grund_mitteilung, 1); 286 } else if (mode === 'warteliste') { 287 myfields.grund_anrede = Math.max(myfields.grund_anrede, 3); 288 myfields.grund_firma = Math.max(myfields.grund_firma, 1); 289 myfields.grund_vorname = Math.max(myfields.grund_vorname, 3); 290 myfields.grund_nachname = Math.max(myfields.grund_nachname, 3); 291 myfields.grund_plz = Math.max(myfields.grund_plz, 3); 292 myfields.grund_ort = Math.max(myfields.grund_ort, 3); 293 myfields.grund_strassenr = Math.max(myfields.grund_strassenr, 3); 294 myfields.grund_email = Math.max(myfields.grund_email, 3); 295 myfields.grund_telefon = Math.max(myfields.grund_telefon, 3); 296 myfields.grund_mitteilung = Math.max(myfields.grund_mitteilung, 1); 297 myfields.warteliste_anzahl = Math.max(myfields.warteliste_anzahl, 3); 298 299 $('.allInOneKontakt .bereiche').css('display', 'none'); 300 } 301 } 302 }); 303 304 var hasErrors = false;
305 $.each(myfields, function (key, value) { 306 var curEle = allInOneKontakt.find('[name="' + key + '"]'); 307 curEle.removeClass('error'); 308 var curVal = curEle.val(); 309 if (curEle.length > 0) { 310 curEle.removeAttr('class'); 311 curEle.removeAttr('disabled'); 312 if (value === 0) { 313 curEle.val('').attr('disabled', true); 314 } else if (value === 1) { 315 curEle.addClass('optional'); 316 if (bCheckInputs && curVal !== '') { 317 validatefield(curEle); 318 } 319 } else if (value === 2) { 320 curEle.addClass('selectone'); 321 if (bCheckInputs && curVal !== '') { 322 validatefield(curEle); 323 } 324 } else if (value === 3) { 325 curEle.addClass('pflicht'); 326 if (bCheckInputs) { 327 if (!validatefield(curEle)) { 328 hasErrors = true; 329 curEle.addClass('error'); 330 } 331 } 332 } 333 } 334 }); 335 336 if (!checkselectonekontakt()) { 337 hasErrors = true; 338 } 339 340 var katalogCheckbox = allInOneKontakt.find('.bereiche').find('input[name="katalog"]'); 341 if (katalogCheckbox.length > 0 && katalogCheckbox.is(':checked')) { 342 if (!checkselectonekatalog()) { 343 if (bCheckInputs){ 344 alert("Bitte wählen Sie mindestens einen Katalog aus."); 345 } 346 hasErrors = true; 347 } 348 } 349 350 return !hasErrors; 351 }; 352 353 checkclasses(false); 354 355 bereichscheckboxes.on('change', function () { 356 var curEle = $(this); 357 var mode = curEle.attr('name'); 358 var zusatzblock = ''; 359 var blockname = '.zusatz_' + mode; 360 if (mode === 'kontakt') { 361 var optionen = ''; 362 var ansprechpartner = allInOneKontakt.find('.grunddaten').attr('data-ansprechpartner'); 363 var daten = {'mode': 'get', 'submode': 'kontakt', 'ansprechpartner': ansprechpartner}; 364 $.ajax({ 365 url: '/includes/design/ajax/allInOneKontakt.php', 366 data: daten, 367 type: 'POST', 368 async: false, 369 success: function (data) { 370 if (data === '') { 371 return true; 372 } 373 var jdaten = $.parseJSON(data); 374 $.each(jdaten, function (key, value) { 375 optionen += '<optgroup label="' + value.name + '">'; 376 optionen += '<option value="0">Allgemeine Anfrage</option>'; 377 optionen += value.options; 378 optionen += '</optgroup>'; 379 }); 380 } 381 }); 382 if (optionen != '') { 383 zusatzblock = '<div class="zusatz_kontakt">\n' + 384 ' <h3>Zusatzangaben für Rückfrage</h3>\n' +
385 ' <select name="kontakt_ansprechpartner" tabindex="20">\n' + 386 ' <option value="0">Kontakt zu</option>\n' + optionen + 387 ' </select>\n' + 388 ' <validationhelp></validationhelp>\n' + 389 ' </div>'; 390 } 391 } else if (mode === 'gutschein') { 392 zusatzblock = '<div class="zusatz_gutschein">\n' + 393 ' <h3>Zusatzangaben für den Gutschein</h3>\n' + 394 ' <input name="gutschein_wert" tabindex="20" type="text" placeholder="Wert in â¬"/>\n' + 395 ' <validationhelp></validationhelp>\n' + 396 ' </div>'; 397 } else if (mode === 'newsletter') { 398 zusatzblock = '<div class="zusatz_newsletter">\n' + 399 ' <h3>Zusatzangaben für den Newsletter</h3>\n' + 400 ' <input id="newsletter_kontaktok" tabindex="20" name="newsletter_kontaktok" type="checkbox"/>\n' + 401 ' <validationhelp></validationhelp>\n' + 402 ' <label for="newsletter_kontaktok">Ich möchte keine Angebote mehr verpassen und bestelle hiermit den kostenlosen Newsletter. Eine Abmeldung ist jederzeit möglich.</label>\n' + 403 ' </div>'; 404 } else if (mode === 'mietbus') { 405 zusatzblock = '<div class="zusatz_mietbus">\n' + 406 ' <h3>Zusatzangaben für Gruppenreisen</h3>\n' + 407 ' <span style="order:20"><input name="gruppe_name" type="text" tabindex="20" placeholder="Name der Gruppe / Firma"/>\n' + 408 ' <validationhelp></validationhelp></span>\n' + 409 ' <span style="order:21"><input name="gruppe_pax" type="text" tabindex="20" placeholder="Anzahl Personen"/>\n' + 410 ' <validationhelp></validationhelp></span>\n' + 411 ' <span style="order:22"><input name="gruppe_hinfahrt" type="text" tabindex="20" placeholder="Hinfahrt am/um"/>\n' + 412 ' <validationhelp></validationhelp></span>\n' + 413 ' <span style="order:23"><input name="gruppe_rueckfahrt" type="text" tabindex="20" placeholder="Rückfahrt am/um"/>\n' + 414 ' <validationhelp></validationhelp></span>\n' + 415 ' <span style="order:24"><textarea name="gruppe_abfahrtsort" tabindex="20" placeholder="Abfahrtsort"></textarea>\n' + 416 ' <validationhelp></validationhelp></span>\n' + 417 ' <span style="order:25"><textarea name="gruppe_fahrtziel" tabindex="20" placeholder="Fahrtziel"></textarea>\n' + 418 ' <validationhelp></validationhelp></span>\n' + 419 ' <span style="order:26" class="dw"><textarea name="gruppe_wuensche" tabindex="20"\n' + 420 ' placeholder="Wünsche z.B. Unterkunft, Verpflegung, Bus vor ort, Zwischenziele, ..."></textarea>\n' + 421 ' <validationhelp></validationhelp></span>\n' + 422 ' </div>'; 423 } else if (mode === 'katalog') { 424 var checkboxen = ''; 425 var daten = {'mode': 'get', 'submode': 'katalog'}; 426 $.ajax({ 427 url: '/includes/design/ajax/allInOneKontakt.php', 428 data: daten, 429 type: 'POST', 430 async: false, 431 success: function (data) { 432 if (data === '') { 433 return true; 434 } 435 var jdaten = $.parseJSON(data); 436 if(jdaten != ''){ 437 $.each(jdaten, function (key, value) { 438 checkboxen += ' <br><input class="selectone" tabindex="20" name="katalog_' + value.id + '" type="checkbox"/>\n' + 439 ' <validationhelp></validationhelp>\n' + 440 ' <label>' + value.title + '</label>\n'; 441 }); 442 } 443 checkboxen += ' <br><input class="selectone" tabindex="20" name="katalog_0" type="checkbox"/>\n' + 444 ' <validationhelp></validationhelp>\n' + 445 ' <label>Alle zukünftigen Reiseangebote</label>\n'; 446 } 447 }); 448 449 zusatzblock = '<div class="zusatz_katalog">\n' + 450 ' <h3>Zusatzangaben für die Katalogbestellung</h3>\n' +
451 ' <span>Welchen Katalog möchten Sie erhalten?</span>\n' + 452 checkboxen + ' </div>'; 453 } else if (mode === 'warteliste'){ 454 zusatzblock = '<div class="zusatz_mietbus">\n' + 455 ' <h3>Zusatzangaben für Warteliste</h3>\n' + 456 ' <input type="number" step="1" min="1" max="20" name="warteliste_anzahl" tabindex="21" placeholder="Anzahl Personen" />\n' + 457 ' <validationhelp></validationhelp>\n' + 458 ' </div>'; 459 } 460 461 if (curEle.is(':checked')) { 462 containerZusatzfelder.append(zusatzblock); 463 } else { 464 containerZusatzfelder.find(blockname).remove(); 465 } 466 checkclasses(); 467 }).change(); 468 469 470 allInOneKontakt.on('blur', 'input, select, textarea', function () { 471 var curEle = $(this); 472 validatefield(curEle); 473 }); 474 475 allInOneKontakt.on('change', 'input[type="checkbox"], input[type="radio"]', function () { 476 var curEle = $(this); 477 validatefield(curEle); 478 }); 479 480 allInOneKontakt.find('button').on('click', function () { 481 if (!allInOneKontakt.find('input[name="grund_kontok"]').is(':checked')){ 482 alert("Bitte stimmen Sie der Datenschutzerklärung zu!"); 483 return true; 484 } 485 486 if (!checkclasses(true)) { 487 var firstErrorEle = allInOneKontakt.find('.error').first().focus(); 488 if (firstErrorEle.attr('name') === 'newsletter_kontaktok'){ 489 alert("Bitte stimmen Sie der Zusendung unseres Newsletter zu!"); 490 } 491 492 return true; 493 } 494 495 var oReturn = {}; 496 allInOneKontakt.find('input').each(function () { 497 var curEle = $(this); 498 var name = curEle.attr('name'); 499 var val = curEle.val(); 500 if (curEle.attr('type') === 'checkbox') { 501 if (curEle.attr('checked') === 'checked') { 502 val = 1; 503 } else { 504 val = 0; 505 } 506 } 507 508 eval('oReturn.' + name + ' = val;'); 509 }); 510 511 allInOneKontakt.find('select').each(function () { 512 var curEle = $(this); 513 var name = curEle.attr('name'); 514 var val = curEle.val(); 515 eval('oReturn.' + name + ' = val;'); 516 }); 517 518 allInOneKontakt.find('textarea').each(function () { 519 var curEle = $(this); 520 var name = curEle.attr('name'); 521 var val = curEle.val(); 522 eval('oReturn.' + name + ' = val;'); 523 }); 524 525 wartegrafik(true); 526 var daten = {'mode': 'save', 'daten': oReturn}; 527 $.ajax({ 528 url: '/includes/design/ajax/allInOneKontakt.php', 529 data: daten, 530 type: 'POST', 531 async: false, 532 success: function (data) { 533 if (data === '') { 534 return true; 535 } 536 var jdata = JSON.parse(data); 537 if (jdata.status == 'error') { 538 var bOneAlertFound = false; 539 $.each(jdata.felder, function (key, value) { 540 if (value === 'kontakt') { 541 if (!bOneAlertFound) { 542 bOneAlertFound = true; 543 alert("Bitte geben Sie mindestens eine Möglichkeit an, wie wir Sie kontaktieren können! (Adresse, E-Mail oder Telefon)"); 544 } 545 } else if (value === 'kontakt_bitteTelEmail') { 546 if (!bOneAlertFound) { 547 bOneAlertFound = true; 548 alert("Für eine vereinfachte Kommunikation bitten wir Sie, uns Ihre E-Mailadresse oder eine Telefonnummer mitzuteilen."); 549 } 550 } else if (value === 'katalog') { 551 if (!bOneAlertFound) { 552 bOneAlertFound = true; 553 alert("Bitte wählen Sie aus, welchen Katalog sie erhalten möchten."); 554 } 555 } else if (value === 'spam') { 556 if (!bOneAlertFound) { 557 bOneAlertFound = true; 558 alert("Leider funktioniert das Formular mit Ihrem Browser nicht. Bitte rufen Sie uns an.") 559 } 560 } else { 561 allInOneKontakt.find('[name="' + value + '"]').addClass('error'); 562 } 563 }); 564 } else if (jdata.status === 'OK') { 565 var sMSG = '<span><b>Vielen Dank für Ihre Anfrage.</b><br/>Ihre E-Mail wurde erfolgreich versandt.</span>'; 566 if (allInOneKontakt.find('.bereiche').find('[name="newsletter]').is(':checked')){
567 sMSG += '<span>Wir haben von Ihnen den Wunsch erhalten, Ihre E-Mailadresse in unseren Newsletter-Verteiler aufzunehmen.' + 568 '<br />Um Ihre Anmeldung verifizieren zu können, haben wir Ihnen eine E-Mail mit Bestätigungs-Link gesendet.' + 569 '<br />Bitte prüfen Sie Ihr Postfach, um die Anmeldung abzuschlieÃen.</span>'; 570 } 571 allInOneKontakt.html(sMSG); 572 } 573 } 574 }); 575 wartegrafik(false); 576 }); 577}); 578 579 580
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.