Index: branches/version-2/html/install/sql/insert_data.sql
===================================================================
--- branches/version-2/html/install/sql/insert_data.sql	(revision 17528)
+++ branches/version-2/html/install/sql/insert_data.sql	(revision 17646)
@@ -1044,24 +1044,24 @@
 INSERT INTO mtb_constants VALUES ('SMTP_PORT','"25"',288,'SMTPポート');
 INSERT INTO mtb_constants VALUES ('DEFAULT_TEMPLATE_NAME', '"default"', 300,'デフォルトテンプレート名');
-INSERT INTO mtb_constants VALUES ('TEMPLATE_NAME', 'DEFAULT_TEMPLATE_NAME', 301,'テンプレート名');
+INSERT INTO mtb_constants VALUES ('TEMPLATE_NAME', '"default"', 301,'テンプレート名');
 INSERT INTO mtb_constants VALUES ('SMARTY_TEMPLATES_DIR',' DATA_PATH . "Smarty/templates/"', 301,'SMARTYテンプレート');
 INSERT INTO mtb_constants VALUES ('TPL_DIR','URL_DIR . USER_DIR . USER_PACKAGE_DIR . TEMPLATE_NAME . "/"', 302,'SMARTYテンプレート');
-INSERT INTO mtb_constants VALUES ('TEMPLATE_DIR','SMARTY_TEMPLATES_DIR . TEMPLATE_NAME . "/"', 302,'SMARTYテンプレート');
-INSERT INTO mtb_constants VALUES ('TEMPLATE_ADMIN_DIR','TEMPLATE_DIR . "admin/"', 303,'SMARTYテンプレート(管理ページ)');
-INSERT INTO mtb_constants VALUES ('COMPILE_DIR','DATA_PATH . "Smarty/templates_c/" . TEMPLATE_NAME . "/"',304,'SMARTYコンパイル');
-INSERT INTO mtb_constants VALUES ('COMPILE_ADMIN_DIR','COMPILE_DIR . "admin/"',305,'SMARTYコンパイル(管理ページ)');
-INSERT INTO mtb_constants VALUES ('TEMPLATE_FTP_DIR','USER_PATH . USER_PACKAGE_DIR . TEMPLATE_NAME . "/"', 306,'SMARTYテンプレート(FTP許可)');
-INSERT INTO mtb_constants VALUES ('COMPILE_FTP_DIR','COMPILE_DIR . USER_DIR', 307,'SMARTYコンパイル(FTP許可)');
-INSERT INTO mtb_constants VALUES ('BLOC_DIR','"bloc/"', 308,'ブロックファイル保存先');
-INSERT INTO mtb_constants VALUES ('BLOC_PATH','TEMPLATE_DIR . BLOC_DIR', 309,'ブロックファイル保存先');
-INSERT INTO mtb_constants VALUES ('CAMPAIGN_DIR','"cp/"',310,'キャンペーンファイル保存先');
-INSERT INTO mtb_constants VALUES ('CAMPAIGN_URL','URL_DIR . CAMPAIGN_DIR',311,'キャンペーン関連');
-INSERT INTO mtb_constants VALUES ('CAMPAIGN_PATH','HTML_PATH . CAMPAIGN_DIR',312,'キャンペーン関連');
-INSERT INTO mtb_constants VALUES ('CAMPAIGN_TEMPLATE_DIR','"campaign/"',313,'キャンペーン関連');
-INSERT INTO mtb_constants VALUES ('CAMPAIGN_TEMPLATE_PATH','TEMPLATE_DIR . CAMPAIGN_TEMPLATE_DIR',314,'キャンペーン関連');
-INSERT INTO mtb_constants VALUES ('CAMPAIGN_BLOC_DIR','"bloc/"',315,'キャンペーン関連');
-INSERT INTO mtb_constants VALUES ('CAMPAIGN_BLOC_PATH','CAMPAIGN_TEMPLATE_PATH . CAMPAIGN_BLOC_DIR',316,'キャンペーン関連');
-INSERT INTO mtb_constants VALUES ('CAMPAIGN_TEMPLATE_ACTIVE','"active/"',317,'キャンペーン関連');
-INSERT INTO mtb_constants VALUES ('CAMPAIGN_TEMPLATE_END','"end/"',318,'キャンペーン関連');
+INSERT INTO mtb_constants VALUES ('TEMPLATE_DIR','SMARTY_TEMPLATES_DIR . TEMPLATE_NAME . "/"', 303,'SMARTYテンプレート');
+INSERT INTO mtb_constants VALUES ('TEMPLATE_ADMIN_DIR','SMARTY_TEMPLATES_DIR . DEFAULT_TEMPLATE_NAME . "/admin/"', 304,'SMARTYテンプレート(管理ページ)');
+INSERT INTO mtb_constants VALUES ('COMPILE_DIR','DATA_PATH . "Smarty/templates_c/" . TEMPLATE_NAME . "/"',305,'SMARTYコンパイル');
+INSERT INTO mtb_constants VALUES ('COMPILE_ADMIN_DIR','COMPILE_DIR . "admin/"',306,'SMARTYコンパイル(管理ページ)');
+INSERT INTO mtb_constants VALUES ('TEMPLATE_FTP_DIR','USER_PATH . USER_PACKAGE_DIR . TEMPLATE_NAME . "/"', 307,'SMARTYテンプレート(FTP許可)');
+INSERT INTO mtb_constants VALUES ('COMPILE_FTP_DIR','COMPILE_DIR . USER_DIR', 308,'SMARTYコンパイル(FTP許可)');
+INSERT INTO mtb_constants VALUES ('BLOC_DIR','"bloc/"', 309,'ブロックファイル保存先');
+INSERT INTO mtb_constants VALUES ('BLOC_PATH','TEMPLATE_DIR . BLOC_DIR', 310,'ブロックファイル保存先');
+INSERT INTO mtb_constants VALUES ('CAMPAIGN_DIR','"cp/"',311,'キャンペーンファイル保存先');
+INSERT INTO mtb_constants VALUES ('CAMPAIGN_URL','URL_DIR . CAMPAIGN_DIR',312,'キャンペーン関連');
+INSERT INTO mtb_constants VALUES ('CAMPAIGN_PATH','HTML_PATH . CAMPAIGN_DIR',313,'キャンペーン関連');
+INSERT INTO mtb_constants VALUES ('CAMPAIGN_TEMPLATE_DIR','"campaign/"',314,'キャンペーン関連');
+INSERT INTO mtb_constants VALUES ('CAMPAIGN_TEMPLATE_PATH','TEMPLATE_DIR . CAMPAIGN_TEMPLATE_DIR',315,'キャンペーン関連');
+INSERT INTO mtb_constants VALUES ('CAMPAIGN_BLOC_DIR','"bloc/"',316,'キャンペーン関連');
+INSERT INTO mtb_constants VALUES ('CAMPAIGN_BLOC_PATH','CAMPAIGN_TEMPLATE_PATH . CAMPAIGN_BLOC_DIR',317,'キャンペーン関連');
+INSERT INTO mtb_constants VALUES ('CAMPAIGN_TEMPLATE_ACTIVE','"active/"',318,'キャンペーン関連');
+INSERT INTO mtb_constants VALUES ('CAMPAIGN_TEMPLATE_END','"end/"',319,'キャンペーン関連');
 INSERT INTO mtb_constants VALUES ('MOBILE_TEMPLATE_DIR', 'TEMPLATE_DIR . "mobile/"', 400,'SMARTYテンプレート(mobile)');
 INSERT INTO mtb_constants VALUES ('MOBILE_COMPILE_DIR', 'COMPILE_DIR . "mobile/"', 401,'SMARTYコンパイル(mobile)');
