1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
---|
3 | <xsl:template match="/retorno"> |
---|
4 | <table style="position: absolute; width: 350px; height: 350px;" border="0" cellpadding="0" cellspacing="0" onmousedown="_dragArea.pressed = 1" onmouseup="_dragArea.pressed = 0" onmousemove="_dragArea.moveWindow(event,this.parentNode)"> |
---|
5 | <tbody> |
---|
6 | <tr style="height: 24px;"> |
---|
7 | <td background="templates/default/images/iw_nw.png"> |
---|
8 | </td> |
---|
9 | <td background="templates/default/images/iw_lu.png"> |
---|
10 | </td> |
---|
11 | <td background="templates/default/images/iw_ne.png"> |
---|
12 | <img id="closeDialog" onclick="calendar.dialog()" src="templates/default/images/close.gif" style="position: absolute; top: 20px; left: 325px; z-index: 184; cursor: pointer;"/> |
---|
13 | </td> |
---|
14 | </tr> |
---|
15 | <tr> |
---|
16 | <td style="width: 24px;" background="templates/default/images/iw_ll.png"> |
---|
17 | </td> |
---|
18 | <td> |
---|
19 | <div style="background: #FFF; height: 100%"> |
---|
20 | <xsl:variable name="title" select="title" /> |
---|
21 | <xsl:variable name="description" select="description" /> |
---|
22 | <xsl:variable name="location" select="location" /> |
---|
23 | <xsl:variable name="datetime" select="datetime" /> |
---|
24 | <xsl:variable name="datehour" select="datehour" /> |
---|
25 | <xsl:variable name="dateminute" select="dateminute" /> |
---|
26 | <xsl:variable name="edatetime" select="edatetime" /> |
---|
27 | <xsl:variable name="edatehour" select="edatehour" /> |
---|
28 | <xsl:variable name="edateminute" select="edateminute" /> |
---|
29 | Titulo:<br/> |
---|
30 | <input type="text" id="dragEventSubject" value="{title}" size="30"></input><br/> |
---|
31 | Descricao:<br/> |
---|
32 | <input type="text" id="dragEventDescription" value="{description}" size="50"></input><br/> |
---|
33 | Local:<br/> |
---|
34 | <input type="text" id="dragEventLocation" value="{location}" size="30"></input><br/><br/> |
---|
35 | Data inicio:<input id="startstr" name="startstr" size="10" type="text" value="{datetime}"></input> |
---|
36 | <img id="trigger" src="/phpgwapi/templates/default/images/datepopup.gif" title="Selecionar data" style="cursor: pointer;"></img><br/><br/> |
---|
37 | Hora de inicio:<input id="starthour" size="2" maxlength="2" value="{datehour}"></input>:<input id="startmin" size="2" maxlength="2" value="{dateminute}"></input><br/><br/> |
---|
38 | Data de termino:<input id="endstr" name="endstr" type="text" value="{edatetime}"></input> |
---|
39 | <img id="endstrtrigger" src="/phpgwapi/templates/default/images/datepopup.gif" title="Selecionar data" style="cursor: pointer;"></img><br/><br/> |
---|
40 | Hora do termino:<input id="endhour" size="2" maxlength="2" value="{edatehour}"></input>:<input id="endmin" size="2" maxlength="2" value="{edateminute}"></input><br/><br/> |
---|
41 | <div id="saveLink" class="buttontype" style="width:60px;" onclick="saveEvent(null,document.getElementById('dragEventSubject').value,document.getElementById('dragEventDescription').value,document.getElementById('dragEventLocation').value,_dragArea.initEvent,_dragArea.endEvent);">Save event</div> |
---|
42 | |
---|
43 | </div> |
---|
44 | </td> |
---|
45 | <td style="width: 24px;" background="templates/default/images/iw_lr.png"></td> |
---|
46 | </tr> |
---|
47 | <tr style="height: 24px;"> |
---|
48 | <td background="templates/default/images/iw_sw.png"> |
---|
49 | </td> |
---|
50 | <td background="templates/default/images/iw_ld.png"> |
---|
51 | </td> |
---|
52 | <td background="templates/default/images/iw_se.png"> |
---|
53 | </td> |
---|
54 | </tr> |
---|
55 | </tbody> |
---|
56 | </table> |
---|
57 | </xsl:template> |
---|
58 | </xsl:stylesheet> |
---|