[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/inc class.bo.inc.php,1.2,1.
From: |
Patrick Walsh <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/inc class.bo.inc.php,1.2,1.3 |
Date: |
Fri, 30 Aug 2002 04:44:44 -0400 |
Update of /cvsroot/phpgroupware/sitemgr/sitemgr-site/inc
In directory subversions:/tmp/cvs-serv23134
Modified Files:
class.bo.inc.php
Log Message:
added link feature
Index: class.bo.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/sitemgr-site/inc/class.bo.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** class.bo.inc.php 29 Aug 2002 06:15:00 -0000 1.2
--- class.bo.inc.php 30 Aug 2002 08:44:42 -0000 1.3
***************
*** 179,189 ****
{
$page=$this->pages_bo->getPage($page_id);
! $pglinks[$page_id] = array(
! 'name'=>$page->name,
! 'link'=>'<a
href="'.sitemgr_link2('/index.php','page_name='.
!
$page->name).'">'.$page->title.'</a>',
! 'title'=>$page->title,
! 'subtitle'=>$page->subtitle
! );
}
return $pglinks;
--- 179,201 ----
{
$page=$this->pages_bo->getPage($page_id);
! if (strtolower($page->subtitle) == 'link')
! {
! $pglinks[$page_id] = array(
! 'name'=>$page->name,
! 'link'=>'<a
href="'.$page->content.'">'.$page->title.'</a>',
! 'title'=>$page->title,
! 'subtitle'=>''
! );
! }
! else
! {
! $pglinks[$page_id] = array(
! 'name'=>$page->name,
! 'link'=>'<a
href="'.sitemgr_link2('/index.php','page_name='.
!
$page->name).'">'.$page->title.'</a>',
! 'title'=>$page->title,
! 'subtitle'=>$page->subtitle
! );
! }
}
return $pglinks;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/inc class.bo.inc.php,1.2,1.3,
Patrick Walsh <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware/style style.css,1.2,1.3
- Next by Date:
[Phpgroupware-cvs] CVS: sitemgr/setup setup.inc.php,1.2,1.3 tables_current.inc.php,1.1.1.1,1.2 tables_update.inc.php,1.1.1.1,1.2
- Previous by thread:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware/style style.css,1.2,1.3
- Next by thread:
[Phpgroupware-cvs] CVS: sitemgr/setup setup.inc.php,1.2,1.3 tables_current.inc.php,1.1.1.1,1.2 tables_update.inc.php,1.1.1.1,1.2
- Index(es):