????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 13.59.50.189 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/icad.astacus.se/productionzon/JavaPowUpload/ |
Upload File : |
<!-- saved from url=(0014)about:internet --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Customize JavaPowUpload</title> <link rel="stylesheet" href="styles.css"> <style type="text/css"> <!-- .style1 { font-size: 16px; font-weight: bold; } --> </style> </head> <body > Sample: <b>localization.html</b> <a href="javascript:location.reload(true);"><img border="0" src="images/refresh.png" width="16" height="16"> Refresh frame</a> <a target="_parent" href="index.htm"><img border="0" src="images/home.png" width="16" height="16"> Examples home</a><br/><br/> <p>JavaPowUpload allows translating most of messages and notes into any language.</p> <p>JavaPowUpload can upload XML file containing texts in a necessary language. Value Common.InternationalFile is used for this function. Its value should be URL to XML file, for example, <param name="Common.InternationalFile" value="Extra/Localization/Russian_v1.2_18.12.2009.xml" /></p> <p>JavaPowUpload has some ready XML files with translations installed. See Localization folder. You may easily make your own translation using the applet on the web page. It is also possible to edit an existing XML file if translation version is older than JavaPowUpload version.</p> <!-- <span style="font: 15px/17px Verdana, Arial, Helvetica, sans-serif;border: 1px solid #E0E0E0;padding: 5px;display:block;text-align:left; background: #FDF2F2;">If you have made translation into a new language, we would be glad to add it to our distribution archive. To say thank you, we can offer you a <b>free commercial license or a free upgrade</b>! You can <a href="http://www.element-it.com/contacts.aspx">contact</a> with us if you want to make translation into a new language.</span> --> <p>Some values can be specified by JavaPowUpload object properties (for example, <param name="Upload.ProgressArea.DownloadButton.Label" value="Upload" />). Some properties have high priority and you may edit some messages or notes.</p> You may also see the translations of most messages and notes in real-time. Keep it in mind that some properties cannot be changed in real-time.<br> Tool below provides interface to translate messages and labels to your language and generates xml file. <br> <br> <script type="text/javascript"> var Java = null; var paramNames = new Array(); var paramValues = new Array(); function JavaPowUpload_onAppletInit() { initdefvalues(); } function InitJavaObj() { Java = document.getElementById("JavaPowUpload"); } function initdefvalues() { InitJavaObj(); getValues(); generateParamsTable(); } function getValues() { paramNames = new Array(); paramValues = new Array(); var paramNamesJ = Java.getTranslationParams(); var i=0; for(i=0; i<paramNamesJ.size(); i++) { paramNames[i] = paramNamesJ.get(i); paramValues.push(Java.getParam(paramNames[i])) } } function generateParamsTable() { var i = 0; var tableDiv = document.getElementById('table_container'); var inner ="<table border='0' cellpadding='0' cellspacing='0' align='left'>"; var value = ""; for(i=0;i<paramNames.length;i++) { value = paramValues[i]+""; inner = inner+"<tr><td><font color='#195387'>"+paramNames[i]+"</font> <code>"+mainEscape(value)+"</code></td>"; //("+params[i][1]+") inner = inner+"<td nowrap> <input size='100' id='"+paramNames[i]+"' name='"+paramNames[i]+"' type='text' value='"+value+"' > "; inner = inner+ " <a href='javascript: applyNow("+i+");' title='Apply it now!'><font color='#0000FF' size='4'><strong>></strong></font></a>"; inner = inner+ " <a href='javascript: getDef("+i+");' title='Return default value'>def</a>"; inner = inner+ " <a href='Documentation/JavaPowUpload_Manual_HTML/Parameters.html#"+paramNames[i]+"' title='Parameter description' target='_blank'><font color='#FF0000' size='4'><strong>?<strong></font></a>"; inner = inner+"</td></tr>"; } inner = inner+"</table>"; tableDiv.innerHTML = " "+inner; } function applyNow(paramIndex) { Java.setParam(paramNames[paramIndex], document.getElementById(paramNames[paramIndex]).value); } function getDef(paramIndex) { document.getElementById(paramNames[paramIndex]).value = paramValues[paramIndex]; } function clearTextArea() { document.getElementById('txtCode').value=""; } function restoreAll() { var i = 0; for(i=0;i<paramNames.length;i++) document.getElementById(paramNames[i]).value = paramValues[i]; } function loadFromXml() { Java.selectInternationalLocalFile(); getValues(); restoreAll(); } function saveToXml() { setAll(); Java.saveInternationalLocalFile(); } function setAll() { for(i=0;i<paramNames.length;i++) if(document.getElementById(paramNames[i]).value!= paramValues[i]) applyNow(i); } function mainEscape(str) { var result = str; result = replaceAll(result, '"', '"'); result = replaceAll(result, '<', '<'); result = replaceAll(result, '>', '>'); return result; } function mainDEscape(str) { var result = str; result = replaceAll(result, '"', '"'); result = replaceAll(result, '<', '<'); result = replaceAll(result, '>', '>'); return result; } function replaceAll(string, search, replace) { return string.split(search).join(replace); } </script><br> <br> <!--lib/JavaPowUpload.jar - main jar file, should always be included Optional jar files: lib/skinlf.jar - for themes support lib/commons-compress.jar - compression before upload lib/commons-httpclient.jar - http upload functionality lib/commons-net-ftp.jar - FTP protocol support --> <applet code="com.elementit.JavaPowUpload.Manager" archive="lib/commons-httpclient.jar, lib/JavaPowUpload.jar" width="400" height="200" name="JavaPowUpload" id="JavaPowUpload" mayscript="true" alt="JavaPowUpload by www.element-it.com" VIEWASTEXT> <!-- Java Plug-In Options --> <param name="progressbar" value="true"> <param name="boxmessage" value="Loading JavaPowUpload Applet ..."> <param name="Common.SerialNumber" value="put your serial number here"> <param name="Common.UseLiveConnect" value="true"> <!--Enable upload mode --> <param name="Common.UploadMode" value="true"> <!--Set url to file processing script --> <param name="Upload.UploadUrl" value="FileProcessingScripts/PHP/uploadfiles.php"> <!-- This text will be shown if applet not working or Java not installed--> <span style="border:1px solid #FF0000;display:block;padding:5px;margin-top:10px;margin-bottom:10px;text-align:left; background: #FDF2F2;color:#000;">You should <b>enable applets</b> running at browser and to have the <b>Java</b> (JRE) version >= 1.5.<br />If applet is not displaying properly, please check <a target="_blank" href="http://java.com/en/download/help/testvm.xml" title="Check Java applets">additional configurations</a></span> </applet> <p><br /> <span class="style1">Here you can translate all messages to new language:</span> <ol start="1" type="1"> <li>Load English or other ready XML translation file (stored at Extra/Localization/ folder)</li> <li>Change it and save as new XML file</li> </ol> You can see parameter name (<font color="#195387">blue colored</font>), english default value (<font color="#009900">green colored</font>). You can also restore default value for each parameter and view its description at Help<br/><br/> <input type="button" onClick="javasciprt: loadFromXml();" value="Load from XML" /> <input type="button" onClick="javasciprt: saveToXml();" value="Save to XML" /> <input type="button" onClick="javasciprt: restoreAll();" value="Restore defaults" /> <br> </p> <div id="table_container" > </div> </body> </html>