Files
luos/workflow/engine/xmlform/setup/pluginImport.xml
2011-09-05 12:47:25 -04:00

41 lines
905 B
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<dynaForm name="pluginImport" type="xmlform" width="500px" labelWidth="200px" enableTemplate="1">
<TITLE1 type="title">
<en>Import Plugin</en>
</TITLE1>
<MAX_FILE_SIZE type="edit" mode="view">
<en>Max upload file size in bytes</en>
</MAX_FILE_SIZE>
<PLUGIN_FILENAME type="file">
<en>File</en>
</PLUGIN_FILENAME>
<SAVE type="button" onclick="verifyFile(this.form);">
<en>Import</en>
</SAVE>
<BTN_CANCEL type="button" onclick="cancel();">
<en>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>