corrected smarty tag
[openemr.git] / interface / main / calendar / modules / PostCalendar / pntemplates / default / user / details.html
blob4d6e1e049416da0bd0ae15e4754a7f32facc0f28
1 [-*Smarty*-]
2 [-config_load file="default.conf"-]
3 [-*Load the Language Definitions*-]
4 [-config_load file="lang.$USER_LANG"-]
5 [-include file="$TPL_NAME/views/header.html"-]
6 [-* we want to include out stylesheet for this view*-]
7 [-fetch file="$TPL_STYLE_PATH/details.css" assign="css"-]
8 [-eval var=$css-]
10 [-*Main Navigation*-]
11 [-if $PRINT_VIEW != 1-]
12 [-include file="$TPL_NAME/views/global/details_navigation.html"-]
13 [-/if-]
14 <table width="100%" border="0" cellpadding="5" cellspacing="0" class="calcontainer">
15 <tr>
16 <td class="eventtitle" width="100%" nowrap="nowrap">
17 <strong>[-$A_EVENT.catname-]</strong>
18 [-if $A_EVENT.patient_name-]
19 with patient <strong>[-$A_EVENT.patient_name-]</strong> (pid [-$A_EVENT.pubpid-])
20 [-/if-]
21 <br /><b>[-$A_EVENT.title-]</b>
22 </td>
23 </tr>
24 <tr>
25 <td class="eventtime" width="100%" nowrap="nowrap">
26 [-if $A_EVENT.alldayevent != true-]
27 [-if $24HOUR_TIME-]
28 [-assign var="timestamp" value=$A_EVENT.startTime|date_format:"%H:%M"-]
29 [-else-]
30 [-assign var="timestamp" value=$A_EVENT.startTime|date_format:"%I:%M %p"-]
31 [-/if-]
32 [-$timestamp-]
33 [-/if-]
35 [-if $USE_INT_DATES eq true-]
36 [-pc_date_format date=$A_EVENT.date format="%A, %d %B %Y"-]
37 [-else-]
38 [-pc_date_format date=$A_EVENT.date format="%A, %B %d %Y"-]
39 [-/if-]
41 [-if $A_EVENT.alldayevent-]
42 [-#_PC_ALL_DAY#-]
43 [-else-]
44 [-#_PC_DURATION#-]: [-$A_EVENT.duration_hours-]:[-$A_EVENT.duration_minutes-]
45 [-/if-]
46 </td>
47 </tr>
48 </table>
49 <table width="100%" border="0" cellpadding="5" cellspacing="0" class="calcontainer">
50 <tr>
51 <td valign="top" align="left" width="100%">
52 [-$A_EVENT.hometext-]
53 </td>
54 <td valign="top" align="left" nowrap="nowrap">
55 [-if $LOCATION_INFO-]
56 <p><b>[-#_PC_LOCATION#-]:</b><br />
57 [-if $A_EVENT.location != ''-]
58 [-$A_EVENT.location-]<br />
59 [-/if-]
60 [-if $A_EVENT.street1 != ''-]
61 [-$A_EVENT.street1-]<br />
62 [-/if-]
63 [-if $A_EVENT.street2 != ''-]
64 [-$A_EVENT.street2-]<br />
65 [-/if-]
66 [-if $A_EVENT.city != ''-]
67 [-$A_EVENT.city-]
68 [-/if-]
69 [-if $A_EVENT.state != ''-]
70 [-$A_EVENT.state-]
71 [-/if-]
72 [-if $A_EVENT.postal != ''-]
73 [-$A_EVENT.postal-]
74 [-/if-]
75 </p>
76 [-/if-]
77 [-if $CONTACT_INFO-]
78 <p><b>[-#_PC_CONTACT#-]:</b><br />
79 [-if $A_EVENT.contname-]
80 [-$A_EVENT.contname-]<br />
81 [-/if-]
82 [-if $A_EVENT.conttel-]
83 [-$A_EVENT.conttel-]<br />
84 [-/if-]
85 [-if $A_EVENT.contemail-]
86 <a href="mailto:[-$A_EVENT.contemail-]">[-$A_EVENT.contemail-]</a><br />
87 [-/if-]
88 [-if $A_EVENT.website-]
89 <a href="[-$A_EVENT.website-]" target="_blank">[-$A_EVENT.website-]</a><br />
90 [-/if-]
91 </p>
92 [-/if-]
93 [-if $A_EVENT.fee != ''-]
94 <br />Fee: [-$A_EVENT.fee-]
95 [-/if-]
96 </td>
97 </tr>
98 </table>
99 [-if $PRINT_VIEW != 1-]
100 <table width="100%" border="0" cellpadding="0" cellspacing="0">
101 <tr>
102 <td align="right">
103 <a href="[-pc_url action="detail" print="true" eid=$A_EVENT.eid-]">[-#_PC_THEME_PRINT#-]</a>
104 </td>
105 </tr>
106 </table>
108 [-if $USER_CAN_EDIT-]
109 <a href="[-$USER_EDIT-]" [-$USER_TARGET-]>[-#_PC_ADMIN_EDIT#-]</a>
110 <a href="[-$USER_DELETE-]" [-$USER_TARGET-]>[-#_PC_ADMIN_DELETE#-]</a>
111 [-elseif $ACCESS_ADMIN-]
112 <a href="[-$ADMIN_EDIT-]" [-$ADMIN_TARGET-]>[-#_PC_ADMIN_EDIT#-]</a>
113 <a href="[-$ADMIN_DELETE-]" [-$ADMIN_TARGET-]>[-#_PC_ADMIN_DELETE#-]</a>
114 [-/if-]
115 [-pc_form_nav_close-]
116 [-/if-]
117 [-include file="$TPL_NAME/views/footer.html"-]