egroupware_official/etemplate/inc/class.etemplate.inc.php
Ralf Becker 7a4a18ec0a phpgw --> egw
from this revision eTemplate requires a 1.0.1/1.2 API, the last working version for 1.0.0 has been taged "last_working_1_0_0"
2005-11-09 20:50:45 +00:00

21 lines
1.0 KiB
PHP

<?php
/**************************************************************************\
* eGroupWare - EditableTemplates *
* http://www.egroupware.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$ */
$ui = ''; // html UI, which UI to use, should come from api and be in $GLOBALS['egw']???
if ($_ENV['DISPLAY'] && isset($_SERVER['_']))
{
$ui = '_gtk';
}
include_once(EGW_INCLUDE_ROOT . "/etemplate/inc/class.uietemplate$ui.inc.php");