[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgroupware about.php,1.14,1.14.2.1
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgroupware about.php,1.14,1.14.2.1 |
Date: |
Sun, 16 Mar 2003 06:56:16 -0500 |
Update of /cvsroot/phpgroupware/phpgroupware
In directory subversions:/tmp/cvs-serv31485
Modified Files:
Tag: Version-0_9_14-branch
about.php
Log Message:
hook_about not longer needed, infos now in setup.inc.php
Index: about.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgroupware/about.php,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -C2 -r1.14 -r1.14.2.1
*** about.php 2 Jan 2002 14:33:01 -0000 1.14
--- about.php 16 Mar 2003 11:56:08 -0000 1.14.2.1
***************
*** 20,24 ****
if ($app)
{
! $included = $GLOBALS['phpgw']->hooks->single('about',$app);
}
else
--- 20,70 ----
if ($app)
{
! if (!($included =
$GLOBALS['phpgw']->hooks->single('about',$app)))
! {
! function about_app()
! {
! global $app;
! $icon = $GLOBALS['phpgw']->common->image($app,'navbar.gif');
! include (PHPGW_INCLUDE_ROOT . "/$app/setup/setup.inc.php");
! $info = $setup_info[$app];
! if (!isset($info['title'])) $info['title'] = lang($info['name']);
! $other_infos = array(
! 'author' => lang('Author'),
! 'maintainer' => lang('Maintainer'),
! 'version' => lang('Version'),
! 'license' => lang('License')
! );
!
! $s = "<table width='70%' cellpadding='4'>\n<tr><td colspan='2'
align='center'><img src='$icon'> <b>$info[title]</b></td></tr>";
!
! if ($info['description'])
! {
! $info['description'] = lang($info['description']);
! $s .= "<tr><td colspan='2'
align='center'>$info[description]</td></tr>\n";
! if ($info['note'])
! {
! $info['note'] = lang($info['note']);
! $s .= "<tr><td colspan='2'
align='center'><i>$info[note]</i></td></tr>\n";
! }
! }
! foreach ($other_infos as $key => $val)
! {
! if (isset($info[$key]))
! {
! $infos = $info[$key];
! if (is_array($infos))
! {
! list($user,$domain) =
explode('@',$infos['email']);
! $infos = "<a href='mailto:$user -AT- $domain'
onClick=\"document.location='mailto:$user'+'@'+'$domain'; return
false;\">$infos[name]</a>";
! }
! $s .= "<tr><td width='50%'
align='right'>$val</td><td>$infos</td></tr>\n";
! }
! }
! $s .= "</table>\n";
!
! return $s;
! }
! $included = True;
! }
}
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgroupware about.php,1.14,1.14.2.1,
Ralf Becker <address@hidden> <=