aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/AMenuManager/amm_install.class.inc.php
diff options
context:
space:
mode:
authorgrum <grum@piwigo.org>2008-08-07 21:52:45 +0000
committergrum <grum@piwigo.org>2008-08-07 21:52:45 +0000
commit526d8006a16bd8b666d94aaf152346537045a0a5 (patch)
treebe1a62befe2bdbe3d0d03a8155aa1d1b228093e5 /plugins/AMenuManager/amm_install.class.inc.php
parent5e3d71c9cab75c7796c566823df96765522c8965 (diff)
updating files for the Menu class (test_menu)
+ add functionnalities updating files for the AMenuManager plugin + fixes some bugs + add functionnalities updating common classes grum_plugins_classes-2 (needed for the AMenuManager plugin) + add functionalities for google_translator use git-svn-id: http://piwigo.org/svn/trunk@2468 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/AMenuManager/amm_install.class.inc.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/plugins/AMenuManager/amm_install.class.inc.php b/plugins/AMenuManager/amm_install.class.inc.php
index 4a71d1b14..2f2bb9e47 100644
--- a/plugins/AMenuManager/amm_install.class.inc.php
+++ b/plugins/AMenuManager/amm_install.class.inc.php
@@ -47,8 +47,18 @@
`visible` char(1) NOT NULL default 'y',
PRIMARY KEY (`id`),
KEY `order_key` (`position`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1",
+
+"CREATE TABLE `".$this->tables['personalised']."` (
+ `id` int(11) NOT NULL default '0',
+ `lang` varchar(5) NOT NULL default '',
+ `title` varchar(50) NOT NULL default '',
+ `content` text NOT NULL,
+ `visible` char(1) NOT NULL default 'y',
+ `nfo` varchar(25) NOT NULL default '',
+ PRIMARY KEY (`id`,`lang`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1"
- );
+);
//$table_def array
$result=$this->tablef->create_tables($tables_def);