- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
$attachItems = "<table style=\'font-size : 8pt\' cellspacing = \'0\'><tr>"
."<td><img src=\'/js/extjs/resources/images/talentor/ico/files/mov.gif\'> </td>"
."<td>".($justHTML == false ? '<a href=\\\'#\\\''
.' onclick=\"new Ext.Window({title:\\\''.$rowData['name'].'\\\',resizable:false,maximizable:true,cls:\\\'window\\\',modal: true,width: 417,height : 375 ,html:\\\''.htmlspecialchars(flv('/files/persons/'.$rowData['name'],400,300)).'\\\'}).show();\"'
."\'>".$rowData['name']."</a>" : $rowData['name'] )."</td>"
.(($justHTML == false && $deleteAttach == true) ? "<td> <img onclick=\'ERP.INTERVIEW.deleteVideo(\\\"".$rowData['name']."\\\",document.getElementById(\\\"intvideoid\\\").value,".$intId.",".$personId.")\' onmouseover=\' this.src=\\\"/js/extjs/resources/images/talentor/ico/remove_active.gif\\\" \' onmouseout=\'this.src=\\\"/js/extjs/resources/images/talentor/ico/remove.gif\\\" \' src=\'/js/extjs/resources/images/talentor/ico/remove.gif\'></td>" : '')
."</tr></table>"
."<input type=\'hidden\' id=\'intvideoid\' value=\'".$rowData['id']."\'>";
if (!$justHTML && $deleteAttach) $attachItems = "{xtype: 'panel', id: 'intVideo', html: '".$attachItems."'}";