<?php
/*
 * Gallery - a web based photo album viewer and editor
 * Copyright (C) 2000-2004 Bharat Mediratta
 *
 * 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.
 *
 * This program 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
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 * Gallery Component for Mambo Open Source CMS v4.5 or newer
 * Original author: Beckett Madden-Woods <beckett@beckettmw.com>
 *
 * $Id: admin.gallery.html.php,v 1.1 2004/02/20 08:42:03 beckettmw Exp $
 */

class HTML_content {

	function showSettings($option, $params, $act) {
?>
<table cellpadding="4" cellspacing="0" border="0" width="100%">
		<tr>
			<td width="228"><a target="_blank" href="http://gallery.sourceforge.net/"><img src="components/com_gallery/images/logo-228x67.png" border="0" width="228" height="67" align="middle" /></a></td><td align="left" class="sectionname" style="margin-left: 10px;">Gallery Component Settings</td>
		</tr>
		</table>
<script language="javascript" src="js/dhtml.js"></script>
<script language="javascript" type="text/javascript">
		function submitbutton(pressbutton) {
			var form = document.adminForm;
			submitform(pressbutton);
		}
</script>
<form action="index2.php" method="post" name="adminForm">
    <table cellpadding="2" cellspacing="4" border="0" width="100%" class="adminform">
      <tr>
        <td width="80" valign="top">Path to Gallery:</td>
        <td valign="top"><input class="inputbox" type="text" name="path" size="50" value="<?php echo $params['path']; ?>"></td>
      	<td class="error" valign="top">Full server path to your Gallery</td>
      </tr>
      <tr>
        <td width="80" valign="top">Admin Level:</td>
        <td valign="top"><?php echo $params['minAuthType']; ?></td>
      	<td class="error" valign="top">Minimum authority level needed for <i>admin</i> privileges in Gallery</td>
      </tr>	  
      <tr>
        <td width="80" valign="top">Hide Right-hand modules:</td>
        <td valign="top"><?php echo $params['hideRightSide']; ?></td>
      	<td class="error" valign="top">Hiding right-hand modules gives Gallery more room</td>
      </tr>
    </table>
  <input type="hidden" name="option" value="<?php echo $option; ?>">
  <input type="hidden" name="act" value="<?php echo $act; ?>">
  <input type="hidden" name="task" value="">
</form>
<?php
	}
}
?>
