forked from extern/egroupware
Adding files
This commit is contained in:
parent
2fac1f2c34
commit
a3cde6fbd4
63
calendar/templates/prisma/alarm.tpl
Normal file
63
calendar/templates/prisma/alarm.tpl
Normal file
@ -0,0 +1,63 @@
|
||||
<!-- $Id$ -->
|
||||
<!-- BEGIN alarm_management -->
|
||||
<form id="calendar_alarmform" action="{action_url}" method="post" name="alarmform">
|
||||
{hidden_vars}
|
||||
<table id="calendar_alarmform_table" border="0" width="90%" align="center">
|
||||
{rows}
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<br> {input_days} {input_hours} {input_minutes} {input_owner} {input_add}<br>
|
||||
</td>
|
||||
<td align="right">
|
||||
{input_cancel}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!-- END alarm_management -->
|
||||
|
||||
<!-- BEGIN alarm_headers -->
|
||||
<tr bgcolor="{tr_color}">
|
||||
<th align="left" width="25%">{lang_time}</th>
|
||||
<th align="left" width="30%">{lang_text}</th>
|
||||
<th align="left" width="25%">{lang_owner}</th>
|
||||
<th width="10%">{lang_enabled}</th>
|
||||
<th width="10%">{lang_select}</th>
|
||||
</tr>
|
||||
<!-- END alarm_headers -->
|
||||
|
||||
<!-- BEGIN list -->
|
||||
<tr bgcolor="{tr_color}">
|
||||
<td>
|
||||
<b>{field}:</b>
|
||||
</td>
|
||||
<td>
|
||||
{data}
|
||||
</td>
|
||||
<td>
|
||||
{owner}
|
||||
</td>
|
||||
<td align="center">
|
||||
{enabled}
|
||||
</td>
|
||||
<td align="center">
|
||||
{select}
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END list -->
|
||||
|
||||
<!-- BEGIN hr -->
|
||||
<tr bgcolor="{th_bg}">
|
||||
<td colspan="5" align="center">
|
||||
<b>{hr_text}</b>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END hr -->
|
||||
|
||||
<!-- BEGIN buttons -->
|
||||
<tr>
|
||||
<td colspan="6" align="right">
|
||||
{enable_button} {disable_button} {delete_button}
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END buttons -->
|
470
calendar/templates/prisma/app.css
Normal file
470
calendar/templates/prisma/app.css
Normal file
@ -0,0 +1,470 @@
|
||||
/* CSS Document */
|
||||
|
||||
/*
|
||||
* CSS settings for the new uiviews code
|
||||
*/
|
||||
|
||||
/* timeGridWidget, contains timeRow's and dayCol's
|
||||
*/
|
||||
.calTimeGrid{
|
||||
position: relative;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
border:1px solid gray;
|
||||
margin-top: 20px; /* contains the dayColHeader */
|
||||
/* set via inline style on runtime:
|
||||
* width:
|
||||
*/
|
||||
}
|
||||
|
||||
/* single row in the time-line, always used in conjunction with row_{on|off}, you dont need to set a bgcolor, but you can
|
||||
*/
|
||||
.calTimeRow,.calTimeRowOff{
|
||||
position: relative;
|
||||
width: 100%;
|
||||
/* set via inline style on runtime:
|
||||
* height:
|
||||
*/
|
||||
}
|
||||
.calTimeRow{
|
||||
/* background-color: silver; */
|
||||
}
|
||||
|
||||
/* time in a timeRow
|
||||
*/
|
||||
.calTimeRowTime{
|
||||
padding-left: 5px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* contains (multiple) dayCol's
|
||||
*/
|
||||
.calDayCols{
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
height: 100;
|
||||
/* set via inline style on runtime:
|
||||
* left: width(calTimeRowTime)
|
||||
* width: 100% - width(calTimeRowTime)
|
||||
*/
|
||||
}
|
||||
|
||||
/* contains (multiple) eventCol's
|
||||
*/
|
||||
.calDayCol{
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
height: 100%;
|
||||
/* set via inline style on runtime:
|
||||
* left:
|
||||
* width:
|
||||
*/
|
||||
border-left: 1px solid gray;
|
||||
}
|
||||
|
||||
/* header for the dayCol
|
||||
*/
|
||||
.calDayColHeader,.calGridHeader{
|
||||
position: absolute;
|
||||
top: -20px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: 100%;
|
||||
white-space: nowrap;
|
||||
border: 1px solid gray;
|
||||
height: 16px;
|
||||
left: -1px;
|
||||
padding-top: 2px;
|
||||
}
|
||||
.calToday{
|
||||
background: #ffffcc;
|
||||
}
|
||||
.calHoliday{
|
||||
background: #dac0c0;
|
||||
}
|
||||
|
||||
.calViewUserNameBox {
|
||||
position: absolute;
|
||||
top: -1px;
|
||||
width: 95%;
|
||||
text-align: left;
|
||||
font-size: 120%;
|
||||
white-space: nowrap;
|
||||
border: 1px solid gray;
|
||||
height: 17px;
|
||||
left: -1px;
|
||||
padding-top: 0px;
|
||||
padding-left: 10px;
|
||||
background: #dac0c0;
|
||||
}
|
||||
.calViewUserName {
|
||||
font-weight: normal;
|
||||
}
|
||||
.calViewUserName:first-letter {
|
||||
text-transform:uppercase;
|
||||
}
|
||||
.calViewUserNameFirst {
|
||||
}
|
||||
.calViewUserNameFirst:after {
|
||||
content: ", ";
|
||||
}
|
||||
|
||||
/* header of the time-grid, eg. for the weeks in the month-view (leftmost of the day-col-headers)
|
||||
*/
|
||||
.calGridHeader{
|
||||
text-align: left;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
/* contains (multiple) events's
|
||||
*/
|
||||
.calEventCol{
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
height: 100%;
|
||||
/* set via inline style on runtime:
|
||||
* left:
|
||||
* width:
|
||||
*/
|
||||
/* border: 1px dotted red; */
|
||||
}
|
||||
|
||||
/* contains one event: header-row & -body
|
||||
*/
|
||||
.calEvent,.calEvent:hover{
|
||||
position: absolute;
|
||||
/* background-color: #ffffC0;*/
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
/* set via inline style on runtime:
|
||||
* top: depending on startime
|
||||
* top: depending on length
|
||||
*/
|
||||
}
|
||||
.calEvent:hover{
|
||||
/* background-color: #ffff80;*/
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
/* header-row of the event
|
||||
*/
|
||||
.calEventHeader,.calEventHeaderSmall{
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
background-color: #0000ff;
|
||||
color: white;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.calEventHeaderSmall{
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
/* body of the event
|
||||
*/
|
||||
.calEventBody,.calEventBodySmall{
|
||||
padding: 0px 3px 0px;
|
||||
}
|
||||
|
||||
.calEventBodySmall{
|
||||
font-size: 95%;
|
||||
}
|
||||
|
||||
.calEventLabel
|
||||
{
|
||||
font-weight: bold;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
.calEventTitle
|
||||
{
|
||||
font-weight: bold;
|
||||
font-size: 110%;
|
||||
}
|
||||
|
||||
/* cal day-view's todo column
|
||||
*/
|
||||
.calDayToDos {
|
||||
width: 250px;
|
||||
text-align: center;
|
||||
}
|
||||
/* header row
|
||||
*/
|
||||
.calDayTodosHeader {
|
||||
margin: 0px;
|
||||
width: 250px;
|
||||
padding: 1px;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* div containing the table with the ToDo's
|
||||
*/
|
||||
.calDayTodos .calDayTodosTable {
|
||||
overflow: auto;
|
||||
max-height: 400px;
|
||||
}
|
||||
|
||||
/*
|
||||
* From here on, settings for the "old" uicalendar code
|
||||
*/
|
||||
.to_continue
|
||||
{
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
A.minicalendar
|
||||
{
|
||||
color: #000000;
|
||||
font-size: 9px;
|
||||
|
||||
}
|
||||
|
||||
A.bminicalendar
|
||||
{
|
||||
color: #336699;
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
A.minicalendargrey
|
||||
{
|
||||
color: #999999;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
A.bminicalendargrey
|
||||
{
|
||||
color: #336699;
|
||||
font-style: italic;
|
||||
font-size:10px;
|
||||
}
|
||||
|
||||
A.minicalhol
|
||||
{
|
||||
padding-left:3px;
|
||||
padding-right:3px;
|
||||
background: #dab0b0;
|
||||
color: #000000;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
A.bminicalhol
|
||||
{
|
||||
padding-left:3px;
|
||||
padding-right:3px;
|
||||
background: #dab0b0;
|
||||
color: #336699;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
A.minicalgreyhol
|
||||
{
|
||||
padding-left:3px;
|
||||
padding-right:3px;
|
||||
background: #dab0b0;
|
||||
color: #999999;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
A.bminicalgreyhol
|
||||
{
|
||||
padding-left:3px;
|
||||
padding-right:3px;
|
||||
background: #dab0b0;
|
||||
color: #999999;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
|
||||
.event-on
|
||||
{
|
||||
background: #D3DCE3;
|
||||
border: #E8F0F0 1px solid;
|
||||
}
|
||||
|
||||
.event-off
|
||||
{
|
||||
background: #E8F0F0;
|
||||
border: #D3DCE3 1px solid;
|
||||
}
|
||||
|
||||
.event-holiday
|
||||
{
|
||||
font-size: 100%;
|
||||
background: #dac0c0;
|
||||
color:#000000;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.time
|
||||
{
|
||||
background: #D3DCE3;
|
||||
color:#000000;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
vertical-align: middle;
|
||||
width: 5.2%;
|
||||
text-align: right;
|
||||
padding-right: 5px;
|
||||
line-height: 11px;
|
||||
border: #E8F0F0 1px solid;
|
||||
}
|
||||
|
||||
|
||||
.planner-cell
|
||||
{
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
border: thin solid black;
|
||||
}
|
||||
|
||||
/* common */
|
||||
.calendar_link_print
|
||||
{
|
||||
text-align: center;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
//Mini Calendar
|
||||
|
||||
.calendar_minical_table
|
||||
{
|
||||
width: 180px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.calendar_minical_daytable
|
||||
{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.calendar_minical_dayname
|
||||
{
|
||||
font-size: 9px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.calendar_minical_hrule
|
||||
{
|
||||
width: 96%;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.calendar_dropbuttons
|
||||
{
|
||||
align: center;
|
||||
text-align: center;
|
||||
vertical-align: bottom;
|
||||
font-weight: bold;
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.calendar-weekidentifier
|
||||
{
|
||||
font-size:16px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.calendar_header
|
||||
{
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.calendar_dayview_table_header
|
||||
{
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.calendar_dayview_todo_header
|
||||
{
|
||||
margin: 0px;
|
||||
padding: 2px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* week view */
|
||||
.calendar_week_identifier_table
|
||||
{
|
||||
border: 0px solid black;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.calendar_week_identifier
|
||||
{
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.calendar_weekview_daytitle
|
||||
{
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
background: #D3DCE3;
|
||||
}
|
||||
|
||||
.calendar_m_w_table
|
||||
{
|
||||
table-layout:fixed;
|
||||
overflow:auto;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
border: 0px #000000 solid;
|
||||
}
|
||||
|
||||
.calendar_m_w_table_row
|
||||
{
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.calendar_m_w_tablecell
|
||||
{
|
||||
vertical-align: top;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
A.event_entry
|
||||
{
|
||||
font-size:10px;
|
||||
}
|
||||
|
||||
/* month view */
|
||||
|
||||
.calendar_month_identifier
|
||||
{
|
||||
font-size:14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.calendar_user_identifier
|
||||
{
|
||||
font-size:12px;
|
||||
color: #009999;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.calendar_week_minical_table
|
||||
{
|
||||
width:100%;
|
||||
border: 0px solid #000000
|
||||
}
|
||||
|
||||
.calendar_weekinfo
|
||||
{
|
||||
color: #000000;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
51
calendar/templates/prisma/config.tpl
Normal file
51
calendar/templates/prisma/config.tpl
Normal file
@ -0,0 +1,51 @@
|
||||
<!-- BEGIN header -->
|
||||
<form method="POST" action="{action_url}">
|
||||
<table border="0" align="center">
|
||||
<tr bgcolor="{th_bg}">
|
||||
<td colspan="2"><font color="{th_text}"> <b>{title}</b></font></td>
|
||||
</tr>
|
||||
<!-- END header -->
|
||||
|
||||
<!-- BEGIN body -->
|
||||
<tr bgcolor="{row_on}">
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
|
||||
<tr bgcolor="{row_off}">
|
||||
<td colspan="2"><b>{lang_Calendar_settings}</b></td>
|
||||
</tr>
|
||||
<tr bgcolor="{row_on}">
|
||||
<td>{lang_Do_you_wish_to_autoload_calendar_holidays_files_dynamically?}</td>
|
||||
<td>
|
||||
<select name="newsettings[auto_load_holidays]">
|
||||
<option value=""{selected_auto_load_holidays_False}>{lang_No}</option>
|
||||
<option value="True"{selected_auto_load_holidays_True}>{lang_Yes}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="{row_off}">
|
||||
<td>{lang_Location_to_autoload_from}:</td>
|
||||
<td>
|
||||
<select name="newsettings[holidays_url_path]">
|
||||
<option value="localhost"{selected_holidays_url_path_localhost}>localhost</option>
|
||||
<option value="http://www.egroupware.org/cal"{selected_holidays_url_path_http://www.egroupware.org/cal}>www.egroupware.org</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END body -->
|
||||
|
||||
<!-- BEGIN footer -->
|
||||
<tr bgcolor="{th_bg}">
|
||||
<td colspan="2">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<input type="submit" name="submit" value="{lang_submit}">
|
||||
<input type="submit" name="cancel" value="{lang_cancel}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!-- END footer -->
|
74
calendar/templates/prisma/csv_import.tpl
Normal file
74
calendar/templates/prisma/csv_import.tpl
Normal file
@ -0,0 +1,74 @@
|
||||
<!-- BEGIN filename -->
|
||||
<TR>
|
||||
<TD>{lang_csvfile}</td>
|
||||
<td><INPUT NAME="csvfile" SIZE=30 TYPE="file" VALUE="{csvfile}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{lang_fieldsep}</td>
|
||||
<td><input name="fieldsep" size=1 value="{fieldsep}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{lang_charset}</td>
|
||||
<td>
|
||||
{select_charset}
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td>
|
||||
<td><INPUT NAME="convert" TYPE="submit" VALUE="{submit}"></TD>
|
||||
</TR>
|
||||
<!-- END filename -->
|
||||
|
||||
<!-- BEGIN fheader -->
|
||||
<tr>
|
||||
<td><b>{lang_csv_fieldname}</b></td>
|
||||
<td><b>{lang_info_fieldname}</b></td>
|
||||
<td><b>{lang_translation}</b></td>
|
||||
</tr>
|
||||
<!-- END fheader -->
|
||||
|
||||
<!-- BEGIN fields -->
|
||||
<tr>
|
||||
<td>{csv_field}</td>
|
||||
<td><SELECT name="cal_fields[{csv_idx}]">{cal_fields}</select></td>
|
||||
<td><input name="trans[{csv_idx}]" size=60 value="{trans}"></td>
|
||||
</tr>
|
||||
<!-- END fields -->
|
||||
|
||||
<!-- BEGIN ffooter -->
|
||||
<tr>
|
||||
<td rowspan="2" valign="middle" nowrap><br>{submit}</TD>
|
||||
<td colspan="2"><br>
|
||||
{lang_start} <INPUT name="start" type="text" size="5" value="{start}">
|
||||
{lang_max} <INPUT name="max" type="text" size="3" value="{max}"><td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><INPUT name="debug" type="checkbox" value="1"{debug}> {lang_debug}</td>
|
||||
</TR>
|
||||
<tr><td colspan="3"> <p>
|
||||
{help_on_trans}
|
||||
</td></tr>
|
||||
<!-- END ffooter -->
|
||||
|
||||
<!-- BEGIN imported -->
|
||||
<tr>
|
||||
<td colspan=2 align=center>
|
||||
{log}<p>
|
||||
{anz_imported}
|
||||
</td>
|
||||
</TR>
|
||||
<!-- END imported -->
|
||||
|
||||
<!-- BEGIN import -->
|
||||
<br/>
|
||||
<center>
|
||||
<form {enctype} action="{action_url}" method="post">
|
||||
<table>
|
||||
|
||||
{rows}
|
||||
|
||||
</table>
|
||||
{hiddenvars}
|
||||
</form>
|
||||
|
||||
</center>
|
||||
<!-- END import -->
|
46
calendar/templates/prisma/custom_fields.tpl
Normal file
46
calendar/templates/prisma/custom_fields.tpl
Normal file
@ -0,0 +1,46 @@
|
||||
<!-- $Id$ -->
|
||||
<!-- BEGIN custom_fields -->
|
||||
{lang_error}<br>
|
||||
<form action="{action_url}" method="post">
|
||||
{hidden_vars}
|
||||
<center>
|
||||
<table border="0" width="90%">
|
||||
<tr class="th">
|
||||
<th align="left" width="30%">{lang_name}</th>
|
||||
<th>{lang_length}</th>
|
||||
<th>{lang_shown}</th>
|
||||
<th>{lang_order}</th>
|
||||
<th>{lang_title}</th>
|
||||
<th>{lang_disabled}</th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
{rows}
|
||||
<tr class="th">
|
||||
<td>{name}</td>
|
||||
<td align="center">{length}</td>
|
||||
<td align="center">{shown}</td>
|
||||
<td align="center">{order}</td>
|
||||
<td align="center">{title}</td>
|
||||
<td align="center">{disabled}</td>
|
||||
<td align="center">{button}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{save_button} {cancel_button}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
</form>
|
||||
<br>
|
||||
<!-- END custom_fields -->
|
||||
|
||||
<!-- BEGIN row -->
|
||||
<tr bgcolor="{tr_color}">
|
||||
<td>{name}</td>
|
||||
<td align="center">{length}</td>
|
||||
<td align="center">{shown}</td>
|
||||
<td align="center">{order}</td>
|
||||
<td align="center">{title}</td>
|
||||
<td align="center">{disabled}</td>
|
||||
<td align="center">{button}</td>
|
||||
</tr>
|
||||
<!-- END row -->
|
47
calendar/templates/prisma/day.tpl
Normal file
47
calendar/templates/prisma/day.tpl
Normal file
@ -0,0 +1,47 @@
|
||||
<!-- $Id$ -->
|
||||
<!-- BEGIN day -->
|
||||
{printer_friendly}
|
||||
<table id="calendar_dayview_table" class="calendar_dayview_table" border="0" width="100%">
|
||||
<tr>
|
||||
<td valign="top" width="70%">
|
||||
<table id="calendar_dayview1" border="0" width=100%>
|
||||
<tr>
|
||||
<td class="calendar_dayview_table_header">
|
||||
{date} <span class="calendar_user_identifier">: {username} :</span>
|
||||
<br />
|
||||
</td>
|
||||
</tr>
|
||||
{day_events}
|
||||
</table>
|
||||
<p align="center">{print}</p>
|
||||
</td>
|
||||
<td align="center" valign="top">
|
||||
<table id="calendar_dayview2" width="100%">
|
||||
<tr>
|
||||
<td align="center">
|
||||
{small_calendar}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<div class="th">
|
||||
<p class="calendar_dayview_todo_header">{lang_todos}</p>
|
||||
{todos}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END day -->
|
||||
|
||||
<!-- BEGIN day_event -->
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
{daily_events}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END day_event -->
|
25
calendar/templates/prisma/day_cal.tpl
Normal file
25
calendar/templates/prisma/day_cal.tpl
Normal file
@ -0,0 +1,25 @@
|
||||
<!-- $Id$ -->
|
||||
<!-- BEGIN day -->
|
||||
<div class="th">
|
||||
<table class="calendar_dayview_maintable" width="100%" cellpadding="0">
|
||||
{row}
|
||||
</table>
|
||||
</div>
|
||||
<!-- END day -->
|
||||
<!-- BEGIN day_row -->
|
||||
<tr>{time}{event}
|
||||
</tr>
|
||||
<!-- END day_row -->
|
||||
<!-- BEGIN day_event_on -->
|
||||
<td class="event-on"{extras}> {event}</td>
|
||||
<!-- END day_event_on -->
|
||||
<!-- BEGIN day_event_off -->
|
||||
<td class="event-off"{extras}> {event}</td>
|
||||
<!-- END day_event_off -->
|
||||
<!-- BEGIN day_event_holiday -->
|
||||
<td class="event-holiday"{extras}> {event}</td>
|
||||
<!-- END day_event_holiday -->
|
||||
<!-- BEGIN day_time -->
|
||||
<td class="time" nowrap>{open_link}{time}{close_link}</td>
|
||||
<!-- END day_time -->
|
||||
|
29
calendar/templates/prisma/day_list.tpl
Normal file
29
calendar/templates/prisma/day_list.tpl
Normal file
@ -0,0 +1,29 @@
|
||||
<!-- $Id$ -->
|
||||
<!-- BEGIN day -->
|
||||
<div class="event-off">
|
||||
<table border="0" width="100%" cellpadding="0">
|
||||
<tr>
|
||||
<td class="event-on">
|
||||
{row}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- END day -->
|
||||
<!-- BEGIN day_row -->
|
||||
<font style="font-size: 8pt;">{event}</font>
|
||||
<!-- END day_row -->
|
||||
<!-- BEGIN day_event_on -->
|
||||
<font class="event-on">{event}</font>
|
||||
<!-- END day_event_on -->
|
||||
<!-- BEGIN day_event_off -->
|
||||
<font class="event-on">{event}</font>
|
||||
<!-- END day_event_off -->
|
||||
<!-- BEGIN day_event_holiday -->
|
||||
{event}
|
||||
<!-- END day_event_holiday -->
|
||||
<!-- BEGIN day_time -->
|
||||
{time}
|
||||
<!--<td class="time" nowrap>{open_link}{time}{close_link}</td>-->
|
||||
<!-- END day_time -->
|
||||
|
16
calendar/templates/prisma/delete_common.tpl
Normal file
16
calendar/templates/prisma/delete_common.tpl
Normal file
@ -0,0 +1,16 @@
|
||||
<!-- BEGIN form -->
|
||||
<center>
|
||||
<table border="0" with="65%">
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
{messages}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">{no}</td>
|
||||
<td align="center">{yes}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
<!-- END form -->
|
||||
|
43
calendar/templates/prisma/edit.tpl
Normal file
43
calendar/templates/prisma/edit.tpl
Normal file
@ -0,0 +1,43 @@
|
||||
<!-- $Id$ -->
|
||||
<!-- BEGIN edit_entry -->
|
||||
<center>
|
||||
<font color="#000000" face="{font}">
|
||||
|
||||
<form action="{action_url}" method="post" name="app_form">
|
||||
{common_hidden}
|
||||
<table border="0" width="90%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<center><font size="+1"><b>{errormsg}</b></font></center>
|
||||
</td>
|
||||
</tr>
|
||||
{row}
|
||||
<tr>
|
||||
<td>
|
||||
<table><tr valign="top">
|
||||
<td>
|
||||
<div style="padding-right: 2px">
|
||||
<input style="font-size:10px" type="submit" value="{submit_button}"></div></form>
|
||||
</td>
|
||||
<td>{cancel_button}</td>
|
||||
</tr></table>
|
||||
</td>
|
||||
<td valign="top" align="right">{delete_button}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</font>
|
||||
</center>
|
||||
<!-- END edit_entry -->
|
||||
<!-- BEGIN list -->
|
||||
<tr bgcolor="{tr_color}">
|
||||
<td valign="top" width="35%"> <b>{field}:</b></td>
|
||||
<td valign="top" width="65%">{data}</td>
|
||||
</tr>
|
||||
<!-- END list -->
|
||||
<!-- BEGIN hr -->
|
||||
<tr bgcolor="{tr_color}">
|
||||
<td colspan="2">
|
||||
{hr_text}
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END hr -->
|
33
calendar/templates/prisma/event_widget.tpl
Normal file
33
calendar/templates/prisma/event_widget.tpl
Normal file
@ -0,0 +1,33 @@
|
||||
<!-- BEGIN event_widget -->
|
||||
<table style="width: 99%; margin: 0px; padding: 0px;" cellpadding="0" cellspacing="0" border="0" align="center" {tooltip}>
|
||||
<tr style="height: {header_height};" valign="top">
|
||||
<td valign="middle" class="calEventHeader{Small}" style="height: {header_height}; border-top: {border} px solid {bordercolor}; background-color: {headerbgcolor};">{header}</td>
|
||||
</tr>
|
||||
<tr valign="top" style="height: {body_height} " >
|
||||
<td class="calEventBody{Small}" style="background: {bodybackground}; border-left: {border}px solid {bordercolor}; height: {body_height};"><p style="margin: 0px;">{body_icons}<span class="calEventTitle">
|
||||
{title}</span>
|
||||
<br>
|
||||
<br>
|
||||
{description}
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="height: {corner_radius};">
|
||||
<td class="calEventBody{Small}" style="border-left: {border}px solid {bordercolor}; background: {bodybackground};"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END event_widget -->
|
||||
|
||||
<!-- BEGIN event_tooltip -->
|
||||
<table style="width: 100%; margin: 0px; padding: 0px;" cellpadding="0" cellspacing="0" border="0" align="center">
|
||||
<tr style="height: {header_height};" valign="top">
|
||||
<td valign="middle" class="calEventHeader{Small}" style="height: {header_height}; border-top: {border} px solid {bordercolor}; background-color: {headerbgcolor};">{header_icons} {header}</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td class="calEventBody{Small}" style="background: {bodybackground}; border-left: {border}px solid {bordercolor}; border-right: {border}px solid {bordercolor};"><p style="margin: 0px;">{body_icons}<span class="calEventTitle">{title}</span><br>{description}</p><p style="margin: 2px 0px;">{multidaytimes}{location}{category}{participants}</p></td>
|
||||
</tr>
|
||||
<tr style="height: {corner_radius};">
|
||||
<td style="border-left: {border}px solid {bordercolor}; border-right: {border}px solid {bordercolor};border-bottom: {border}px solid {bordercolor}; background: {bodybackground};"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END event_tooltip -->
|
||||
|
31
calendar/templates/prisma/footer.tpl
Normal file
31
calendar/templates/prisma/footer.tpl
Normal file
@ -0,0 +1,31 @@
|
||||
<!-- $Id$ -->
|
||||
<!-- BEGIN footer_table -->
|
||||
<hr clear="all">
|
||||
<font size="-1">
|
||||
<table border="0" width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr valign="top">
|
||||
{table_row}
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END footer_table -->
|
||||
<!-- BEGIN footer_row -->
|
||||
<td width="33%">
|
||||
<font size="-1">
|
||||
<form action="{action_url}" method="post" name="{form_name}">
|
||||
<B>{label}:</B>
|
||||
{hidden_vars}
|
||||
<select name="{form_label}" onchange="{form_onchange}">
|
||||
{row}
|
||||
</select>
|
||||
<noscript><input type="submit" value="{go}"></noscript>
|
||||
</form>
|
||||
</font>
|
||||
</td>
|
||||
<!-- END footer_row -->
|
||||
<!-- BEGIN blank_row -->
|
||||
<td>
|
||||
{b_row}
|
||||
</td>
|
||||
<!-- END blank_row -->
|
||||
|
||||
|
14
calendar/templates/prisma/form_button_dropdown.tpl
Normal file
14
calendar/templates/prisma/form_button_dropdown.tpl
Normal file
@ -0,0 +1,14 @@
|
||||
<!-- $Id$ -->
|
||||
<form action="{form_link}" method="post" name="{form_name}form">
|
||||
<td width="{form_width}%" align="center" valign="top" style="padding-top:16px">
|
||||
<span style="font-size:10px"><b>{title}:</b>
|
||||
{hidden_vars}
|
||||
<select name="{form_name}" onchange="document.{form_name}form.submit()">
|
||||
{form_options}
|
||||
</select>
|
||||
<noscript>
|
||||
<input type="submit" value="{button_value}">
|
||||
</noscript>
|
||||
</span>
|
||||
</td>
|
||||
</form>
|
12
calendar/templates/prisma/form_button_script.tpl
Normal file
12
calendar/templates/prisma/form_button_script.tpl
Normal file
@ -0,0 +1,12 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<!-- BEGIN form_button -->
|
||||
|
||||
<form action="{action_url_button}" method="post" name="{action_text_button}form">
|
||||
<div style="padding-right: 2px">
|
||||
{action_extra_field}
|
||||
<input style="font-size:10px" type="submit" value="{action_text_button}" {action_confirm_button}>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<!-- END form_button -->
|
17
calendar/templates/prisma/head.tpl
Normal file
17
calendar/templates/prisma/head.tpl
Normal file
@ -0,0 +1,17 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<!-- BEGIN head -->
|
||||
{row}<br />
|
||||
<!-- END head -->
|
||||
|
||||
<!-- BEGIN head_table -->
|
||||
<table id="calendar_head_table" class="calendar_head_table" border="0" width="100%" cols="{cols}" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
{header_column}
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END head_table -->
|
||||
|
||||
<!-- BEGIN head_col -->
|
||||
{str}
|
||||
<!-- END head_col -->
|
226
calendar/templates/prisma/header.inc.php
Normal file
226
calendar/templates/prisma/header.inc.php
Normal file
@ -0,0 +1,226 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare *
|
||||
* http://www.egroupware.org *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
function add_col(&$tpl,$str)
|
||||
{
|
||||
$tpl->set_var('str',$str);
|
||||
$tpl->parse('header_column','head_col',True);
|
||||
}
|
||||
|
||||
function add_image_ahref($link,$image,$alt)
|
||||
{
|
||||
return '<a href="'.$link.'"><img src="'.$GLOBALS['phpgw']->common->image('calendar',$image).'" alt="'.$alt.'" title="'.$alt.'" border="0"></a>';
|
||||
}
|
||||
|
||||
$refer = explode('.',$GLOBALS['HTTP_GET_VARS']['menuaction']);
|
||||
$referrer = $refer[2];
|
||||
|
||||
$templates = Array(
|
||||
'head_tpl' => 'head.tpl',
|
||||
'form_button_dropdown' => 'form_button_dropdown.tpl',
|
||||
'form_button_script' => 'form_button_script.tpl'
|
||||
);
|
||||
$tpl->set_file($templates);
|
||||
$tpl->set_block('head_tpl','head','head');
|
||||
$tpl->set_block('head_tpl','head_table','head_table');
|
||||
$tpl->set_block('head_tpl','head_col','head_col');
|
||||
$tpl->set_block('form_button_script','form_button');
|
||||
return;
|
||||
if(floor(phpversion()) >= 4)
|
||||
{
|
||||
$tpl->set_var('cols',8);
|
||||
}
|
||||
else
|
||||
{
|
||||
$tpl->set_var('cols',7);
|
||||
}
|
||||
|
||||
$today = date('Ymd',$GLOBALS['phpgw']->datetime->users_localtime);
|
||||
|
||||
$col_width = 12;
|
||||
|
||||
add_col($tpl,' <td width="2%"> </td>');
|
||||
|
||||
add_col($tpl,' <td width="2%">'.add_image_ahref($this->page('day','&date='.$today),'today',lang('Today')).'</td>');
|
||||
|
||||
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('week','&date='.$today),'week',lang('This week')).'</td>');
|
||||
|
||||
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('month','&date='.$today),'month',lang('This month')).'</td>');
|
||||
|
||||
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('year','&date='.$today),'year',lang('This Year')).'</td>');
|
||||
|
||||
if(floor(phpversion()) >= 4)
|
||||
{
|
||||
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('planner','&date='.$today),'planner',lang('Planner')).'</td>');
|
||||
$col_width += 2;
|
||||
}
|
||||
|
||||
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('matrixselect'),'view',lang('Daily Matrix View')).'</td>');
|
||||
|
||||
add_col($tpl,' <td width="'.(100 - $col_width).'%" align="left"'.(floor(phpversion()) < 4?' colspan="2"':'').'> </td>');
|
||||
|
||||
$tpl->parse('row','head_table',True);
|
||||
|
||||
$tpl->set_var('header_column','');
|
||||
$tpl->set_var('cols',$cols);
|
||||
|
||||
if($referrer!='view')
|
||||
{
|
||||
$remainder = 72;
|
||||
|
||||
$date = (isset($GLOBALS['date'])?$GLOBALS['date']:'');
|
||||
$date = (isset($GLOBALS['HTTP_GET_VARS']['date'])?$GLOBALS['HTTP_GET_VARS']['date']:$date);
|
||||
$date = ($date=='' && isset($GLOBALS['HTTP_POST_VARS']['date'])?$GLOBALS['HTTP_POST_VARS']['date']:$date);
|
||||
|
||||
$base_hidden_vars = '<input type="hidden" name="from" value="'.$GLOBALS['HTTP_GET_VARS']['menuaction'].'">'."\n";
|
||||
if(isset($GLOBALS['HTTP_GET_VARS']['cal_id']) && $GLOBALS['HTTP_GET_VARS']['cal_id'] != 0)
|
||||
{
|
||||
$base_hidden_vars .= ' <input type="hidden" name="cal_id" value="'.$GLOBALS['HTTP_GET_VARS']['cal_id'].'">'."\n";
|
||||
}
|
||||
if(isset($GLOBALS['HTTP_POST_VARS']['keywords']) && $GLOBALS['HTTP_POST_VARS']['keywords'])
|
||||
{
|
||||
$base_hidden_vars .= ' <input type="hidden" name="keywords" value="'.$GLOBALS['HTTP_POST_VARS']['keywords'].'">'."\n";
|
||||
}
|
||||
if(isset($GLOBALS['HTTP_POST_VARS']['matrixtype']) && $GLOBALS['HTTP_POST_VARS']['matrixtype'])
|
||||
{
|
||||
$base_hidden_vars .= ' <input type="hidden" name="matrixtype" value="'.$GLOBALS['HTTP_POST_VARS']['matrixtype'].'">'."\n";
|
||||
}
|
||||
if($date)
|
||||
{
|
||||
$base_hidden_vars .= ' <input type="hidden" name="date" value="'.$date.'">'."\n";
|
||||
}
|
||||
$base_hidden_vars .= ' <input type="hidden" name="month" value="'.$this->bo->month.'">'."\n";
|
||||
$base_hidden_vars .= ' <input type="hidden" name="day" value="'.$this->bo->day.'">'."\n";
|
||||
$base_hidden_vars .= ' <input type="hidden" name="year" value="'.$this->bo->year.'">'."\n";
|
||||
|
||||
if(isset($GLOBALS['HTTP_POST_VARS']['participants']) && $GLOBALS['HTTP_POST_VARS']['participants'])
|
||||
{
|
||||
for ($i=0;$i<count($GLOBALS['HTTP_POST_VARS']['participants']);$i++)
|
||||
{
|
||||
$base_hidden_vars .= ' <input type="hidden" name="participants[]" value="'.$GLOBALS['HTTP_POST_VARS']['participants'][$i].'">'."\n";
|
||||
}
|
||||
}
|
||||
|
||||
$var = Array(
|
||||
'form_width' => '28',
|
||||
'form_link' => $this->page($referrer),
|
||||
'form_name' => 'cat_id',
|
||||
'title' => lang('Category'),
|
||||
'hidden_vars' => $base_hidden_vars,
|
||||
'form_options' => '<option value="0">'.lang('All').'</option>'.$this->cat->formated_list('select','all',$this->bo->cat_id,'True'),
|
||||
'button_value' => lang('Go!')
|
||||
);
|
||||
$tpl->set_var($var);
|
||||
$tpl->set_var('str',$tpl->fp('out','form_button_dropdown'));
|
||||
$tpl->parse('header_column','head_col',True);
|
||||
|
||||
if($GLOBALS['HTTP_GET_VARS']['menuaction'] == 'calendar.uicalendar.planner')
|
||||
{
|
||||
$remainder -= 28;
|
||||
print_debug('Sort By',$this->bo->sortby);
|
||||
|
||||
$form_options = '<option value="user"'.($this->bo->sortby=='user'?' selected':'').'>'.lang('User').'</option>'."\n";
|
||||
$form_options .= ' <option value="category"'.((!isset($this->bo->sortby) || !$this->bo->sortby) || $this->bo->sortby=='category'?' selected':'').'>'.lang('Category').'</option>'."\n";
|
||||
|
||||
$var = Array(
|
||||
'form_width' => '28',
|
||||
'form_link' => $this->page($referrer),
|
||||
'form_name' => 'sortby',
|
||||
'title' => lang('Sort By'),
|
||||
'hidden_vars' => $base_hidden_vars,
|
||||
'form_options' => $form_options,
|
||||
'button_value' => lang('Go!')
|
||||
);
|
||||
$tpl->set_var($var);
|
||||
$tpl->set_var('str',$tpl->fp('out','form_button_dropdown'));
|
||||
$tpl->parse('header_column','head_col',True);
|
||||
}
|
||||
|
||||
if($this->bo->check_perms(PHPGW_ACL_PRIVATE))
|
||||
{
|
||||
$remainder -= 28;
|
||||
$form_options = '<option value=" all "'.($this->bo->filter==' all '?' selected':'').'>'.lang('All').'</option>'."\n";
|
||||
$form_options .= ' <option value=" private "'.((!isset($this->bo->filter) || !$this->bo->filter) || $this->bo->filter==' private '?' selected':'').'>'.lang('Private Only').'</option>'."\n";
|
||||
|
||||
$var = Array(
|
||||
'form_width' => '28',
|
||||
'form_link' => $this->page($referrer),
|
||||
'form_name' => 'filter',
|
||||
'title' => lang('Filter'),
|
||||
'hidden_vars' => $base_hidden_vars,
|
||||
'form_options' => $form_options,
|
||||
'button_value' => lang('Go!')
|
||||
);
|
||||
$tpl->set_var($var);
|
||||
$tpl->set_var('str',$tpl->fp('out','form_button_dropdown'));
|
||||
$tpl->parse('header_column','head_col',True);
|
||||
}
|
||||
|
||||
if((!isset($GLOBALS['phpgw_info']['server']['deny_user_grants_access']) || !$GLOBALS['phpgw_info']['server']['deny_user_grants_access']) && count($this->bo->grants) > 0)
|
||||
{
|
||||
$form_options = '';
|
||||
$drop_down = $this->bo->list_cals();
|
||||
foreach($drop_down as $key => $grant)
|
||||
{
|
||||
$form_options .= ' <option value="'.$grant['value'].'"'.($grant['grantor']==$this->bo->owner?' selected':'').'>'.$grant['name'].'</option>'."\n";
|
||||
}
|
||||
|
||||
$var = Array(
|
||||
'form_width' => $remainder,
|
||||
'form_link' => $this->page($referrer),
|
||||
'form_name' => 'owner',
|
||||
'title' => lang('User'),
|
||||
'hidden_vars' => $base_hidden_vars,
|
||||
'form_options' => $form_options,
|
||||
'button_value' => lang('Go!')
|
||||
);
|
||||
$tpl->set_var($var);
|
||||
$tpl->set_var('str',$tpl->fp('out','form_button_dropdown'));
|
||||
$tpl->parse('header_column','head_col',True);
|
||||
}
|
||||
}
|
||||
|
||||
$hidden_vars = ' <input type="hidden" name="from" value="'.$GLOBALS['HTTP_GET_VARS']['menuaction'].'">'."\n";
|
||||
if(isset($GLOBALS['HTTP_GET_VARS']['date']) && $GLOBALS['HTTP_GET_VARS']['date'])
|
||||
{
|
||||
$hidden_vars .= ' <input type="hidden" name="date" value="'.$GLOBALS['HTTP_GET_VARS']['date'].'">'."\n";
|
||||
}
|
||||
$hidden_vars .= ' <input type="hidden" name="month" value="'.$this->bo->month.'">'."\n";
|
||||
$hidden_vars .= ' <input type="hidden" name="day" value="'.$this->bo->day.'">'."\n";
|
||||
$hidden_vars .= ' <input type="hidden" name="year" value="'.$this->bo->year.'">'."\n";
|
||||
if(isset($this->bo->filter) && $this->bo->filter)
|
||||
{
|
||||
$hidden_vars .= ' <input type="hidden" name="filter" value="'.$this->bo->filter.'">'."\n";
|
||||
}
|
||||
if(isset($this->bo->sortby) && $this->bo->sortby)
|
||||
{
|
||||
$hidden_vars .= ' <input type="hidden" name="sortby" value="'.$this->bo->sortby.'">'."\n";
|
||||
}
|
||||
if(isset($this->bo->num_months) && $this->bo->num_months)
|
||||
{
|
||||
$hidden_vars .= ' <input type="hidden" name="num_months" value="'.$this->bo->num_months.'">'."\n";
|
||||
}
|
||||
$hidden_vars .= ' <input name="keywords"'.($GLOBALS['HTTP_POST_VARS']['keywords']?' value="'.$GLOBALS['HTTP_POST_VARS']['keywords'].'"':'').'>';
|
||||
|
||||
$var = Array(
|
||||
'action_url_button' => $this->page('search'),
|
||||
'action_text_button' => lang('Search'),
|
||||
'action_confirm_button' => '',
|
||||
'action_extra_field' => $hidden_vars
|
||||
);
|
||||
$tpl->set_var($var);
|
||||
$button = $tpl->fp('out','form_button');
|
||||
$tpl->set_var('str','<td align="right" valign="bottom">'.$button.'</td>');
|
||||
$tpl->parse('header_column','head_col',True);
|
||||
$tpl->parse('row','head_table',True);
|
||||
?>
|
34
calendar/templates/prisma/holiday.tpl
Normal file
34
calendar/templates/prisma/holiday.tpl
Normal file
@ -0,0 +1,34 @@
|
||||
<!-- $Id$ -->
|
||||
<!-- BEGIN form -->
|
||||
<center>
|
||||
{message}<br>
|
||||
<table border="0" width="80%" cellspacing="2" cellpadding="2">
|
||||
<form name="form" action="{actionurl}" method="POST">
|
||||
{hidden_vars}
|
||||
{rows}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table width="100%" border="0" cellspacing="5">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="submit" name="submit" value="{lang_add}"></form>
|
||||
</td>
|
||||
<td>
|
||||
{cancel_button}
|
||||
</td>
|
||||
<td align="right" width="80%">
|
||||
{delete_button}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
<!-- END form -->
|
||||
<!-- BEGIN list -->
|
||||
<tr bgcolor="{tr_color}">
|
||||
<td valign="top" width="35%"><b>{field}:</b></td>
|
||||
<td valign="top" width="65%">{data}</td>
|
||||
</tr>
|
||||
<!-- END list -->
|
7
calendar/templates/prisma/hr.tpl
Normal file
7
calendar/templates/prisma/hr.tpl
Normal file
@ -0,0 +1,7 @@
|
||||
<!-- $Id$ -->
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
{hr_text}
|
||||
</td>
|
||||
</tr>
|
||||
|
33
calendar/templates/prisma/index.tpl
Normal file
33
calendar/templates/prisma/index.tpl
Normal file
@ -0,0 +1,33 @@
|
||||
<!-- $Id$ -->
|
||||
{printer_friendly}
|
||||
<table id="calendar_index_table" border="0" width="100%" cols="5">
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
{small_calendar_prev}
|
||||
</td>
|
||||
<td align="center" valign="middle" width="15%">
|
||||
<b>{prev_month_link}</b>
|
||||
</td>
|
||||
<td align="center" width="30%">
|
||||
<span class="calendar_month_identifier">
|
||||
{month_identifier}
|
||||
</span>
|
||||
<br />
|
||||
<span class="calendar_user_identifier">
|
||||
: {username} :
|
||||
</span>
|
||||
</td>
|
||||
<td align="center" valign="middle" width="15%">
|
||||
{next_month_link}
|
||||
</td>
|
||||
<td align="right" valign="top" width="20%">
|
||||
{small_calendar_next}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{large_month}
|
||||
<p>
|
||||
<p>
|
||||
<div class="calendar_link_print">
|
||||
{print}
|
||||
</div>
|
27
calendar/templates/prisma/link_pict.tpl
Executable file
27
calendar/templates/prisma/link_pict.tpl
Executable file
@ -0,0 +1,27 @@
|
||||
<!-- $Id$ link_pict -->
|
||||
|
||||
<!-- BEGIN link_pict -->
|
||||
{picture}
|
||||
<!-- END link_pict -->
|
||||
|
||||
<!-- BEGIN link_open -->
|
||||
<div id="calendar_event_entry" style="overflow:hidden;">
|
||||
<a class="event_entry" href="{link_link}" onMouseOver="window.status='{lang_view}'; return true;" onMouseOut="window.status=''; return true;"><br>
|
||||
<!-- removed for favour of tooltip (NDEE) title="{desc}" -->
|
||||
<!-- END link_open -->
|
||||
|
||||
<!-- BEGIN pict -->
|
||||
<img src="{pic_image}" width="{width}" height="{height}" title="{title}" border="0" />
|
||||
<!-- END pict -->
|
||||
|
||||
<!-- BEGIN link_text_old -->
|
||||
<nobr> {time} </nobr> {title} {users_status}: <i>{desc}</i><!--({location})-->
|
||||
<!-- END link_text_old -->
|
||||
|
||||
<!-- BEGIN link_text -->
|
||||
<nobr> <span style="color: black">{time}</span> {users_status}</nobr><br><div onmouseover="this.T_STATIC=true;this.T_OFFSETX=-2;this.T_OFFSETY=36;return escape('<table width=200 cellpadding=3 cellspacing=0 border=0><tr><td style=\'color: white;\' bgcolor=#606060>{time}::<b>{title}</b></td></tr><tr><td><br>{desc}<br><br></td></tr><tr><td bgcolor=#c7c7c7>{location}</td></tr></table>');"><b>{title}</b><br><i>{desc}</i><br><b>{location}</b></div>
|
||||
<!-- END link_text -->
|
||||
|
||||
<!-- BEGIN link_close -->
|
||||
</a></div>
|
||||
<!-- END link_close -->
|
7
calendar/templates/prisma/list.tpl
Normal file
7
calendar/templates/prisma/list.tpl
Normal file
@ -0,0 +1,7 @@
|
||||
<!-- $Id$ -->
|
||||
<!-- BEGIN list -->
|
||||
<tr>
|
||||
<td valign="top" width="35%"><b>{field}:</b></td>
|
||||
<td valign="top" width="65%">{data}</td>
|
||||
</tr>
|
||||
<!-- END list -->
|
60
calendar/templates/prisma/locales.tpl
Normal file
60
calendar/templates/prisma/locales.tpl
Normal file
@ -0,0 +1,60 @@
|
||||
<!-- BEGIN list -->
|
||||
<p>
|
||||
<table border="0" width="45%" align="center">
|
||||
<tr>
|
||||
<td align="left">{left_next_matchs}</td>
|
||||
{center}
|
||||
<td align="right">{right_next_matchs}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" width="70%" align="center">
|
||||
<tr bgcolor="{th_bg}">
|
||||
<td> {sort_name}</td>
|
||||
{header_rule}
|
||||
<td>{header_edit}</td>
|
||||
<td>{header_delete}</td>
|
||||
<td>{header_extra}</td>
|
||||
</tr>
|
||||
|
||||
{rows}
|
||||
|
||||
</table>
|
||||
|
||||
<table border="0" width="70%" cellspacing="5" align="center">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<form method="POST" action="{new_action}">
|
||||
<input type="submit" value="{lang_add}">
|
||||
</form>
|
||||
</td>
|
||||
{back_button}
|
||||
<td width="80%" align="right">
|
||||
<form method="POST" action="{search_action}">
|
||||
{lang_search} <input name="query">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END list -->
|
||||
<!-- BEGIN row -->
|
||||
<tr bgcolor="{tr_color}">
|
||||
<td> {group_name}</td>
|
||||
{rule}
|
||||
<td width="5%">{edit_link}</td>
|
||||
<td width="5%">{delete_link}</td>
|
||||
<td align="center" {extra_width}>{extra_link}</td>
|
||||
</tr>
|
||||
<!-- END row -->
|
||||
<!-- BEGIN row_empty -->
|
||||
<tr>
|
||||
<td colspan="5" align="center">{message}</td>
|
||||
</tr>
|
||||
<!-- END row_empty -->
|
||||
<!-- BEGIN back_button_form -->
|
||||
<td align="center">
|
||||
<form method="POST" action="{back_action}">
|
||||
<input type="submit" value="{lang_back}">
|
||||
</form>
|
||||
</td>
|
||||
<!-- END back_button_form -->
|
26
calendar/templates/prisma/matrix_query.tpl
Normal file
26
calendar/templates/prisma/matrix_query.tpl
Normal file
@ -0,0 +1,26 @@
|
||||
<!-- $Id$ -->
|
||||
<!-- BEGIN matrix_query -->
|
||||
<center>
|
||||
<form action="{action_url}" method="post" name="matrixform">
|
||||
<table border="0" width="98%">
|
||||
<tr bgcolor="{th_bg}">
|
||||
<td colspan="2" align="center"><b>{title}</b></td>
|
||||
</tr>
|
||||
{rows}
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing="5"><tr>
|
||||
<td><input type="submit" value="{submit_button}"></td>
|
||||
</tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</center>
|
||||
<!-- END matrix_query -->
|
||||
<!-- BEGIN list -->
|
||||
<tr bgcolor="{tr_color}">
|
||||
<td valign="top" width="35%"><b> {field}:</b></td>
|
||||
<td valign="top" width="65%">{data}</td>
|
||||
</tr>
|
||||
<!-- END list -->
|
43
calendar/templates/prisma/mini_cal.tpl
Normal file
43
calendar/templates/prisma/mini_cal.tpl
Normal file
@ -0,0 +1,43 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<!-- BEGIN mini_cal -->
|
||||
|
||||
<table id="calendar_minical_table" class="calendar_minical_table" border=0 cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td style="padding-left: 8px; font-weight: bold; text-align: left;">
|
||||
{month}
|
||||
</td>
|
||||
<td align="right">
|
||||
<!-- why empty? -->
|
||||
{prevmonth} {nextmonth}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-left: 8px; text-align: left;">
|
||||
<!-- <img src="{cal_img_root}" width="90%" height="1"> -->
|
||||
<hr class="calendar_minical_hrule">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<table id="calendar_minical_daytable" class="calendar_minical_daytable" cellspacing="5" cellpadding="0">
|
||||
<tr>{daynames}</tr>
|
||||
{display_monthweek}
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END mini_cal -->
|
||||
|
||||
<!-- BEGIN mini_week -->
|
||||
<tr>
|
||||
{monthweek_day}
|
||||
</tr>
|
||||
<!-- END mini_week -->
|
||||
|
||||
<!-- BEGIN mini_day -->
|
||||
<td class="calendar_minical_dayname" {day_image}>
|
||||
{dayname}
|
||||
</td>
|
||||
<!-- END mini_day -->
|
7
calendar/templates/prisma/month.tpl
Normal file
7
calendar/templates/prisma/month.tpl
Normal file
@ -0,0 +1,7 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<table id="calendar_month_table" width="100%" border="0" bordercolor="#FFFFFF" cellspacing="2" cellpadding="2" cols={cols}>
|
||||
{row}
|
||||
</table>
|
||||
|
||||
|
5
calendar/templates/prisma/month_column.tpl
Normal file
5
calendar/templates/prisma/month_column.tpl
Normal file
@ -0,0 +1,5 @@
|
||||
<!-- $Id$ month_column -->
|
||||
|
||||
<td valign="top" colspan="1" width="{col_width}%"{extra}>
|
||||
{column_data}
|
||||
</td>
|
22
calendar/templates/prisma/month_day.tpl
Normal file
22
calendar/templates/prisma/month_day.tpl
Normal file
@ -0,0 +1,22 @@
|
||||
<!-- $Id$ month_day -->
|
||||
|
||||
<!-- BEGIN m_w_table -->
|
||||
|
||||
<table id="calendar_m_w_table" class="calendar_m_w_table">
|
||||
<! from month_header.tpl -->
|
||||
{row}
|
||||
</table>
|
||||
<!-- END m_w_table -->
|
||||
|
||||
<!-- BEGIN month_daily -->
|
||||
<span id="calendar_m_w_table_daynumber" style="font-size:10px">[ {day_number} ]</span>{new_event_link}<br />
|
||||
{daily_events}
|
||||
<!-- END month_daily -->
|
||||
|
||||
<!-- BEGIN day_event -->
|
||||
{events}
|
||||
<!-- END day_event -->
|
||||
|
||||
<!-- BEGIN event -->
|
||||
{day_events}
|
||||
<!-- END event -->
|
19
calendar/templates/prisma/month_header.tpl
Normal file
19
calendar/templates/prisma/month_header.tpl
Normal file
@ -0,0 +1,19 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<!-- BEGIN monthly_header -->
|
||||
<tr class="calendar_m_w_table_header" colspan="{cols}" width="{col_width}%">
|
||||
{column_header}</tr>
|
||||
<!-- END monthly_header -->
|
||||
|
||||
<!-- BEGIN monthly_row -->
|
||||
<tr class="calendar_m_w_table_row" colspan="{cols}" width="{col_width}%">
|
||||
{column_row}</tr>
|
||||
<!-- END monthly_row -->
|
||||
|
||||
<!-- BEGIN column_title -->
|
||||
<th class="calendar_weekview_daytitle" width="14.28%">{col_title}</th>
|
||||
<!-- END column_title -->
|
||||
|
||||
<!-- BEGIN month_column -->
|
||||
<td class="calendar_m_w_tablecell" colspan="1" width="{col_width}%"{extra}>{column_data}</td>
|
||||
<!-- END month_column -->
|
31
calendar/templates/prisma/overlap.tpl
Normal file
31
calendar/templates/prisma/overlap.tpl
Normal file
@ -0,0 +1,31 @@
|
||||
<!-- $Id$ -->
|
||||
<!-- BEGIN overlap -->
|
||||
<center><br />
|
||||
<table id="calendar_overlap_table">
|
||||
<tr>
|
||||
<td>
|
||||
{overlap_text}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<ul>{overlap_list}</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table id="calendar_overlap_table2" cellspacing="5">
|
||||
<tr>
|
||||
<td>
|
||||
{resubmit_button}
|
||||
</td>
|
||||
<td>
|
||||
{reedit_button}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
<!-- END overlap -->
|
22
calendar/templates/prisma/pref.tpl
Normal file
22
calendar/templates/prisma/pref.tpl
Normal file
@ -0,0 +1,22 @@
|
||||
<!-- BEGIN pref -->
|
||||
<p><b>{title}:</b><hr><p>
|
||||
<form action="{action_url}" method="POST">
|
||||
<table border="0" align="center" width="90%">
|
||||
{row}
|
||||
</table>
|
||||
<center><input type="submit" name="submit" value="{submit_lang}"></center>
|
||||
</form>
|
||||
<!-- END pref -->
|
||||
|
||||
<!-- BEGIN pref_colspan -->
|
||||
<tr bgcolor="{bg_color}">
|
||||
<td colspan="2">{text}</td>
|
||||
</tr>
|
||||
<!-- END pref_colspan -->
|
||||
|
||||
<!-- BEGIN pref_list -->
|
||||
<tr bgcolor="{bg_color}">
|
||||
<td align="right">{field}</td>
|
||||
<td align="center">{data}</td>
|
||||
</tr>
|
||||
<!-- END pref_list -->
|
27
calendar/templates/prisma/preference_acl.tpl
Normal file
27
calendar/templates/prisma/preference_acl.tpl
Normal file
@ -0,0 +1,27 @@
|
||||
{errors}
|
||||
{title}
|
||||
<table border="0" align="center" width="70%">
|
||||
<tr>
|
||||
{nml}
|
||||
<td width="40%">
|
||||
<div align="center">
|
||||
<form method="POST" action="{action_url}">
|
||||
{common_hidden_vars}
|
||||
<input type="text" name="query" value="{search_value}">
|
||||
<input type="submit" name="search" value="{search}">
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
{nmr}
|
||||
</tr>
|
||||
</table>
|
||||
<form method="POST" action="{action_url}">
|
||||
<table border="0" align="center" width="50%" cols="4">
|
||||
{row}
|
||||
</table>
|
||||
{common_hidden_vars_form}
|
||||
<input type="hidden" name="processed" value="{processed}">
|
||||
<center><input type="submit" name="submit" value="{submit_lang}"></center>
|
||||
</form>
|
||||
|
||||
|
9
calendar/templates/prisma/preference_acl_row.tpl
Normal file
9
calendar/templates/prisma/preference_acl_row.tpl
Normal file
@ -0,0 +1,9 @@
|
||||
<!-- $Id$ -->
|
||||
<tr bgcolor="{row_color}">
|
||||
<td>{user}</td>
|
||||
<td align="center"><input type="checkbox" name="{read}" value="Y"{read_selected}></td>
|
||||
<td align="center"><input type="checkbox" name="{add}" value="Y"{add_selected}></td>
|
||||
<td align="center"><input type="checkbox" name="{edit}" value="Y"{edit_selected}></td>
|
||||
<td align="center"><input type="checkbox" name="{delete}" value="Y"{delete_selected}></td>
|
||||
<td align="center"><input type="checkbox" name="{private}" value="Y"{private_selected}></td>
|
||||
</tr>
|
8
calendar/templates/prisma/preference_colspan.tpl
Normal file
8
calendar/templates/prisma/preference_colspan.tpl
Normal file
@ -0,0 +1,8 @@
|
||||
<tr bgcolor="{bg_color}">
|
||||
<td>{string}</td>
|
||||
<td align="center">{lang_read}</td>
|
||||
<td align="center">{lang_add}</td>
|
||||
<td align="center">{lang_edit}</td>
|
||||
<td align="center">{lang_delete}</td>
|
||||
<td align="center">{lang_private}</td>
|
||||
</tr>
|
30
calendar/templates/prisma/search.tpl
Normal file
30
calendar/templates/prisma/search.tpl
Normal file
@ -0,0 +1,30 @@
|
||||
<!-- $Id$ -->
|
||||
<!-- BEGIN search -->
|
||||
<table id="calendar_search_table" width="90%">
|
||||
<tr>
|
||||
<td colspan="2" align="center" bgcolor="{th_bg}">
|
||||
<b>{quantity}</b>
|
||||
</td>
|
||||
</tr>
|
||||
{rows}
|
||||
</table>
|
||||
<!-- END search -->
|
||||
|
||||
<!-- BEGIN search_list_header -->
|
||||
|
||||
<!-- END search_list_header -->
|
||||
|
||||
<!-- BEGIN search_list -->
|
||||
<tr bgcolor="{tr_color}">
|
||||
<td width="20%">
|
||||
{date}
|
||||
</td>
|
||||
<td>
|
||||
{link}
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END search_list -->
|
||||
|
||||
<!-- BEGIN search_list_footer -->
|
||||
|
||||
<!-- END search_list_footer -->
|
10
calendar/templates/prisma/vcal_import.tpl
Normal file
10
calendar/templates/prisma/vcal_import.tpl
Normal file
@ -0,0 +1,10 @@
|
||||
<!-- vcardin form -->
|
||||
{vcal_header}
|
||||
<form ENCTYPE="multipart/form-data" method="POST" action="{action_url}">
|
||||
<table border=0>
|
||||
<tr>
|
||||
<td>{ical_lang}: <input type="file" name="uploadedfile"></td>
|
||||
<td><input type="submit" name="action" value="{load_vcal}"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
47
calendar/templates/prisma/view.tpl
Normal file
47
calendar/templates/prisma/view.tpl
Normal file
@ -0,0 +1,47 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<!-- BEGIN view_event -->
|
||||
<center>
|
||||
<table id="calendar_view_event" border="0" width="90%">
|
||||
{row}
|
||||
<tr>
|
||||
<td>
|
||||
<table id="calendar_viewevent_button_left" cellspacing="5">
|
||||
<tr>
|
||||
{button_left}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td align="center">
|
||||
<table id="calendar_viewevent_button_center" cellspacing="5">
|
||||
<tr>
|
||||
{button_center}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td align="right">
|
||||
<table id="calendar_viewevent_button_right" cellspacing="5">
|
||||
<tr>
|
||||
{button_right}
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
<!-- END view_event -->
|
||||
|
||||
<!-- BEGIN list -->
|
||||
<tr bgcolor="{tr_color}">
|
||||
<td valign="top" width="30%"> <b>{field}:</b></td>
|
||||
<td colspan="2" valign="top" width="70%">{data}</td>
|
||||
</tr>
|
||||
<!-- END list -->
|
||||
|
||||
<!-- BEGIN hr -->
|
||||
<tr>
|
||||
<td colspan="3" bgcolor="{th_bg}" align="center">
|
||||
<b>{hr_text}</b>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END hr -->
|
41
calendar/templates/prisma/week.tpl
Normal file
41
calendar/templates/prisma/week.tpl
Normal file
@ -0,0 +1,41 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
{printer_friendly}
|
||||
|
||||
<!-- head table with mini calendars -->
|
||||
|
||||
<table id="calendar_week_minical_table" class="calendar_week_minical_table">
|
||||
<tr>
|
||||
<td id="small_calendar_prev" align="left" valign="top" width="20%">
|
||||
{small_calendar_prev}
|
||||
</td>
|
||||
<td id="prev_week_link" align="center" valign="middle" width="20%">
|
||||
<b>{prev_week_link}</b>
|
||||
</td>
|
||||
<td id="small_calendar_this" align="center" valign="top" width="20%">
|
||||
{small_calendar_this}
|
||||
</td>
|
||||
<td id="next_week_link" align="center" valign="middle" width="20%">
|
||||
<b>{next_week_link}</b>
|
||||
</td>
|
||||
<td id="small_calendar_right" align="right" valign="top" width="20%">
|
||||
{small_calendar_next}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<table id="calendar_week_identifier_table" class="calendar_week_identifier_table">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<span class="calendar_week_identifier">{week_identifier} </span>
|
||||
<span class="calendar_user_identifier">:: {username} ::</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- from month_day.tpl -->
|
||||
{week_display}
|
||||
|
||||
<div class="calendar_link_print">
|
||||
<br />
|
||||
{print}
|
||||
</div>
|
35
calendar/templates/prisma/year.tpl
Normal file
35
calendar/templates/prisma/year.tpl
Normal file
@ -0,0 +1,35 @@
|
||||
<!-- BEGIN year -->
|
||||
{print}
|
||||
<center>
|
||||
<table id="calendar_year_table" border="0" cellspacing="3" cellpadding="4" cols=4>
|
||||
<tr>
|
||||
<td align="center">
|
||||
{left_link}
|
||||
</td>
|
||||
<td align="center">
|
||||
<font face="{font}" size="+1">{year_text}</font>
|
||||
</td>
|
||||
<td align="center">
|
||||
{right_link}
|
||||
</td>
|
||||
{row}
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
<p>
|
||||
<div class="calendar_link_print">
|
||||
{printer_friendly}
|
||||
</div>
|
||||
<!-- END year -->
|
||||
|
||||
<!-- BEGIN month -->
|
||||
<td valign="top">
|
||||
{mini_month}
|
||||
</td>
|
||||
<!-- END month -->
|
||||
|
||||
<!-- BEGIN month_sep -->
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<!-- END month_sep -->
|
||||
|
Loading…
Reference in New Issue
Block a user