processmaker-builder
Version:
The gulp task runner for ProcessMaker building
30 lines (28 loc) • 884 B
text/xml
<dynaForm name="languages_ImportForm" type="xmlform" width="500" height="75%" labelWidth="30%" enableTemplate="1">
<TITLE1 type="title">
<en><![CDATA[Import or Update Language]]></en>
</TITLE1>
<LANGUAGE_FILENAME type="file">
<en><![CDATA[File]]></en>
</LANGUAGE_FILENAME>
<IMPORT type="button" onclick="verifyPOFile(this.form);">
<en><![CDATA[Import]]></en>
</IMPORT>
<BTN_CANCEL type="button" onclick="cancel();">
<en><![CDATA[Cancel]]></en>
</BTN_CANCEL>
<JS type="javascript"><![CDATA[
var verifyPOFile = function(oForm) {
if (document.getElementById('form[LANGUAGE_FILENAME]').value != '') {
oForm.submit();
}
else {
msgBox('@G::LoadTranslation(ID_PLEASE_SELECT_PO_FILE)', 'alert');
}
};
function cancel(){
window.location = 'languages';
}
]]></JS>
</dynaForm>