2002-02-06 10:03:11 +01:00
|
|
|
<?php
|
|
|
|
/**************************************************************************\
|
|
|
|
* phpGroupWare - EditableTemplates *
|
|
|
|
* http://www.phpgroupware.org *
|
|
|
|
* Written by Ralf Becker <RalfBecker@outdoor-training.de> *
|
|
|
|
* -------------------------------------------- *
|
|
|
|
* 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$ */
|
|
|
|
|
2002-10-18 01:34:28 +02:00
|
|
|
if (!function_exists('get_var'))
|
|
|
|
{
|
|
|
|
include_once('get_var.php');
|
|
|
|
}
|
2002-02-20 02:26:03 +01:00
|
|
|
$ui = ''; // html UI, which UI to use, should come from api and be in $GLOBALS['phpgw']???
|
2002-09-24 03:29:14 +02:00
|
|
|
if ($_ENV['DISPLAY'] && isset($_SERVER['_']))
|
2002-02-20 02:26:03 +01:00
|
|
|
{
|
|
|
|
$ui = '_gtk';
|
|
|
|
}
|
2002-09-29 10:50:18 +02:00
|
|
|
include_once(PHPGW_INCLUDE_ROOT . "/etemplate/inc/class.uietemplate$ui.inc.php");
|