2 * Provide the HTML to create the modal dialog.
4 Drupal
.theme
.prototype.CToolsSampleModal = function () {
7 html
+= '<div id="ctools-modal" class="popups-box">';
8 html
+= ' <div class="ctools-modal-content ctools-sample-modal-content">';
9 html
+= ' <table cellpadding="0" cellspacing="0" id="ctools-face-table">';
11 html
+= ' <td class="popups-tl popups-border"></td>';
12 html
+= ' <td class="popups-t popups-border"></td>';
13 html
+= ' <td class="popups-tr popups-border"></td>';
16 html
+= ' <td class="popups-cl popups-border"></td>';
17 html
+= ' <td class="popups-c" valign="top">';
18 html
+= ' <div class="popups-container">';
19 html
+= ' <div class="modal-header popups-title">';
20 html
+= ' <span id="modal-title" class="modal-title"></span>';
21 html
+= ' <span class="popups-close"><a class="close" href="#">' + Drupal
.CTools
.Modal
.currentSettings
.closeText
+ '</a></span>';
22 html
+= ' <div class="clear-block"></div>';
24 html
+= ' <div class="modal-scroll"><div id="modal-content" class="modal-content popups-body"></div></div>';
25 html
+= ' <div class="popups-buttons"></div>'; //Maybe someday add the option for some specific buttons.
26 html
+= ' <div class="popups-footer"></div>'; //Maybe someday add some footer.
29 html
+= ' <td class="popups-cr popups-border"></td>';
32 html
+= ' <td class="popups-bl popups-border"></td>';
33 html
+= ' <td class="popups-b popups-border"></td>';
34 html
+= ' <td class="popups-br popups-border"></td>';