Changeset 3254 for branches/2.2/calendar
- Timestamp:
- 09/15/10 15:14:03 (14 years ago)
- Location:
- branches/2.2/calendar/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/calendar/templates/classic/edit.tpl
r663 r3254 15 15 Window1=window.open('{accounts_link}',"Search","width=800,height=600,toolbar=no,scrollbars=yes,resizable=yes"); 16 16 } 17 18 function show_disponibility() { 19 participants = ""; 20 combo = document.getElementById('user_list'); 21 if(combo.length==0) { 22 alert('Selecione os participantes'); 23 return; 24 } 25 26 for (i=0;i<combo.length;i++) { 27 participants+=combo[i].value+","; 28 } 29 url = 'index.php?menuaction=calendar.uicalendar.disponibility&participants='+participants+'&date='+document.getElementById('start[str]').value; 30 31 //alert(url); 32 document.getElementById('frame_disponibility').src = url; 33 document.getElementById('disponibility').style.display=''; 34 //window.open(url); 35 } 17 36 </script> 18 37 <center> … … 21 40 <form action="{action_url}" method="post" name="app_form"> 22 41 {common_hidden} 23 <table id="editFormTable" border="0" width="90%" >42 <table id="editFormTable" border="0" width="90%" class="prefTable"> 24 43 <tr> 25 44 <td colspan="2"> -
branches/2.2/calendar/templates/default/edit.tpl
r1154 r3254 14 14 { 15 15 Window1=window.open('{accounts_link}',"Search","width=800,height=600,toolbar=no,scrollbars=yes,resizable=yes"); 16 } 17 18 function show_disponibility() { 19 participants = ""; 20 combo = document.getElementById('user_list'); 21 if(combo.length==0) { 22 alert('Selecione os participantes'); 23 return; 24 } 25 26 for (i=0;i<combo.length;i++) { 27 participants+=combo[i].value+","; 28 } 29 url = 'index.php?menuaction=calendar.uicalendar.disponibility&participants='+participants+'&date='+document.getElementById('start[str]').value; 30 31 //alert(url); 32 document.getElementById('frame_disponibility').src = url; 33 document.getElementById('disponibility').style.display=''; 34 //window.open(url); 16 35 } 17 36 </script>
Note: See TracChangeset
for help on using the changeset viewer.