Spaces:
Sleeping
Sleeping
| <dynaForm name="pluginImport" type="xmlform" width="500px" labelWidth="200px" enableTemplate="1"> | |
| <TITLE1 type="title"> | |
| <en><![CDATA[Import Plugin]]></en> | |
| </TITLE1> | |
| <MAX_FILE_SIZE type="edit" mode="view"> | |
| <en><![CDATA[Maximum upload file size in bytes]]></en> | |
| </MAX_FILE_SIZE> | |
| <PLUGIN_FILENAME type="file"> | |
| <en><![CDATA[File]]></en> | |
| </PLUGIN_FILENAME> | |
| <SAVE type="button" onclick="verifyFile(this.form);"> | |
| <en><![CDATA[Import]]></en> | |
| </SAVE> | |
| <BTN_CANCEL type="button" onclick="cancel();"> | |
| <en><![CDATA[Cancel]]></en> | |
| </BTN_CANCEL> | |
| <JS type="javascript" replacetags="1"><![CDATA[ | |
| var verifyFile = function(oForm) { | |
| if (document.getElementById('form[PLUGIN_FILENAME]').value != '') { | |
| oForm.submit(); | |
| } | |
| else { | |
| msgBox('@G::LoadTranslation(ID_PLEASE_SELECT_PLUGIN)', 'alert'); | |
| } | |
| }; | |
| function cancel(){ | |
| history.back(); | |
| } | |
| ]]></JS> | |
| </dynaForm> | |