forked from extern/egroupware
New header files.
This commit is contained in:
parent
cf89d927d5
commit
2665284fad
@ -39,32 +39,19 @@
|
|||||||
|
|
||||||
$today = date('Ymd',time());
|
$today = date('Ymd',time());
|
||||||
|
|
||||||
$str = ' <td width="2%"> </td>';
|
add_col($tpl,' <td width="2%"> </td>');
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('day','&date='.$today);
|
add_col($tpl,' <td width="2%">'.add_image_ahref($this->page('day','&date='.$today),'today.gif',lang('Today')).'</td>');
|
||||||
$str = ' <td width="2%">'.add_image_ahref($link,'today.gif',lang('Today')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('week','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('week','&date='.$today),'week.gif',lang('This week')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'week.gif',lang('This week')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('month','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('month','&date='.$today),'month.gif',lang('This month')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'month.gif',lang('This month')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('year','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('year','&date='.$today),'year.gif',lang('This Year')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'year.gif',lang('This Year')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('planner','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('planner','&date='.$today),'planner.gif',lang('Planner')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'planner.gif',lang('Planner')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('matrixselect');
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('matrixselect'),'view.gif',lang('Daily Matrix View')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'view.gif',lang('Daily Matrix View')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$remainder = 63;
|
$remainder = 63;
|
||||||
if($this->bo->check_perms(PHPGW_ACL_PRIVATE))
|
if($this->bo->check_perms(PHPGW_ACL_PRIVATE))
|
||||||
|
@ -39,32 +39,19 @@
|
|||||||
|
|
||||||
$today = date('Ymd',time());
|
$today = date('Ymd',time());
|
||||||
|
|
||||||
$str = ' <td width="2%"> </td>';
|
add_col($tpl,' <td width="2%"> </td>');
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('day','&date='.$today);
|
add_col($tpl,' <td width="2%">'.add_image_ahref($this->page('day','&date='.$today),'today.gif',lang('Today')).'</td>');
|
||||||
$str = ' <td width="2%">'.add_image_ahref($link,'today.gif',lang('Today')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('week','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('week','&date='.$today),'week.gif',lang('This week')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'week.gif',lang('This week')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('month','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('month','&date='.$today),'month.gif',lang('This month')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'month.gif',lang('This month')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('year','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('year','&date='.$today),'year.gif',lang('This Year')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'year.gif',lang('This Year')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('planner','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('planner','&date='.$today),'planner.gif',lang('Planner')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'planner.gif',lang('Planner')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('matrixselect');
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('matrixselect'),'view.gif',lang('Daily Matrix View')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'view.gif',lang('Daily Matrix View')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$remainder = 63;
|
$remainder = 63;
|
||||||
if($this->bo->check_perms(PHPGW_ACL_PRIVATE))
|
if($this->bo->check_perms(PHPGW_ACL_PRIVATE))
|
||||||
|
@ -39,32 +39,19 @@
|
|||||||
|
|
||||||
$today = date('Ymd',time());
|
$today = date('Ymd',time());
|
||||||
|
|
||||||
$str = ' <td width="2%"> </td>';
|
add_col($tpl,' <td width="2%"> </td>');
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('day','&date='.$today);
|
add_col($tpl,' <td width="2%">'.add_image_ahref($this->page('day','&date='.$today),'today.gif',lang('Today')).'</td>');
|
||||||
$str = ' <td width="2%">'.add_image_ahref($link,'today.gif',lang('Today')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('week','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('week','&date='.$today),'week.gif',lang('This week')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'week.gif',lang('This week')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('month','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('month','&date='.$today),'month.gif',lang('This month')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'month.gif',lang('This month')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('year','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('year','&date='.$today),'year.gif',lang('This Year')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'year.gif',lang('This Year')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('planner','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('planner','&date='.$today),'planner.gif',lang('Planner')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'planner.gif',lang('Planner')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('matrixselect');
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('matrixselect'),'view.gif',lang('Daily Matrix View')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'view.gif',lang('Daily Matrix View')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$remainder = 63;
|
$remainder = 63;
|
||||||
if($this->bo->check_perms(PHPGW_ACL_PRIVATE))
|
if($this->bo->check_perms(PHPGW_ACL_PRIVATE))
|
||||||
|
@ -39,32 +39,19 @@
|
|||||||
|
|
||||||
$today = date('Ymd',time());
|
$today = date('Ymd',time());
|
||||||
|
|
||||||
$str = ' <td width="2%"> </td>';
|
add_col($tpl,' <td width="2%"> </td>');
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('day','&date='.$today);
|
add_col($tpl,' <td width="2%">'.add_image_ahref($this->page('day','&date='.$today),'today.gif',lang('Today')).'</td>');
|
||||||
$str = ' <td width="2%">'.add_image_ahref($link,'today.gif',lang('Today')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('week','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('week','&date='.$today),'week.gif',lang('This week')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'week.gif',lang('This week')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('month','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('month','&date='.$today),'month.gif',lang('This month')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'month.gif',lang('This month')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('year','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('year','&date='.$today),'year.gif',lang('This Year')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'year.gif',lang('This Year')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('planner','&date='.$today);
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('planner','&date='.$today),'planner.gif',lang('Planner')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'planner.gif',lang('Planner')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$link = $this->page('matrixselect');
|
add_col($tpl,' <td width="2%" align="left">'.add_image_ahref($this->page('matrixselect'),'view.gif',lang('Daily Matrix View')).'</td>');
|
||||||
$str = ' <td width="2%" align="left">'.add_image_ahref($link,'view.gif',lang('Daily Matrix View')).'</td>';
|
|
||||||
add_col($tpl,$str);
|
|
||||||
|
|
||||||
$remainder = 63;
|
$remainder = 63;
|
||||||
if($this->bo->check_perms(PHPGW_ACL_PRIVATE))
|
if($this->bo->check_perms(PHPGW_ACL_PRIVATE))
|
||||||
|
Loading…
Reference in New Issue
Block a user