<?xml version="1.0" ?>
<!--
 | 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: gallery.xml,v 1.1 2004/02/20 08:42:03 beckettmw Exp $
-->

<mosinstall type="component">
	<name>Gallery</name>
	<creationDate>February 2004</creationDate>
	<author>Beckett Madden-Woods</author>
	<copyright>This component is released under the Gallery license (GNU General Public License)</copyright>
	<authorEmail>beckett@beckettmw.com</authorEmail>
	<authorUrl>gallery.sourceforge.net</authorUrl>
	<version>1.0</version>
	<description>Gallery Component For MOS 4.5 or newer</description>
	<files>
		<filename>gallery.php</filename>
	</files>
	<install>
		<queries>
			<query>CREATE TABLE IF NOT EXISTS `mos_gallery`
			           ( `field` varchar(128) PRIMARY KEY,
				     `value` text default '')
			</query>
			<query>INSERT INTO `mos_gallery` (`field`, `value`)
			           VALUES ('path',          '')
			</query>
			<query>INSERT INTO `mos_gallery` (`field`, `value`)
			           VALUES ('minAuthType',   '20')
			</query>
			<query>INSERT INTO `mos_gallery` (`field`, `value`)
			           VALUES ('hideRightSide', '1')
			</query>
		</queries>
	</install>
	<uninstall>
		<queries>
			<query>DELETE FROM `mos_gallery`;</query>
			<query>DROP TABLE `mos_gallery`;</query>
		</queries>
	</uninstall>
	<administration>
		<menu link="option=com_gallery">Gallery</menu>
		<files>
			<filename>admin.gallery.php</filename>
			<filename>admin.gallery.html.php</filename>
			<filename>toolbar.gallery.php</filename>
		</files>
		<images>
			<filename>images/logo-228x67.png</filename>
		</images>
        </administration>
</mosinstall>

<mosinstall type="template">
	<name>gallery_popup</name>
	<creationDate>February 2004</creationDate>
	<author>Beckett Madden-Woods</author>
	<copyright>This template is released under the Gallery license (GNU General Public License)</copyright>
	<authorEmail>beckett@beckettmw.com</authorEmail>
	<authorUrl>gallery.sourceforge.net</authorUrl>
	<version>1.0</version>
	<description> Template for popup windows in Gallery Component for MOS 4.5 or newer</description>
	<files>
		<filename>gallery_popup.tpl.php</filename>
	</files>
</mosinstall>
