2004-09-28 14:10:24 +02:00
|
|
|
<!-- $Id$ -->
|
|
|
|
<!-- BEGIN matrix_query -->
|
2004-09-30 10:54:24 +02:00
|
|
|
<script language="javascript">
|
|
|
|
<!--
|
|
|
|
function removeSelectedOptions(id)
|
|
|
|
{
|
2004-10-14 11:07:31 +02:00
|
|
|
for(i=0; i<document.matrixform.participants.options.length;i++)
|
|
|
|
{
|
|
|
|
if(document.matrixform.participants.options[i].selected==true)
|
2004-09-30 10:54:24 +02:00
|
|
|
{
|
2004-10-14 11:07:31 +02:00
|
|
|
document.matrixform.participants.options[i]=null;
|
|
|
|
i--;
|
|
|
|
}
|
2004-09-30 10:54:24 +02:00
|
|
|
}
|
|
|
|
}
|
2004-09-30 15:26:17 +02:00
|
|
|
function selectAll(id)
|
2004-09-30 10:54:24 +02:00
|
|
|
{
|
2004-10-14 11:07:31 +02:00
|
|
|
|
|
|
|
for(i=0; i<document.matrixform.participants.options.length;i++)
|
|
|
|
{
|
|
|
|
document.matrixform.participants.options[i].selected = true ;
|
|
|
|
|
|
|
|
}
|
|
|
|
/*
|
2004-09-30 15:26:17 +02:00
|
|
|
openerSelectBox = document.getElementById(id);
|
2004-09-30 10:54:24 +02:00
|
|
|
|
|
|
|
if (openerSelectBox == null)
|
|
|
|
window.close();
|
|
|
|
|
2004-09-30 15:26:17 +02:00
|
|
|
|
2004-09-30 10:54:24 +02:00
|
|
|
for (i=0; i < openerSelectBox.length; i++)
|
2004-09-30 15:26:17 +02:00
|
|
|
openerSelectBox.options[i].selected = 1 ;
|
2004-10-14 11:07:31 +02:00
|
|
|
*/
|
2004-09-30 15:26:17 +02:00
|
|
|
document.matrixform.submit();
|
2004-09-30 10:54:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
-->
|
|
|
|
</script>
|
2004-09-28 14:10:24 +02:00
|
|
|
<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}
|
2004-09-30 15:26:17 +02:00
|
|
|
<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>
|
|
|
|
|
2004-09-28 14:10:24 +02:00
|
|
|
<tr>
|
2004-09-30 10:54:24 +02:00
|
|
|
<td colspan="2" align="center">
|
2004-09-30 15:26:17 +02:00
|
|
|
<input type="button" value="{submit_button}" onClick="javascript:selectAll('uicalendar_matrix_users')">
|
2004-09-28 14:10:24 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</center>
|
|
|
|
<!-- END matrix_query -->
|
|
|
|
<!-- BEGIN list -->
|
|
|
|
<tr bgcolor="{tr_color}">
|
2004-09-30 10:54:24 +02:00
|
|
|
<td valign="top" width="35%" align="right"><b> {field} : </b></td>
|
|
|
|
<td valign="top" width="65%" align="left">{data}</td>
|
2004-09-28 14:10:24 +02:00
|
|
|
</tr>
|
|
|
|
<!-- END list -->
|