MediaWiki:Common.js
De la Drept Autor
Versiunea din 26 decembrie 2021 08:42, autor: Sam (discuție | contribuții)
Notă: După publicare, trebuie să treceți peste memoria cache a navigatorului pentru a putea vedea modificările:
- Firefox / Safari: Țineți apăsat pe Shift în timp ce faceți clic pe Reîncărcare ori apăsați Ctrl-F5 sau Ctrl-R (⌘-R pe un sistem Mac);
- Google Chrome: Apăsați Ctrl-Shift-R (⌘-Shift-R pe un sistem Mac);
- Internet Explorer / Edge: Țineți apăsat pe Ctrl în timp ce faceți clic pe Reîmprosptare sau apăsați Ctrl-F5;
- Opera: Apăsați Ctrl-F5.
/* Any JavaScript here will be loaded for all users on every page load. */ $(function () { var myElement = document.getElementById('form-subscribe-newsletter'); myElement.innerHTML = '<script type="text/javascript"> /** This section is only needed once per page if manually copying **/ if (typeof MauticSDKLoaded == 'undefined') { var MauticSDKLoaded = true; var head = document.getElementsByTagName('head')[0]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://connect.mediawrite.agency/media/js/mautic-form.js'; script.onload = function() { MauticSDK.onLoad(); }; head.appendChild(script); var MauticDomain = 'https://connect.mediawrite.agency'; var MauticLang = { 'submittingMessage': "Please wait..." } }else if (typeof MauticSDK != 'undefined') { MauticSDK.onLoad(); } </script> <style type="text/css" scoped> .mauticform_wrapper { max-width: 600px; margin: 10px auto; } .mauticform-innerform {} .mauticform-post-success {} .mauticform-name { font-weight: bold; font-size: 1.5em; margin-bottom: 3px; } .mauticform-description { margin-top: 2px; margin-bottom: 10px; } .mauticform-error { margin-bottom: 10px; color: red; } .mauticform-message { margin-bottom: 10px;color: green; } .mauticform-row { display: block; margin-bottom: 20px; } .mauticform-label { font-size: 1.1em; display: block; font-weight: bold; margin-bottom: 5px; } .mauticform-row.mauticform-required .mauticform-label:after { color: #e32; content: " *"; display: inline; } .mauticform-helpmessage { display: block; font-size: 0.9em; margin-bottom: 3px; } .mauticform-errormsg { display: block; color: red; margin-top: 2px; } .mauticform-selectbox, .mauticform-input, .mauticform-textarea { width: 100%; padding: 0.5em 0.5em; border: 1px solid #CCC; background: #fff; box-shadow: 0px 0px 0px #fff inset; border-radius: 4px; box-sizing: border-box; } .mauticform-checkboxgrp-row {} .mauticform-checkboxgrp-label { font-weight: normal; } .mauticform-checkboxgrp-checkbox {} .mauticform-radiogrp-row {} .mauticform-radiogrp-label { font-weight: normal; } .mauticform-radiogrp-radio {} .mauticform-button-wrapper .mauticform-button.btn-default, .mauticform-pagebreak-wrapper .mauticform-pagebreak.btn-default { color: #5d6c7c;background-color: #ffffff;border-color: #dddddd;} .mauticform-button-wrapper .mauticform-button, .mauticform-pagebreak-wrapper .mauticform-pagebreak { display: inline-block;margin-bottom: 0;font-weight: 600;text-align: center;vertical-align: middle;cursor: pointer;background-image: none;border: 1px solid transparent;white-space: nowrap;padding: 6px 12px;font-size: 13px;line-height: 1.3856;border-radius: 3px;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;} .mauticform-button-wrapper .mauticform-button.btn-default[disabled], .mauticform-pagebreak-wrapper .mauticform-pagebreak.btn-default[disabled] { background-color: #ffffff; border-color: #dddddd; opacity: 0.75; cursor: not-allowed; } .mauticform-pagebreak-wrapper .mauticform-button-wrapper { display: inline; } </style> <div id="mauticform_wrapper_abonaredahttpsdabymediawriteagency" class="mauticform_wrapper"> <form autocomplete="false" role="form" method="post" action="https://connect.mediawrite.agency/form/submit?formId=19" id="mauticform_abonaredahttpsdabymediawriteagency" data-mautic-form="abonaredahttpsdabymediawriteagency" enctype="multipart/form-data"> <div class="mauticform-error" id="mauticform_abonaredahttpsdabymediawriteagency_error"></div> <div class="mauticform-message" id="mauticform_abonaredahttpsdabymediawriteagency_message"></div> <div class="mauticform-innerform"> <div class="mauticform-page-wrapper mauticform-page-1" data-mautic-form-page="1"> <div id="mauticform_abonaredahttpsdabymediawriteagency_adresa_ta_de_email" data-validate="adresa_ta_de_email" data-validation-type="email" class="mauticform-row mauticform-email mauticform-field-1 mauticform-required"> <label id="mauticform_label_abonaredahttpsdabymediawriteagency_adresa_ta_de_email" for="mauticform_input_abonaredahttpsdabymediawriteagency_adresa_ta_de_email" class="mauticform-label">Adresa ta de email</label> <input id="mauticform_input_abonaredahttpsdabymediawriteagency_adresa_ta_de_email" name="mauticform[adresa_ta_de_email]" value="" class="mauticform-input" type="email"> <span class="mauticform-errormsg" style="display: none;">This is required.</span> </div> <div id="mauticform_abonaredahttpsdabymediawriteagency_submit" class="mauticform-row mauticform-button-wrapper mauticform-field-2"> <button type="submit" name="mauticform[submit]" id="mauticform_input_abonaredahttpsdabymediawriteagency_submit" value="" class="mauticform-button btn btn-default">Submit</button> </div> </div> </div> <input type="hidden" name="mauticform[formId]" id="mauticform_abonaredahttpsdabymediawriteagency_id" value="19"> <input type="hidden" name="mauticform[return]" id="mauticform_abonaredahttpsdabymediawriteagency_return" value=""> <input type="hidden" name="mauticform[formName]" id="mauticform_abonaredahttpsdabymediawriteagency_name" value="abonaredahttpsdabymediawriteagency"> </form> </div> '; }());