Drop-in Enanium as default theme upon install
authorDan
Wed, 15 Apr 2009 20:24:51 -0400
changeset 923 9ef3ccac13de
parent 922 d6f391475bb9
child 924 142a29b583f9
Drop-in Enanium as default theme upon install
install/schemas/mysql_stage2.sql
install/schemas/postgresql_stage2.sql
--- a/install/schemas/mysql_stage2.sql	Wed Apr 15 20:24:36 2009 -0400
+++ b/install/schemas/mysql_stage2.sql	Wed Apr 15 20:24:51 2009 -0400
@@ -357,6 +357,7 @@
   ('cache_thumbs', '{{ENABLE_CACHE}}'),
   ('contact_email', '{{ADMIN_EMAIL}}'),
   ('allowed_mime_types', 'cbf2:7414a6b80184038102810b810781098106830a810282018101820683018102840182038104821a850682028104810a82018116'),
+  ('theme_default', 'enanium'),
   ('enano_version', '{{VERSION}}');
 
 INSERT INTO {{TABLE_PREFIX}}page_text(page_id, namespace, page_text, char_tag) VALUES
@@ -369,12 +370,13 @@
   (NULL, 'Main Page', 'Main_Page', 'Article', 0, 1, 1, 1, 0, '');
 
 INSERT INTO {{TABLE_PREFIX}}themes(theme_id, theme_name, theme_order, default_style, enabled) VALUES
-  ('oxygen', 'Oxygen', 1, 'bleu.css', 1),
-  ('stpatty', 'St. Patty', 2, 'shamrock.css', 1);
+  ('enanium', 'Enanium', 1, 'babygrand.css', 1),
+  ('oxygen', 'Oxygen', 2, 'bleu.css', 1),
+  ('stpatty', 'St. Patty', 3, 'shamrock.css', 1);
 
 INSERT INTO {{TABLE_PREFIX}}users(user_id, username, password, password_salt, email, real_name, user_level, theme, style, signature, reg_time, account_active, user_registration_ip) VALUES
-  (1, 'Anonymous', 'invalid-pass-hash', '', 'anonspam@enanocms.org', 'None', 1, 'oxygen', 'bleu', '', 0, 0, '{{IP_ADDRESS}}'),
-  (2, '{{ADMIN_USER}}', '{{ADMIN_PASS}}', '{{ADMIN_PASS_SALT}}', '{{ADMIN_EMAIL}}', '{{REAL_NAME}}', 9, 'oxygen', 'bleu', '', UNIX_TIMESTAMP(), 1, '{{IP_ADDRESS}}');
+  (1, 'Anonymous', 'invalid-pass-hash', '', 'anonspam@enanocms.org', 'None', 1, 'enanium', 'babygrand', '', 0, 0, '{{IP_ADDRESS}}'),
+  (2, '{{ADMIN_USER}}', '{{ADMIN_PASS}}', '{{ADMIN_PASS_SALT}}', '{{ADMIN_EMAIL}}', '{{REAL_NAME}}', 9, 'enanium', 'babygrand', '', UNIX_TIMESTAMP(), 1, '{{IP_ADDRESS}}');
   
 INSERT INTO {{TABLE_PREFIX}}users_extra(user_id) VALUES
   (2);
--- a/install/schemas/postgresql_stage2.sql	Wed Apr 15 20:24:36 2009 -0400
+++ b/install/schemas/postgresql_stage2.sql	Wed Apr 15 20:24:51 2009 -0400
@@ -362,6 +362,7 @@
   ('cache_thumbs', '{{ENABLE_CACHE}}'),
   ('contact_email', '{{ADMIN_EMAIL}}'),
   ('allowed_mime_types', 'cbf2:7414a6b80184038102810b810781098106830a810282018101820683018102840182038104821a850682028104810a82018116'),
+  ('theme_default', 'enanium'),
   ('enano_version', '{{VERSION}}');
 
 INSERT INTO {{TABLE_PREFIX}}page_text(page_id, namespace, page_text, char_tag) VALUES
@@ -373,13 +374,14 @@
 INSERT INTO {{TABLE_PREFIX}}pages(page_order, name, urlname, namespace, special, visible, comments_on, protected, delvotes, delvote_ips) VALUES
   (NULL, 'Main Page', 'Main_Page', 'Article', 0, 1, 1, 1, 0, '');
 
-INSERT INTO {{TABLE_PREFIX}}themes(theme_id, theme_name, theme_order, DEFAULT_style, enabled) VALUES
-  ('oxygen', 'Oxygen', 1, 'bleu.css', 1),
-  ('stpatty', 'St. Patty', 2, 'shamrock.css', 1);
+INSERT INTO {{TABLE_PREFIX}}themes(theme_id, theme_name, theme_order, default_style, enabled) VALUES
+  ('enanium', 'Enanium', 1, 'babygrand.css', 1),
+  ('oxygen', 'Oxygen', 2, 'bleu.css', 1),
+  ('stpatty', 'St. Patty', 3, 'shamrock.css', 1);
 
 INSERT INTO {{TABLE_PREFIX}}users(user_id, username, password, password_salt, email, real_name, user_level, theme, style, signature, reg_time, account_active, user_registration_ip, user_lang, user_has_avatar, avatar_type) VALUES
-  (1, 'Anonymous', 'invalid-pass-hash', '', 'anonspam@enanocms.org', 'None', 1, 'oxygen', 'bleu', '', 0, 0, '', 0, 0, 'png'),
-  (2, '{{ADMIN_USER}}', '{{ADMIN_PASS}}', '{{ADMIN_PASS_SALT}}', '{{ADMIN_EMAIL}}', '{{REAL_NAME}}', 9, 'oxygen', 'bleu', '', {{UNIX_TIME}}, 1, '{{IP_ADDRESS}}', 0, 0, 'png');
+  (1, 'Anonymous', 'invalid-pass-hash', '', 'anonspam@enanocms.org', 'None', 1, 'enanium', 'babygrand', '', 0, 0, '', 0, 0, 'png'),
+  (2, '{{ADMIN_USER}}', '{{ADMIN_PASS}}', '{{ADMIN_PASS_SALT}}', '{{ADMIN_EMAIL}}', '{{REAL_NAME}}', 9, 'enanium', 'babygrand', '', {{UNIX_TIME}}, 1, '{{IP_ADDRESS}}', 0, 0, 'png');
   
 INSERT INTO {{TABLE_PREFIX}}users_extra(user_id) VALUES
   (2);