[4001] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
---|
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
| 3 | <head>
|
---|
| 4 | <meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
---|
| 5 | <title></title>
|
---|
| 6 | </head>
|
---|
| 7 | <script src="../../../codebase/dhtmlxscheduler.js" type="text/javascript" charset="utf-8"></script>
|
---|
| 8 | <link rel="stylesheet" href="../../../codebase/dhtmlxscheduler.css" type="text/css" title="no title" charset="utf-8">
|
---|
| 9 |
|
---|
| 10 |
|
---|
| 11 | <style type="text/css" media="screen">
|
---|
| 12 | html, body{
|
---|
| 13 | margin:0px;
|
---|
| 14 | padding:0px;
|
---|
| 15 | height:100%;
|
---|
| 16 | overflow:hidden;
|
---|
| 17 | }
|
---|
| 18 | </style>
|
---|
| 19 |
|
---|
| 20 | <script type="text/javascript" charset="utf-8">
|
---|
| 21 | function init() {
|
---|
| 22 | scheduler.config.xml_date="%Y-%m-%d %H:%i";
|
---|
| 23 | scheduler.config.prevent_cache = true;
|
---|
| 24 |
|
---|
| 25 | scheduler.config.lightbox.sections=[
|
---|
| 26 | {name:"description", height:130, map_to:"text", type:"textarea" , focus:true},
|
---|
| 27 | {name:"type", height:21, type:"select", map_to:"event_type", options:[
|
---|
| 28 | { key:0, label:"Private event" },
|
---|
| 29 | { key:1, label:"Shared event" }
|
---|
| 30 | ]},
|
---|
| 31 | {name:"time", height:72, type:"time", map_to:"auto"}
|
---|
| 32 | ]
|
---|
| 33 | scheduler.config.first_hour=6;
|
---|
| 34 | scheduler.locale.labels.section_type="Sharing";
|
---|
| 35 | scheduler.config.details_on_create=true;
|
---|
| 36 | scheduler.config.details_on_dblclick=true;
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 | scheduler.init('scheduler_here',new Date(2009,5,1),"month");
|
---|
| 40 | scheduler.load("events.php");
|
---|
| 41 |
|
---|
| 42 | var dp = new dataProcessor("events.php?user=2");
|
---|
| 43 | dp.init(scheduler);
|
---|
| 44 | }
|
---|
| 45 | </script>
|
---|
| 46 |
|
---|
| 47 | <body onload="init();">
|
---|
| 48 | <div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>
|
---|
| 49 | <div class="dhx_cal_navline">
|
---|
| 50 | <div class="dhx_cal_prev_button"> </div>
|
---|
| 51 | <div class="dhx_cal_next_button"> </div>
|
---|
| 52 | <div class="dhx_cal_today_button"></div>
|
---|
| 53 | <div class="dhx_cal_date"></div>
|
---|
| 54 | <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
|
---|
| 55 | <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
|
---|
| 56 | <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
|
---|
| 57 | </div>
|
---|
| 58 | <div class="dhx_cal_header">
|
---|
| 59 | </div>
|
---|
| 60 | <div class="dhx_cal_data">
|
---|
| 61 | </div>
|
---|
| 62 | </div>
|
---|
| 63 | </body> |
---|