Created
October 3, 2016 15:07
-
-
Save cyberlex404/ef2a5cb9a863517784f4afbe16576a23 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by Lex on 01.03.2016. | |
*/ | |
/** | |
* Provide the HTML to create the modal dialog. | |
*/ | |
(function ($) { | |
Drupal.theme.prototype.login_modal = function () { | |
var html = ''; | |
html += '<div id="ctools-modal" class="popups-box">'; | |
html += ' <div class="ctools-modal-content ctools-modal-login-modal-content">'; | |
html += ' <span class="popups-close"><a class="close" href="#">' + Drupal.CTools.Modal.currentSettings.closeImage + '</a></span>'; | |
html += ' <div class="modal-scroll"><div id="modal-content" class="modal-content popups-body"></div></div>'; | |
html += ' </div>'; | |
html += '</div>'; | |
return html; | |
} | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment