Location: PHPKode > projects > Terra-Terra, A Virtual Operating System > terra-terra.0.0.5/workareas/Guests/TThelp.php
<?php
/****m*
 * NAME
 *  TThelp.php --- Workarea of the TT Guests application
 *
 * DESCRIPTION
 *  Display a basic help page
 *
 * AUTHOR
 *  Oscar van Eijk, Oveas Functionality Provider
 *
 * COPYRIGHT
 *  (c) 2003-2005 by Oscar van Eijk/Oveas Functionality Provider 
 ***/
/*
 * This module is part of Terra-Terra, the Virtual Operating System
 * http://terra-terra.com
 * ------------------------------------------------------------------------
 * This library is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License,
 * or any later version.
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU Lesser General Public License for more details.
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library; if not, write to the Free Software Foundation,
 * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 * ------------------------------------------------------------------------
 * $Id: TThelp.php,v 1.2 2005/07/19 18:17:39 tt_oscar Exp $ 
 */

if (!defined ('TT_MASTER_PROCESS')) {
	if (function_exists ('version_compare')) {
		$__TTroot = $_COOKIE['TTroot'];
	} else {
		$__TTroot = $HTTP_COOKIE_VARS['TTroot'];
	}
	require_once ($__TTroot . '/kernel/TTinit.pinc');
}
echo (TT_header());

$ThisArea->text_subs['MOVEICON']  = '<img src="' . TT_URL . '/themes/' . $TT_workspace->theme . '/areaborders/icons/move.png" width="13" height="13" border="0" alt="" />';
$ThisArea->text_subs['SHADEICON'] = '<img src="' . TT_URL . '/themes/' . $TT_workspace->theme . '/areaborders/icons/shade.png" width="13" height="13" border="0" alt="" />';
$ThisArea->text_subs['MAXIICON']  = '<img src="' . TT_URL . '/themes/' . $TT_workspace->theme . '/areaborders/icons/maximize.png" width="13" height="13" border="0" alt="" />';
$ThisArea->text_subs['CLOSEICON'] = '<img src="' . TT_URL . '/themes/' . $TT_workspace->theme . '/areaborders/icons/close.png" width="13" height="13" border="0" alt="" />';
$ThisArea->text_subs['RESIICON']  = '<img src="' . TT_URL . '/themes/' . $TT_workspace->theme . '/areaborders/icons/resize.png" width="10" height="10" border="0" alt="" />';

$__txt_objects =& $ThisArea->all_text_objects ('c');
$__txt_objects['ICOHLPSHADE']->subs['RESTOICON'] = '<img src="' . TT_URL . '/themes/' . $TT_workspace->theme . '/areaborders/icons/restore.png" width="13" height="13" border="0" alt="" />';


$__txt_objects['HELPOPENER']->show();
$__txt_objects['HELPOPENER']->disable();

echo ('<table width="80%" align="center">');
$ThisArea->all_text_objects ();
$__new_txt_object =& new Text ('', $ThisArea);
$__new_txt_object->show();


echo ('</table>');

echo (TT_footer());
?>
Return current item: Terra-Terra, A Virtual Operating System