[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sitemgr/sitemgr-link/inc hook_settings.inc.php, 1.2 h
From: |
skwashd |
Subject: |
[Phpgroupware-cvs] sitemgr/sitemgr-link/inc hook_settings.inc.php, 1.2 hook_preferences.inc.php, 1.2 |
Date: |
Mon, 29 Aug 2005 06:26:00 +0200 |
Update of sitemgr/sitemgr-link/inc
Added Files:
Branch: MAIN
hook_settings.inc.php lines: +26 -0
hook_preferences.inc.php lines: +25 -0
Log Message:
merging from 16
====================================================
Index: 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 - skwashd at phpgroupware.org *
* -------------------------------------------- *
* 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.2 2005/08/29 04:26:02 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.');
====================================================
Index: 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 - skwashd at phpgroupware.org *
* -------------------------------------------- *
* 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.2 2005/08/29 04:26:02 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_settings.inc.php, 1.2 hook_preferences.inc.php, 1.2,
skwashd <=