Changeset 4125 for branches/2.2.0.1/calendar/templates/default/day_cal.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/day_cal.tpl
r4114 r4125 30 30 <br /> 31 31 {iprint} 32 <input type="radio" name="group1" id="list" value="list" onclick=" muda(this.value);" checked> Lista33 <input type="radio" name="group1" id="grid" value="grid" onclick=" muda(this.value);" > Grade32 <input type="radio" name="group1" id="list" value="list" onclick="printMode(this.value);" checked> Lista 33 <input type="radio" name="group1" id="grid" value="grid" onclick="printMode(this.value);" > Grade 34 34 35 35 </div> … … 39 39 <script> 40 40 41 function muda(printType)41 function printMode(printType) 42 42 { 43 43 if(printType == "grid") … … 60 60 { 61 61 62 document.getElementById("listPrint").style.visibility = 'hidden'; 62 //document.getElementById("listPrint").style.visibility = 'hidden'; 63 document.getElementById("printFriendly").onclick = function(){ 64 if(document.getElementById("grid").checked == true) 65 { 66 //document.getElementById("listPrint").style.visibility = 'hidden'; 67 scheduler.toPDF('calendar/js/dhtmlx/server/generate.php'); 68 } 69 else 70 { 71 window.open("index.php?menuaction=calendar.uicalendar.month"+"{param}","","width=600,height=600,toolbar=no,scrollbars=yes,resizable=no"); 72 } 73 }; 63 74 64 75 //inicializa o calendário
Note: See TracChangeset
for help on using the changeset viewer.