2000-08-18 05:24:22 +02:00
|
|
|
<?php
|
2001-03-08 10:56:18 +01:00
|
|
|
/**************************************************************************\
|
|
|
|
* phpGroupWare - preferences *
|
|
|
|
* http://www.phpgroupware.org *
|
|
|
|
* Written by Joseph Engo <jengo@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. *
|
|
|
|
\**************************************************************************/
|
2000-08-18 05:24:22 +02:00
|
|
|
|
2001-03-08 10:56:18 +01:00
|
|
|
/* $Id$ */
|
2000-08-18 05:24:22 +02:00
|
|
|
|
2001-03-08 10:56:18 +01:00
|
|
|
$phpgw_info['flags']['currentapp'] = 'preferences';
|
|
|
|
include('../header.inc.php');
|
2000-08-18 05:24:22 +02:00
|
|
|
|
2001-03-08 10:56:18 +01:00
|
|
|
// This func called by the includes to dump a row header
|
|
|
|
function section_start($name='',$icon='')
|
|
|
|
{
|
|
|
|
global $phpgw,$phpgw_info;
|
|
|
|
//echo "<TABLE WIDTH=\"75%\" BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" BGCOLOR=\"".$phpgw_info["theme"]["navbar_bg"]."\">\n";
|
|
|
|
echo '<TABLE WIDTH="75%" BORDER="0" CELLSPACING="0" CELLPADDING="0">';
|
|
|
|
//echo "<TR BGCOLOR=\"".$phpgw_info["theme"]["navbar_bg"]."\">";
|
|
|
|
echo '<TR>';
|
2000-08-18 05:24:22 +02:00
|
|
|
|
2001-03-08 10:56:18 +01:00
|
|
|
if ($icon)
|
|
|
|
{
|
|
|
|
echo '<TD WIDTH="5%"><img src="' . $icon . '" ALT="[Icon]" align="middle"></TD>';
|
|
|
|
echo '<TD><fontsize="+2">' . lang($name) . '</font></TD>';
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
echo '<TD colspan="2"><font size="+2">' . $name . '</font></TD>';
|
|
|
|
}
|
|
|
|
echo '</TR>';
|
|
|
|
echo '<TR><TD colspan="2">';
|
|
|
|
}
|
2000-09-23 03:25:17 +02:00
|
|
|
|
2001-03-08 10:56:18 +01:00
|
|
|
function section_end()
|
|
|
|
{
|
|
|
|
echo '</TD></TR></TABLE>';
|
|
|
|
echo "\n\n";
|
|
|
|
}
|
2000-12-15 22:56:09 +01:00
|
|
|
|
2001-03-08 10:56:18 +01:00
|
|
|
$phpgw->common->hook();
|
|
|
|
|
|
|
|
$phpgw->common->phpgw_footer();
|
|
|
|
?>
|