Changeset 1502 in ExiteCMS
- Timestamp:
- 07/02/08 08:50:05 (4 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
administration/tools/language_pack_English.php (modified) (2 diffs)
-
administration/tools/language_pack_Nederlands.php (modified) (2 diffs)
-
files/locales/en.main.setup.php (modified) (1 diff)
-
includes/dbsetup_include.php (modified) (6 diffs)
-
setup.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/administration/tools/language_pack_English.php
r1498 r1502 3127 3127 $localestrings['475'] = "News"; 3128 3128 $localestrings['476'] = "Panels"; 3129 $localestrings['477'] = " x";3129 $localestrings['477'] = "Reports"; 3130 3130 $localestrings['478'] = "PHP Info"; 3131 3131 $localestrings['479'] = "Polls"; 3132 $localestrings['480'] = " x";3132 $localestrings['480'] = "Searches"; 3133 3133 $localestrings['481'] = "Menu System"; 3134 3134 $localestrings['482'] = "x"; … … 3156 3156 $localestrings['507'] = "Search"; 3157 3157 $localestrings['508'] = "Register"; 3158 $localestrings['509'] = "Reports"; 3158 3159 $localestrings['520'] = "Main Menu"; 3159 3160 $localestrings['521'] = "Online Users"; -
trunk/administration/tools/language_pack_Nederlands.php
r1498 r1502 3127 3127 $localestrings['475'] = "Nieuws"; 3128 3128 $localestrings['476'] = "Panelen"; 3129 $localestrings['477'] = " x";3129 $localestrings['477'] = "Rapporten"; 3130 3130 $localestrings['478'] = "PHP informatie"; 3131 3131 $localestrings['479'] = "Polls"; 3132 $localestrings['480'] = " x";3132 $localestrings['480'] = "Zoekacties"; 3133 3133 $localestrings['481'] = "Menu systeem"; 3134 3134 $localestrings['482'] = "x"; … … 3156 3156 $localestrings['507'] = "Zoeken"; 3157 3157 $localestrings['508'] = "Registreren"; 3158 $localestrings['509'] = "Rapportages"; 3158 3159 $localestrings['520'] = "Hoofdmenu"; 3159 3160 $localestrings['521'] = "Online gebruikers"; -
trunk/files/locales/en.main.setup.php
r1478 r1502 3 3 // locale : English 4 4 // locale name : main.setup 5 // generated on : Wed Jun 18 2008, 12:56:20CEST5 // generated on : Tue Jul 1 2008, 19:42:17 CEST 6 6 // translators : ExiteCMS team,WanWizard 7 7 // ---------------------------------------------------------- -
trunk/includes/dbsetup_include.php
r1496 r1502 2 2 //---------------------------------------------------------- 3 3 // ExiteCMS file : dbsetup_include.php 4 // Date generated : `01/07/2008 22:00` 5 // Generated by : `WanWizard` 4 // Date generated : `02/07/2008 08:40` 6 5 //---------------------------------------------------------- 7 6 8 define('CMS_VERSION', '7. 20');7 define('CMS_VERSION', '7.10'); 9 8 define('CMS_REVISION', '1500'); 10 9 … … 228 227 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('locale', 'English')"); 229 228 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('login_expire', '7200')"); 230 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('login_extended_expire', ' 604800')");229 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('login_extended_expire', '84600')"); 231 230 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('longdate', '%m/%d/%Y %H:%M:%S')"); 232 231 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('maintenance', '0')"); … … 234 233 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('maintenance_message', '')"); 235 234 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('max_users', '0')"); 236 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('max_users_datestamp', ' 1193029685')");235 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('max_users_datestamp', '0')"); 237 236 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('navbar_range', '5')"); 238 237 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('newsletter_email', 'noreply@example.com')"); … … 265 264 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('session_name', 'ExiteCMSid')"); 266 265 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('shortdate', '%m/%d/%Y')"); 267 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('siteemail', 'web master@example.com')");266 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('siteemail', 'website@example.com')"); 268 267 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('siteintro', '<center>\r\n<b>This website is under construction at the moment!</b><br /><br />\r\nExiteCMS v7.2 ©2008 Exite BV.</center>')"); 269 268 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('sitelinks_localisation', 'none')"); … … 286 285 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('unread_threshold', '90')"); 287 286 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('validation_method', 'image')"); 288 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('version', '7. 20')");287 $result = dbquery("INSERT INTO ".$db_prefix."configuration (cfg_name, cfg_value) VALUES('version', '7.10')"); 289 288 } 290 289 … … 850 849 851 850 // 852 // Code to create table `report ing`853 // 854 $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."report ing");855 $result = dbquery("CREATE TABLE IF NOT EXISTS ".$db_prefix."report ing(851 // Code to create table `reports` 852 // 853 $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."reports"); 854 $result = dbquery("CREATE TABLE IF NOT EXISTS ".$db_prefix."reports ( 856 855 `report_id` smallint(5) unsigned NOT NULL auto_increment, 857 `report_ident` varchar(4) NOT NULL default '', 858 `report_title` varchar(50) NOT NULL default '', 859 `report_active` tinyint(1) NOT NULL default 0, 860 `report_groups` text NOT NULL, 861 `report_code` text NOT NULL, 856 `report_mod_id` smallint(5) unsigned NOT NULL default 0, 857 `report_name` varchar(100) NOT NULL default '', 858 `report_title` varchar(100) NOT NULL default '', 859 `report_version` varchar(10) NOT NULL default '0', 860 `report_active` tinyint(1) unsigned NOT NULL default 0, 861 `report_visibility` tinyint(3) NOT NULL default 0, 862 862 PRIMARY KEY (`report_id`) 863 863 ) ENGINE=MyISAM;"); 864 864 if (!$result) { 865 865 $fail = "1"; 866 $failed[] = "reporting : ".mysql_error(); 866 $failed[] = "reports : ".mysql_error(); 867 } 868 869 // 870 // Code to create table `searches` 871 // 872 $result = dbquery("DROP TABLE IF EXISTS ".$db_prefix."searches"); 873 $result = dbquery("CREATE TABLE IF NOT EXISTS ".$db_prefix."searches ( 874 `search_id` smallint(5) unsigned NOT NULL auto_increment, 875 `search_mod_id` smallint(5) unsigned NOT NULL default 0, 876 `search_name` varchar(100) NOT NULL default '', 877 `search_title` varchar(100) NOT NULL default '', 878 `search_version` varchar(10) NOT NULL default '0', 879 `search_visibility` tinyint(3) NOT NULL default 0, 880 PRIMARY KEY (`search_id`) 881 ) ENGINE=MyISAM;"); 882 if (!$result) { 883 $fail = "1"; 884 $failed[] = "searches : ".mysql_error(); 867 885 } 868 886 -
trunk/setup.php
r1480 r1502 329 329 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##admin (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('UG', 'user_groups.gif', '".addslashes($locale['484'])."', 'user_groups.php', 2)"); 330 330 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##admin (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('UR', 'submissions.gif', '".addslashes($locale['496'])."', 'redirects.php', 1)"); 331 $result = dbcommands($commands, $db_prefix); 332 333 // add the default 404 page to the custom pages table 334 $commands = array(); 335 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##custom_pages (page_title, page_access, page_content, page_allow_comments, page_allow_ratings) VALUES ('404 Error Page', 0, '".mysql_escape_string("<table border=\"0\" cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" align=\"center\"> <tbody><tr><td width=\"10\"> </td><td><div align=\"center\"><font size=\"6\"><span class=\"shoutboxname\"><br />404 - Page Not Found</span><br /></font></div><br /><br /><hr width=\"90%\" size=\"2\" /><br /><br /><div align=\"center\">".addslashes($locale['560'])."<br /></div><br /><div align=\"center\">".addslashes($locale['561'])."<br /></div><br /><div align=\"center\">".addslashes($locale['562'])."<br /></div><br /><br /><hr width=\"90%\" size=\"2\" /><br /><br /><div align=\"center\">".addslashes($locale['563'])."<br /></div><br /><div align=\"center\">".addslashes($locale['564'])."</div></td><td width=\"10\"> </td></tr></tbody></table><br />")."', 0, 0)"); 336 $commands[] = array('type' => 'db', 'value' => "UPDATE ##PREFIX##custom_pages SET page_id = 0"); 331 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##admin (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('R', 'reports.gif', '".addslashes($locale['477'])."', 'reports.php', 3)"); 332 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##admin (admin_rights, admin_image, admin_title, admin_link, admin_page) VALUES ('S', 'searches.gif', '".addslashes($locale['480'])."', 'searches.php', 3)"); 337 333 $result = dbcommands($commands, $db_prefix); 338 334 … … 398 394 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##site_links (link_name, link_url, link_visibility, link_position, link_window, link_order, panel_name) VALUES ('".addslashes($locale['506'])."', 'contact.php', '0', '1', '0', '8', 'main_menu_panel')"); 399 395 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##site_links (link_name, link_url, link_visibility, link_position, link_window, link_order, panel_name) VALUES ('".addslashes($locale['507'])."', 'search.php', '0', '1', '0', '9', 'main_menu_panel')"); 400 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##site_links (link_name, link_url, link_visibility, link_position, link_window, link_order, panel_name) VALUES ('".addslashes($locale['508'])."', 'register.php', '100', '2', '0', '10', 'main_menu_panel')"); 396 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##site_links (link_name, link_url, link_visibility, link_position, link_window, link_order, panel_name) VALUES ('".addslashes($locale['509'])."', 'reports.php', '0', '1', '0', '10', 'main_menu_panel')"); 397 $commands[] = array('type' => 'db', 'value' => "INSERT INTO ##PREFIX##site_links (link_name, link_url, link_visibility, link_position, link_window, link_order, panel_name) VALUES ('".addslashes($locale['508'])."', 'register.php', '100', '2', '0', '11', 'main_menu_panel')"); 401 398 $result = dbcommands($commands, $db_prefix); 402 399
Note: See TracChangeset
for help on using the changeset viewer.
