[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sitemgr/sitemgr-link/inc hook_preferences.inc.php, NO
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] sitemgr/sitemgr-link/inc hook_preferences.inc.php, NONE, 1.1.2.1 hook_settings.inc.php, NONE, 1.1.2.1 |
Date: |
Mon, 01 Dec 2003 00:04:06 +0000 |
Update of /cvsroot/phpgroupware/sitemgr/sitemgr-link/inc
In directory subversions:/tmp/cvs-serv4853/inc
Added Files:
Tag: Version-0_9_16-branch
hook_preferences.inc.php hook_settings.inc.php
Log Message:
fix for linking to multiple sites - bit of a hack - but it works & fixes
problems
--- NEW FILE: hook_settings.inc.php ---
<?php
/**********************************************************************\
* phpGroupWare - SiteMgr *
* http://www.phpgroupware.org *
* This program is part of the GNU project, see http://www.gnu.org/ *
* *
* Copyright 2002, 2003 Free Software Foundation, Inc. *
* *
* Written by Dave Hall - dave.hall at mbox.com.au *
* -------------------------------------------- *
* This program is Free Software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* at your option) any later version. *
\**********************************************************************/
/* $Id: hook_settings.inc.php,v 1.1.2.1 2003/12/01 00:04:03 skwashd Exp $ */
$bo = createObject('sitemgr.Sites_BO');
$sites = array(0 => lang('display list'));
foreach($bo->list_sites(False) as $key => $data)
{
$sites[$key] = $data['site_name'];
}
create_select_box('Default Website','default_site',$sites,
'This is the website that sitemgr-link will load when you click
the application icon.');
--- NEW FILE: hook_preferences.inc.php ---
<?php
/**********************************************************************\
* phpGroupWare - SiteMgr *
* http://www.phpgroupware.org *
* This program is part of the GNU project, see http://www.gnu.org/ *
* *
* Copyright 2002, 2003 Free Software Foundation, Inc. *
* *
* Written by Dave Hall - dave.hall at mbox.com.au *
* -------------------------------------------- *
* This program is Free Software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* at your option) any later version. *
\**********************************************************************/
/* $Id: hook_preferences.inc.php,v 1.1.2.1 2003/12/01 00:04:03 skwashd Exp $ */
{
$file = array(
'Preferences' =>
$GLOBALS['phpgw']->link('/preferences/preferences.php','appname='.$appname),
);
display_section($appname,lang($appname),$file);
}
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] sitemgr/sitemgr-link/inc hook_preferences.inc.php, NONE, 1.1.2.1 hook_settings.inc.php, NONE, 1.1.2.1,
Dave Hall <address@hidden> <=