|
From: Jon O. <jon...@us...> - 2008-06-23 20:05:48
|
Update of /cvsroot/mxbb/mx_ggsitemaps In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27923 Modified Files: db_install.php db_uninstall.php Log Message: Updated Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_ggsitemaps/db_install.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** db_install.php 22 Jun 2008 20:56:21 -0000 1.5 --- db_install.php 23 Jun 2008 20:05:08 -0000 1.6 *************** *** 31,38 **** $mx_module_version = '2.0.2'; ! $mx_module_copy = 'Original phpBB <i>Google Sitemaps</i> MOD by dcz :: Adapted for MX-Publisher by dcz & <a href="http://www.mx-publisher.com">Jon Ohlsson</a>'; // If fresh install ! if ( !$result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "ggsitemap_config" ) ) { // --- 31,38 ---- $mx_module_version = '2.0.2'; ! $mx_module_copy = 'Original phpBB <i>Google Sitemaps</i> MOD by [dcz] <a href="http://www.phpbb-seo.com/" target="_phpbbseo" title="Search Engine optimisation">phpBB SEO</a> :: Adapted for MX-Publisher by dcz & <a href="http://www.mx-publisher.com">Jon Ohlsson</a>'; // If fresh install ! if ( !$result = $db->sql_query( "SELECT config_name from " . $mx_table_prefix . "ggsitemap_config_simple" ) ) { // *************** *** 42,48 **** $sql = array( ! "DROP TABLE IF EXISTS ".$mx_table_prefix."ggsitemap_config", ! "CREATE TABLE ".$mx_table_prefix."ggsitemap_config( config_name varchar(255) NOT NULL, config_value varchar(255) NOT NULL, --- 42,48 ---- $sql = array( ! "DROP TABLE IF EXISTS ".$mx_table_prefix."ggsitemap_config_simple", ! "CREATE TABLE ".$mx_table_prefix."ggsitemap_config_simple( config_name varchar(255) NOT NULL, config_value varchar(255) NOT NULL, *************** *** 50,67 **** )", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config VALUES ('sitemap_sql_limit', '200')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config VALUES ('sitemap_url_limit', '2500')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config VALUES ('sitemap_sort', 'DESC')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config VALUES ('sitemap_rewrited', 'FALSE')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config VALUES ('sitemap_announce_priority', '0.5')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config VALUES ('sitemap_default_priority', '1.0')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config VALUES ('sitemap_sticky_priority', '0.75')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config VALUES ('sitemap_limitdown', '5')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config VALUES ('sitemap_limitup', '5')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config VALUES ('sitemap_kb_mx_page', 'FALSE')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config VALUES ('sitemap_c_info', '(C) 2006 dcz - http://www.phpbb-seo.com/')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config VALUES ('sitemap_ver', 'v1.0.0RC2')", ); --- 50,67 ---- )", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config_simple VALUES ('sitemap_sql_limit', '200')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config_simple VALUES ('sitemap_url_limit', '2500')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config_simple VALUES ('sitemap_sort', 'DESC')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config_simple VALUES ('sitemap_rewrited', 'FALSE')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config_simple VALUES ('sitemap_announce_priority', '0.5')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config_simple VALUES ('sitemap_default_priority', '1.0')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config_simple VALUES ('sitemap_sticky_priority', '0.75')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config_simple VALUES ('sitemap_limitdown', '5')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config_simple VALUES ('sitemap_limitup', '5')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config_simple VALUES ('sitemap_kb_mx_page', 'FALSE')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config_simple VALUES ('sitemap_c_info', '(C) 2006 dcz - http://www.phpbb-seo.com/')", ! "INSERT INTO ".$mx_table_prefix."ggsitemap_config_simple VALUES ('sitemap_ver', 'v1.0.0RC2')", ); Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_ggsitemaps/db_uninstall.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db_uninstall.php 3 Jun 2008 20:08:06 -0000 1.3 --- db_uninstall.php 23 Jun 2008 20:05:10 -0000 1.4 *************** *** 33,37 **** $sql = array( ! "DROP TABLE ".$mx_table_prefix."ggsitemap_config", ); --- 33,37 ---- $sql = array( ! "DROP TABLE ".$mx_table_prefix."ggsitemap_config_simple", ); |