<?xml version="1.0" encoding="UTF-8"?>
<module>
	<name>Page</name>
	<description langKey="about_page_description"><![CDATA[Manage pages]]></description>
	<thumbnail></thumbnail>
	<author>Swedgi SARL</author>
	<email></email>
	<version>1.0.0</version>
	<license>free</license>
	<requires>none</requires>
	<install>
		<db adapter="mysql|pdo_mysql">
			<query><![CDATA[CREATE TABLE IF NOT EXISTS `pages` (
			  `id` int(11) NOT NULL AUTO_INCREMENT,
			  `parent_id` int(11) DEFAULT NULL,
			  `namespace` varchar(50) DEFAULT NULL,
			  `name` varchar(100) DEFAULT NULL,
			  `date_created` int(11) DEFAULT NULL,
			  PRIMARY KEY (`id`)
			) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=39 ;]]>
			</query>
			<query><![CDATA[CREATE TABLE IF NOT EXISTS `content_nodes` (
			  `id` int(11) NOT NULL AUTO_INCREMENT,
			  `page_id` int(11) DEFAULT NULL,
			  `node` varchar(50) DEFAULT NULL,
			  `content` text,
			  PRIMARY KEY (`id`)
			) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=166 ;]]>
			</query>
		</db>
	</install>
	<ressource title="page" description="page extension" user="admin" layout="backend">
		<controller title="page" description="Manage pages">
			<action title="add" description="Add New Page" />
			<action title="list" description="Current Pages" />
		</controller>
	</ressource>
</module>