[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: infolog/inc class.uiinfolog.inc.php,1.48,1.49
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: infolog/inc class.uiinfolog.inc.php,1.48,1.49 |
Date: |
Tue, 15 Oct 2002 09:30:26 -0400 |
Update of /cvsroot/phpgroupware/infolog/inc
In directory subversions:/tmp/cvs-serv13685
Modified Files:
class.uiinfolog.inc.php
Log Message:
fix to allow '&' in attached files (needs to be quoted ('%26') in the
download-link)
and preserving Linebreaks in InfoLog entries
Index: class.uiinfolog.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/infolog/inc/class.uiinfolog.inc.php,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -r1.48 -r1.49
*** class.uiinfolog.inc.php 14 Oct 2002 00:39:47 -0000 1.48
--- class.uiinfolog.inc.php 15 Oct 2002 13:30:23 -0000 1.49
***************
*** 91,94 ****
--- 91,95 ----
$info['anzSubs'] = $this->bo->anzSubs($id);
$info += $this->formatInfo($info,$action,$action_id);
+ $info['info_des'] = nl2br($info['info_des']);
$readonlys["edit[$id]"] =
!$this->bo->check_access($id,PHPGW_ACL_EDIT);
***************
*** 521,525 ****
$this->menuaction('get_file') + array(
'info_id' =>
$info['info_id'],
! 'filename' => $name
),'target=_blank');
if ($comment) $links .= ' (' . $comment . ')';
--- 522,526 ----
$this->menuaction('get_file') + array(
'info_id' =>
$info['info_id'],
! 'filename' =>
str_replace('&','%26',$name)
),'target=_blank');
if ($comment) $links .= ' (' . $comment . ')';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: infolog/inc class.uiinfolog.inc.php,1.48,1.49,
Ralf Becker <address@hidden> <=