]> saetta.ns0.it Git - joomla/jmnogosearch/commitdiff
Added installation files.
authorAndrea Zagli <azagli@libero.it>
Sat, 12 Dec 2009 10:32:26 +0000 (11:32 +0100)
committerAndrea Zagli <azagli@libero.it>
Sat, 12 Dec 2009 10:32:26 +0000 (11:32 +0100)
com_mnogosearch/admin/sql/index.html [new file with mode: 0644]
com_mnogosearch/admin/sql/install.sql [new file with mode: 0644]
com_mnogosearch/admin/sql/uninstall.sql [new file with mode: 0644]
com_mnogosearch/mnogosearch.xml

diff --git a/com_mnogosearch/admin/sql/index.html b/com_mnogosearch/admin/sql/index.html
new file mode 100644 (file)
index 0000000..fa6d84e
--- /dev/null
@@ -0,0 +1 @@
+<html><body bgcolor="#FFFFFF"></body></html>
\ No newline at end of file
diff --git a/com_mnogosearch/admin/sql/install.sql b/com_mnogosearch/admin/sql/install.sql
new file mode 100644 (file)
index 0000000..e20d243
--- /dev/null
@@ -0,0 +1,6 @@
+DROP TABLE IF EXISTS `#__jmnogosearch_log_searches`;
+
+CREATE TABLE `#_jmnogosearch_log_searches` (
+       `search_term` varchar(128) NOT NULL default '',
+       `hits` int(11) unsigned NOT NULL default '0'
+) DEFAULT CHARSET=utf8
diff --git a/com_mnogosearch/admin/sql/uninstall.sql b/com_mnogosearch/admin/sql/uninstall.sql
new file mode 100644 (file)
index 0000000..a5b3236
--- /dev/null
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `#__jmnogosearch_log_searches`;
index 1d3a211f55557c479c4062e97303afc06890853d..54ee475a7f90f422323f9d93078283bd2762d23e 100644 (file)
@@ -1,4 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>\r
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE install SYSTEM "http://dev.joomla.org/xml/1.5/component-install.dtd">\r
 <install type="component" version="1.5.0">\r
        <name>mnoGoSearch</name>\r
        <author>Andrea Zagli</author>\r
@@ -8,5 +9,28 @@
        <authorEmail>azagli@libero.it</authorEmail>\r
        <authorUrl>http://saetta.homelinux.org/</authorUrl>\r
        <version>1.0.0</version>\r
-       <description>A component to display search results from mnoGoSearch web search engine.</description>\r
+       <description>A component to display search results from mnoGoSearch web search engine.</description>
+
+       <install>
+               <sql>
+                       <file charset="utf8" driver="mysql">sql/install.sql</file>
+               </sql>
+       </install>
+       <uninstall>
+               <sql>
+                       <file charset="utf8" driver="mysql">sql/uninstall.sql</file>
+               </sql>
+       </uninstall>
+
+       <files folder="site">
+               <filename></filename>
+       </files>
+
+       <administration>
+               <menu>jmnoGoSearch</menu>
+               <files folder="admin">
+                       <filename></filename>
+               </files>
+       </administration>
+\r
 </install>