| [ Index ] | PHP Cross Reference of Mambo 4.6.5 |
|
| [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html> 3 <head> 4 <title>New Folder</title> 5 <style type="text/css"> 6 /*<![CDATA[*/ 7 html, body { background-color: ButtonFace; color: ButtonText; font: 11px Tahoma,Verdana,sans-serif; margin: 0; padding: 0;} 8 body { padding: 5px; } 9 .title { background-color: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; border-bottom: 1px solid black; letter-spacing: 2px;} 10 select, input, button { font: 11px Tahoma,Verdana,sans-serif; } 11 .buttons { width: 70px; text-align: center; } 12 form { padding: 0px; margin: 0;} 13 form .elements{ 14 padding: 10px; text-align: center; 15 } 16 /*]]>*/ 17 </style> 18 <script type="text/javascript" src="assets/popup.js"></script> 19 <script type="text/javascript"> 20 /*<![CDATA[*/ 21 window.resizeTo(300, 170); 22 23 if(window.opener) 24 I18N = window.opener.I18N; 25 26 init = function () 27 { 28 __dlg_init(); 29 __dlg_translate(I18N); 30 document.getElementById("f_foldername").focus(); 31 } 32 33 function onCancel() 34 { 35 __dlg_close(null); 36 return false; 37 } 38 39 function onOK() 40 { 41 // pass data back to the calling window 42 var fields = ["f_foldername"]; 43 var param = new Object(); 44 for (var i in fields) { 45 var id = fields[i]; 46 var el = document.getElementById(id); 47 param[id] = el.value; 48 } 49 __dlg_close(param); 50 return false; 51 } 52 53 function addEvent(obj, evType, fn) 54 { 55 if (obj.addEventListener) { obj.addEventListener(evType, fn, true); return true; } 56 else if (obj.attachEvent) { var r = obj.attachEvent("on"+evType, fn); return r; } 57 else { return false; } 58 } 59 60 addEvent(window, 'load', init); 61 //--> 62 </script> 63 </head> 64 <body > 65 <div class="title">New Folder</div> 66 <form action=""> 67 <div class="elements"> 68 <label for="f_foldername">Folder Name:</label> 69 <input type="text" id="f_foldername" /> 70 </div> 71 <div style="text-align: right;"> 72 <hr /> 73 <button type="button" class="buttons" onclick="return onOK();">OK</button> 74 <button type="button" class="buttons" onclick="return onCancel();">Cancel</button> 75 </div> 76 </form> 77 </body> 78 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed May 23 00:05:01 2012 | Cross-referenced by PHPXref 0.7 |
| Mambo API: Mambo is Free software released under the GNU/General Public License, Version 2 |