1 2// Kompatibilitaet 3function fnShowMessage (icon, question, actions, captions, styles, pmInterface) { 4 fnShowMessageN({symbol: icon, message: question, buttonActions: actions, buttonCaptions: captions, buttonStyles: styles, Interface: pmInterface}); 5} 6 7// zeigt Meldung an 8function fnShowMessageN(pmParam) { 9 var content = ""; 10 content += '<html class="MessageBox"><head>'; 11 content += '<link rel="stylesheet" type="text/css" href="/ib/site/generators/rStylesheet.php?Admin=1&2015_0812">'; 12 content += '<script type="text/javascript" src="/ib/core/libraries_ext/jquery/jquery.js"></script><script type="text/javascript">try{jQuery.noConflict();} catch(e) {}</script>'; 13 content += '<script type="text/javascript" src="/ib/core/libraries_ext/tinymce/js/tinymce/standalone_popup.js"></script>'; 14 content += '</head><body style="margin:0;"><div class="MessageBox">'; 15 content += '<span class="admin">'; 16 17 if(typeof(pmParam.message) == "string") { 18 content += '<div style="position:relative;margin-top:-12px;height:36px;margin-bottom:12px;margin-right:-12px;transform:translateX(6px) translateY(-6px);">'; 19 } else { 20 content += '<div style="position:absolute;left:18px;bottom:15px;font-size:12px;line-height:17px;letter-spacing:0.08em;font-weight:300;">v25</div>'; 21 content += '<div style="position:relative;margin-top:-18px;height:36px;margin-bottom:12px;margin-right:-18px;">'; 22 } 23 content += ' <div class="Kopf" style="font-size:12px;text-align:right;padding-top:6px;line-height:29px;">'; 24 //content += ' <span class="Version" style="xxvertical-align:-1px;letter-spacing:0.08em;line-height:16px;padding-right:5px;font-weight:300;">CMS v25</span><img src="/ib/core/elements/Logo.svg" style="vertical-align:middle;">'; 25 content += ' <img src="/ib/core/elements/Icon_cmsROCCAS_black.svg" style="display:block;position:absolute;top:10px;right:10px;">'; 26 content += ' </div>'; 27 content += '</div>'; 28 29 //content += ' <div style="position:absolute; top:5px; right:10px; font-size:12px;">roccasCMS v25</div>'; 30 31 content += ' <div class="MessageContainer">'; 32 content += ' <div>'; 33 34 content += '<div class="Message ' + ((typeof(pmParam.symbol) == "Login")?"WithHead":"") + '">'; 35 content += ' <table class="MessageTable" cellpadding="0" cellspacing="0" border="0">'; 36 content += ' <tbody class="MessageBody">'; 37 content += ' <tr class="MessageRow">'; 38 if(pmParam.symbol == "Login") 39 content += ' <td class="MessageCol1" valign="top"><span class="LoginIcon"><img src="/ib/core/elements/Login.svg" style="width:100%;"></span></td>'; 40 else 41 content += ' <td class="MessageCol1" valign="top"><span style="" class="Icon_48 rcAdmin-' + pmParam.symbol + '"></span></td>'; 42 content += ' <td class="MessageCol2" valign="top" id="MessageContent"><span>' + (typeof(pmParam.message) == "string"?pmParam.message:"") + '</span></td>'; 43 content += ' </tr>'; 44 content += ' </tbody>'; 45 content += ' </table>'; 46 content += ' </div>'; 47 content += '<div>'; 48 content += '<div class="Buttons">'; 49 for ( i=0; i < pmParam.buttonCaptions.length; i++) { 50 content += '<div style="float:left; margin-left:12px;">'; 51 content += '<a class="Textschalter" href="#" '; 52 content += 'onclick="' + pmParam.buttonActions[i] + ';frameElement.IPopup.close();return false;" id="footerButton' + i + '">'; 53 content += '<span class="Icon rcAdmin-' + (pmParam.buttonStyles && pmParam.buttonStyles[i]?pmParam.buttonStyles[i]:"Ok") + '"></span>' + pmParam.buttonCaptions[i] + '</a></div>'; 54 } 55 content += ' <div style="clear:both"></div> '; 56 content += '</div>'; 57 content += '<div style="clear:both"></div> '; 58 59 content += '</div>'; 60 content += '</div>'; 61 content += "</span></div></body></html>"; 62 63 64 if(typeof(pmParam.message) == "string") { 65 var dialog = fnAdminDialog({ 66 content : content, 67 Interface : pmParam["Interface"], 68 caller : this, 69 dummy : 0 70 }); 71 } 72 else { 73 var dialog = fnAdminDialogNoIfr({ 74 content : content, 75 Interface : pmParam["Interface"], 76 caller : this, 77 dummy : 0 78 }); 79 (function() { 80 var d2 = dialog; 81 var m = pmParam.message 82 var fn = function() { 83 if(jQuery("#MessageContent").length > 0) { 84 jQuery("#MessageContent").append(m); 85 m.show(); 86 } 87 else { 88 setTimeout(fn , 100); 89 } 90 }; 91 setTimeout(fn , 100); 92 })(); 93 } 94 return dialog; 95} 96 97function fnShowImagePreview(pmParam) { 98 var content = ""; 99 content += '<html><head>'; 100 content += '<link rel="stylesheet" type="text/css" href="/ib/site/generators/rStylesheet.php?Admin=1">'; 101 content += '<script type="text/javascript" src="/ib/core/libraries_ext/jquery/jquery.js"></script><script type="text/javascript">try{jQuery.noConflict();} catch(e) {}</script>'; 102 content += '<script type="text/javascript" src="/ib/core/libraries_ext/tinymce/js/tinymce/standalone_popup.js"></script>'; 103 content += '</head><body>'; 104 content += '<span class="admin">'; 105 106 content += '<div style="width:408px;max-width:100%; height:408px;max-height:100%; overflow:hidden">'; 107 content += '<table cellpadding="0" cellspacing="0" border="0" height="100%" width="100%">'; 108 content += ' <tr>'; 109 content += ' <td valign="middle" align="center"><img src="' + pmParam["src"] + '"/></td>'; 110 content += ' </tr>'; 111 content += '</table>'; 112 content += '</div>'; 113 content += "</span></body></html>"; 114/*
115 if(typeof(WM) != "undefined" && WM) { 116 return WM.dialog({ // return ergaenzt 081121 117 title: pmParam.title, 118 content : content, 119 width : 420, 120 height : 420, 121 122 dummy : 0 123 }, { 124 Interface : pmParam.Interface, 125 caller : this, 126 dummy : 0 127 }); 128 } 129*/ 130 var dialog = fnAdminDialog({ 131 content : content, 132 Interface : pmParam["Interface"], 133 size: "Image", 134 caller : this, 135 dummy : 0 136 }); 137 return dialog; 138}
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.