<?xml version="1.0" encoding="UTF-8"?>
<dynaForm type="xmlmenu">
  <MNU_ADD type="link" value="" link="#" onclick="window.location = 'processes_New';return false;" colAlign="left" colWidth="45">
    <en><![CDATA[New]]></en>
  </MNU_ADD>
  <MNU_IMPORT type="link" value="" link="#" onclick="window.location = 'processes_Import';return false;" colAlign="left" colWidth="60">
    <en><![CDATA[Import]]></en>
  </MNU_IMPORT>
  <MNU_LIBRARY type="link" value="" link="#" onclick="window.location = 'processes_Library';return false;" colAlign="left" colWidth="150">
    <en><![CDATA[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>
