12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html>
- <head>
- <title>New Folder</title>
- <link href="assets/manager.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- /*<![CDATA[*/
- html, body { background-color: #f7f7f7; color: ButtonText; font: 11px Tahoma,Verdana,sans-serif; margin: 0; padding: 0;}
- body { padding: 5px; }
- .title { background-color: #dedede; color: #504845; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; border-bottom: 1px solid #cec6b5; letter-spacing: 2px;}
- select, input, button { font: 11px Tahoma,Verdana,sans-serif; }
- .buttons { width: 100px; text-align: center; }
- form { padding: 0px; margin: 0;}
- form .elements{
- padding: 10px; text-align: center;
- }
- /*]]>*/
- </style>
- <script type="text/javascript" src="assets/popup.js"></script>
- <script type="text/javascript">
- /*<![CDATA[*/
- window.resizeTo(450, 205);
- if(window.opener)
- I18N = window.opener.I18N;
- init = function ()
- {
- __dlg_init();
- __dlg_translate(I18N);
- document.getElementById("f_foldername").focus();
- }
- function onCancel()
- {
- __dlg_close(null);
- return false;
- }
- function onOK()
- {
- // pass data back to the calling window
- var fields = ["f_foldername"];
- var param = new Object();
- for (var i in fields) {
- var id = fields[i];
- var el = document.getElementById(id);
- param[id] = el.value;
- }
- __dlg_close(param);
- return false;
- }
- function addEvent(obj, evType, fn)
- {
- if (obj.addEventListener) { obj.addEventListener(evType, fn, true); return true; }
- else if (obj.attachEvent) { var r = obj.attachEvent("on"+evType, fn); return r; }
- else { return false; }
- }
- addEvent(window, 'load', init);
- //-->
- </script>
- </head>
- <body >
- <div class="title">New Folder</div>
- <form action="">
- <div class="elements">
- <label for="f_foldername">Folder Name:</label>
- <input type="text" id="f_foldername" style="width: 250px;"/>
- </div>
- <div style="text-align: right;">
- <hr noshade="noshade" style="height: 1px; color=#cec6b5;" />
- <button type="button" class="save" onclick="return onOK();">OK</button>
- <button type="button" class="cancel" onclick="return onCancel();">Cancel</button>
- </div>
- </form>
- </body>
- </html>
|