Changeset 4125 for branches/2.2.0.1/calendar/templates/default/new_week.tpl
- Timestamp:
- 04/25/11 10:59:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/calendar/templates/default/new_week.tpl
r4115 r4125 60 60 <br /> 61 61 {iprint} 62 <input type="radio" name="group1" id="list" value="list" onclick=" muda(this.value);" checked> Lista63 <input type="radio" name="group1" id="grid" value="grid" onclick=" muda(this.value);" > Grade<br>62 <input type="radio" name="group1" id="list" value="list" onclick="printMode(this.value);" checked> Lista 63 <input type="radio" name="group1" id="grid" value="grid" onclick="printMode(this.value);" > Grade<br> 64 64 65 65 </div> … … 71 71 <script> 72 72 73 function muda(printType)73 function printMode(printType) 74 74 { 75 75 if(printType == "grid") 76 76 { 77 document.getElementById("listPrint").style.visibility = 'hidden';77 //document.getElementById("listPrint").style.visibility = 'hidden'; 78 78 document.getElementById("printFriendly").onclick = function(){ 79 79 scheduler.toPDF('calendar/js/dhtmlx/server/generate.php'); … … 82 82 else if(printType =="list") 83 83 { 84 document.getElementById("listPrint").style.visibility = '';84 //document.getElementById("listPrint").style.visibility = ''; 85 85 document.getElementById("printFriendly").onclick = function(){ 86 86 window.open("index.php?menuaction=calendar.uicalendar.month"+"{param}","","width=600,height=600,toolbar=no,scrollbars=yes,resizable=no"); … … 94 94 if(document.getElementById("grid").checked == true) 95 95 { 96 document.getElementById("listPrint").style.visibility = 'hidden';96 //document.getElementById("listPrint").style.visibility = 'hidden'; 97 97 scheduler.toPDF('calendar/js/dhtmlx/server/generate.php'); 98 98 }
Note: See TracChangeset
for help on using the changeset viewer.