Playing around with sizing of repeating event images.

This commit is contained in:
skeeter 2001-05-03 11:30:51 +00:00
parent 4b06c0280e
commit e8a1d1843f
3 changed files with 13 additions and 5 deletions

View File

@ -1025,8 +1025,8 @@ class calendar extends calendar_
$pic_size = ' width="5" height="7"';
if($lr_events->recur_type != RECUR_NONE)
{
$pict = 'repeat.gif';
$pic_size = ' width=25 height=35';
$pict = 'rpt.gif';
$pic_size = ' width="10" height="10"';
}
// if(count($lr_events->participants) > 1)
// {
@ -1298,7 +1298,15 @@ class calendar extends calendar_
{
$time[$ind] .= '] ';
}
$time[$ind] .= '<img src="'.$this->image_dir.'/circle.gif" border="0" alt="' . $description . '">';
$pict = 'circle.gif';
$pic_size = 'width="5" height="7"';
if($event->recur_type != RECUR_NONE)
{
$pict = 'rpt.gif';
$pic_size = 'width="10" height="10"';
}
$time[$ind] .= '<img '.$pict_size.' src="'.$this->image_dir.'/'.$pict.'" border="0" alt="' . $description . '">';
if (($this->printer_friendly == False) && (($description == 'private' && $this->check_perms(PHPGW_ACL_PRIVATE)) || ($description != 'private')) && $this->check_perms(PHPGW_ACL_EDIT))
{

View File

@ -1,4 +1,4 @@
<!-- $Id$ link_pict -->
<a href="{link_link}" onMouseOver="window.status='{lang_view}'; return true;">
<img src="{pic_image}" width="5" height="7" alt="{description}" border="0">
<img src="{pic_image}"{pic_size} alt="{description}" border="0">

View File

@ -1,4 +1,4 @@
<!-- $Id$ link_pict -->
<a href="{link_link}" onMouseOver="window.status='{lang_view}'; return true;">
<img src="{pic_image}" width="5" height="7" alt="{description}" border="0">
<img src="{pic_image}"{pic_size} alt="{description}" border="0">