[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] old/wcm/class.base.php, 1.1
From: |
nomail |
Subject: |
[Phpgroupware-cvs] old/wcm/class.base.php, 1.1 |
Date: |
Thu, 30 Dec 2004 09:06:32 +0100 |
Update of /old/wcm
Added Files:
Branch:
class.base.php
date: 2004/12/30 08:06:32; author: skwashd; state: Exp;
Log Message:
keep historic record for wcm
=====================================================================
<?php
/**************************************************************************\
* phpGroupWare
*
* http://www.phpgroupware.org
*
* This file written by Dan Kuykendall <address@hidden> *
* Copyright (C) 2003 Dan Kuykendall
*
*
-------------------------------------------------------------------------*
* 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: class.base.php,v 1.1 2004/12/30 08:06:32 skwashd Exp $ */
class wcm_base
{
function start()
{
if($GLOBALS['phpgw']->session->is_anon())
{
$app_data['top_text'] = 'Welcome to my website';
}
else
{
$app_data['top_text'] = 'Welcome back to my
website '.$GLOBALS['phpgw_session']['session_lid'];
}
/* this stuff now done by this apps starter inc */
/*
$user =
array('username'=>$GLOBALS['phpgw_session']['session_lid']);
$GLOBALS['phpgw_xml_apinode']->add_node($user,'user');
$GLOBALS['phpgw']->add_xsl('wcm.base');
*/
$GLOBALS['phpgw_xmldoc']->add_node($app_data, 'APP');
$GLOBALS['phpgw']->phpgw_out(False);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] old/wcm/class.base.php, 1.1,
nomail <=