"Their next target. The name is Neo."

-- Agent Jones, Matrix
This commit is contained in:
bgigon 2004-03-23 10:16:01 +00:00
parent 9167c109c7
commit fd64f81b1f
37 changed files with 1505 additions and 0 deletions

View 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>&nbsp;{input_days}&nbsp;{input_hours}&nbsp;{input_minutes}&nbsp;{input_owner}&nbsp;{input_add}<br>&nbsp;
</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}&nbsp;{disable_button}&nbsp;{delete_button}
</td>
</tr>
<!-- END buttons -->

View File

@ -0,0 +1,257 @@
/* CSS Document */
.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_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;
}

View 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}">&nbsp;<b>{title}</b></font></td>
</tr>
<!-- END header -->
<!-- BEGIN body -->
<tr bgcolor="{row_on}">
<td colspan="2">&nbsp;</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.phpgroupware.org/cal"{selected_holidays_url_path_http://www.phpgroupware.org/cal}>www.phpgroupware.org</option>
</select>
</td>
</tr>
<!-- END body -->
<!-- BEGIN footer -->
<tr bgcolor="{th_bg}">
<td colspan="2">
&nbsp;
</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 -->

View 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>&nbsp;</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}"> &nbsp; &nbsp;
{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">&nbsp;<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 -->

View 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>&nbsp;</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} &nbsp; {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 -->

View 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}&nbsp;<span class="calendar_user_identifier">:&nbsp;{username}&nbsp;:</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 -->

View 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}>&nbsp;{event}</td>
<!-- END day_event_on -->
<!-- BEGIN day_event_off -->
<td class="event-off"{extras}>&nbsp;{event}</td>
<!-- END day_event_off -->
<!-- BEGIN day_event_holiday -->
<td class="event-holiday"{extras}>&nbsp;{event}</td>
<!-- END day_event_holiday -->
<!-- BEGIN day_time -->
<td class="time" nowrap>{open_link}{time}{close_link}</td>
<!-- END day_time -->

View 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 -->

View 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 -->

View File

@ -0,0 +1,52 @@
<!-- $Id$ -->
<!-- BEGIN edit_entry -->
<script language="JavaScript">
self.name="first_Window";
function accounts_popup()
{
Window1=window.open('{accounts_link}',"Search","width=800,height=600,toolbar=no,scrollbars=yes,resizable=yes");
}
</script>
<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>
<td valign="top">
<div style="padding-top:15px; padding-right: 2px">
<input style="font-size:10px" type="submit" value="{submit_button}">&nbsp;
</div>
</td>
<td valign="top">{cancel_button}</td>
</tr></table></form>
</td>
<td align="right">{delete_button}</td>
</tr>
</table>
</font>
</center>
<!-- END edit_entry -->
<!-- BEGIN list -->
<tr bgcolor="{tr_color}">
<td valign="top" width="35%">&nbsp;<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 -->

View 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>
{table_row}
</tr>
</table>
<!-- END footer_table -->
<!-- BEGIN footer_row -->
<td valign="top" 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 -->

View 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>

View File

@ -0,0 +1,13 @@
<!-- $Id$ -->
<!-- BEGIN form_button -->
<nobr>
<form action="{action_url_button}" method="post" name="{action_text_button}form">
<div style="padding-top:15px; padding-right: 2px">
{action_extra_field}
<input style="font-size:10px" type="submit" value="{action_text_button}" {action_confirm_button}>
</div>
</form>
</nobr>
<!-- END form_button -->

View 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 -->

View 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');
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%">&nbsp;</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"':'').'>&nbsp;</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);
?>

View 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 -->

View File

@ -0,0 +1,7 @@
<!-- $Id$ -->
<tr>
<td colspan="2">
{hr_text}
</td>
</tr>

View 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">
:&nbsp;{username}&nbsp;:
</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>

View File

@ -0,0 +1,26 @@
<!-- $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;" title="{desc} {location}"><br>
<!-- END link_open -->
<!-- BEGIN pict -->
<img src="{pic_image}" width="{width}" height="{height}" title="{title}" border="0" />
<!-- END pict -->
<!-- BEGIN link_text_old -->
<nobr>&nbsp;{time}&nbsp;</nobr> {title}&nbsp;{users_status}: <i>{desc}</i><!--({location})-->
<!-- END link_text_old -->
<!-- BEGIN link_text -->
<nobr>&nbsp;<span style="color: black">{time}</span> {users_status}</nobr><br><b>{title}</b><br><i>{desc}</i> {location}
<!-- END link_text -->
<!-- BEGIN link_close -->
</a></div>
<!-- END link_close -->

View 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 -->

View 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>&nbsp;{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}&nbsp;<input name="query">
</form>
</td>
</tr>
</table>
<!-- END list -->
<!-- BEGIN row -->
<tr bgcolor="{tr_color}">
<td>&nbsp;{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 -->

View File

@ -0,0 +1,26 @@
<!-- $Id$ -->
<!-- BEGIN matrix_query -->
<center>
<form action="{action_url}" method="post" name="matrixform">
<table border="0" width="90%">
<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}"></form></td>
<td>{cancel_button}</td>
</tr></table>
</td>
</tr>
</table>
</center>
<!-- END matrix_query -->
<!-- BEGIN list -->
<tr bgcolor="{tr_color}">
<td valign="top" width="35%"><b>&nbsp;{field}:</b></td>
<td valign="top" width="65%">{data}</td>
</tr>
<!-- END list -->

View 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}&nbsp;&nbsp;{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 -->

View 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>

View File

@ -0,0 +1,5 @@
<!-- $Id$ month_column -->
<td valign="top" colspan="1" width="{col_width}%"{extra}>
{column_data}
</td>

View 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 -->

View File

@ -0,0 +1,14 @@
<!-- $Id$ -->
<!-- BEGIN monthly_header -->
<tr class="calendar_m_w_table_header" colspan="{cols}" width="{col_width}%">
{column_header}</tr>
<!-- END monthly_header -->
<!-- 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 -->

View 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 -->

View 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 -->

View 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>

View 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>

View 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>

View 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%">
&nbsp;{date}
</td>
<td>
{link}
</td>
</tr>
<!-- END search_list -->
<!-- BEGIN search_list_footer -->
<!-- END search_list_footer -->

View 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>

View 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%">&nbsp;<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 -->

View 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}&nbsp;&nbsp;</span>
<span class="calendar_user_identifier">::&nbsp;{username}&nbsp;::</span>
</td>
</tr>
</table>
<!-- from month_day.tpl -->
{week_display}
<div class="calendar_link_print">
<br />
{print}
</div>

View 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 -->