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

57 lines
1.7 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<dynaForm type="xmlmenu">
<MNU_ADD type="link" value="" link="#" onclick="window.location = &#039;processes_New&#039;;return false;" colAlign="left" colWidth="45">
<en>New</en>
</MNU_ADD>
<MNU_IMPORT type="link" value="" link="#" onclick="window.location = &#039;processes_Import&#039;;return false;" colAlign="left" colWidth="60">
<en>Import</en>
</MNU_IMPORT>
<MNU_LIBRARY type="link" value="" link="#" onclick="window.location = &#039;processes_Library&#039;;return false;" colAlign="left" colWidth="150">
<en>Browse Library</en>
</MNU_LIBRARY>
<PAGED_TABLE_ID type="private"/>
<PAGED_TABLE_FAST_SEARCH type="FastSearch" label="@G::LoadTranslation(ID_SEARCH)"/>
<SEARCH_FILTER_FORM type="private"/>
<JS type="javascript" replacetags="1"><![CDATA[
var panel;
var panDel=function(link,uid)
{
panel =new leimnud.module.panel();
panel.options={
size :{w:450,h:250},
position:{x:50,y:50,center:true},
statusBarButtons:[
{value:'@G::LoadTranslation(ID_DELETE)'},
{value:G_STRINGS.CANCEL}
],
title :G_STRINGS.ID_PROSESSESCASE,
control :{close:true,resize:false},fx:{modal:true},
statusBar:false,
fx :{shadow:true,modal:true}
};
panel.make();
panel.elements.statusBarButtons[0].onmouseup=function()
{
window.location="processes_Delete.php?PRO_UID="+uid;
};
panel.elements.statusBarButtons[1].onmouseup=panel.remove;
panel.loader.show();
var r = new leimnud.module.rpc.xmlhttp({
url:"process_DeleteCases.php",
method:"GET",
args:"PRO_UID="+uid
});
r.callback=function(rpc)
{
panel.loader.hide();
panel.addContent(rpc.xmlhttp.responseText);
};
r.make();
}
]]></JS>
</dynaForm>