<?xml version="1.0" encoding="UTF-8"?>
<dynaForm name="languages_ImportForm" type="xmlform" width="500px" height="" labelWidth="200px">
  <TITLE1 type="title">
    <en><![CDATA[Upgrade System]]></en>
  </TITLE1>
  <PM_VERSION type="edit" mode="view">
    <en><![CDATA[Current Version]]></en>
  </PM_VERSION>
  <MAX_FILE_SIZE type="edit" mode="view">
    <en><![CDATA[Maximum upload file size in bytes]]></en>
  </MAX_FILE_SIZE>
  <UPGRADE_FILENAME type="file">
    <en><![CDATA[File]]></en>
  </UPGRADE_FILENAME>
  <UPGRADE type="button" onclick="verifyFile(this.form);">
    <en><![CDATA[Upgrade]]></en>
  </UPGRADE>
  <!-- BTN_CANCEL type="button" onclick="cancel();">
  <en>Cancel</en>
</BTN_CANCEL //-->
  <JS type="javascript"><![CDATA[
var verifyFile = function(oForm) {
  if (document.getElementById('form[UPGRADE_FILENAME]').value != '') {
    oForm.submit();
  }
  else {
    alert('@G::LoadTranslation(ID_PLEASE_SELECT_UPGRADE_FILE)');
  }
};

function cancel(){
    window.history.back();
}

]]></JS>
</dynaForm>
