forked from extern/egroupware
64 lines
1.6 KiB
Smarty
64 lines
1.6 KiB
Smarty
<!-- $Id$ -->
|
|
<!-- BEGIN matrix_query -->
|
|
<script language="javascript">
|
|
<!--
|
|
function removeSelectedOptions(id)
|
|
{
|
|
openerSelectBox = document.getElementById(id);
|
|
|
|
if (openerSelectBox == null)
|
|
window.close();
|
|
|
|
for (i=0; i < openerSelectBox.length; i++)
|
|
{
|
|
if (openerSelectBox.options[i].selected)
|
|
{
|
|
openerSelectBox.removeChild(openerSelectBox[i]);
|
|
//openerSelectBox.options[i--] = null
|
|
}
|
|
}
|
|
}
|
|
function selectAll(id)
|
|
{
|
|
openerSelectBox = document.getElementById(id);
|
|
|
|
if (openerSelectBox == null)
|
|
window.close();
|
|
|
|
|
|
for (i=0; i < openerSelectBox.length; i++)
|
|
openerSelectBox.options[i].selected = 1 ;
|
|
|
|
document.matrixform.submit();
|
|
}
|
|
|
|
-->
|
|
</script>
|
|
<center>
|
|
<form action="{action_url}" method="post" name="matrixform">
|
|
<table border="0" width="98%">
|
|
<tr bgcolor="{th_bg}">
|
|
<td colspan="2" align="center"><b>{title}</b></td>
|
|
</tr>
|
|
{rows}
|
|
<tr bgcolor="#EEEEEE">
|
|
<td align="right">{delete_participants} :</td>
|
|
<td align="left"><a href="#" onClick="javascript:removeSelectedOptions('uicalendar_matrix_users')"><img src="/calendar/templates/prisma/images/delete.png" border="0"></a></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="2" align="center">
|
|
<input type="button" value="{submit_button}" onClick="javascript:selectAll('uicalendar_matrix_users')">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</center>
|
|
<!-- END matrix_query -->
|
|
<!-- BEGIN list -->
|
|
<tr bgcolor="{tr_color}">
|
|
<td valign="top" width="35%" align="right"><b> {field} : </b></td>
|
|
<td valign="top" width="65%" align="left">{data}</td>
|
|
</tr>
|
|
<!-- END list -->
|