Index: branches/feature-module-update/data/class/pages/admin/design/LC_Page_Admin_Design.php
===================================================================
--- branches/feature-module-update/data/class/pages/admin/design/LC_Page_Admin_Design.php	(revision 15829)
+++ branches/feature-module-update/data/class/pages/admin/design/LC_Page_Admin_Design.php	(revision 16396)
@@ -182,5 +182,6 @@
 
                 $_SESSION['preview'] = "ON";
-                $this->sendRedirect($this->getLocation(URL_DIR . "preview/index.php"));
+
+                $this->sendRedirect($this->getLocation(URL_DIR . "preview/index.php", array("filename" => $arrPageData[0]["filename"])));
 
             }else{
@@ -419,6 +420,5 @@
 
         // tplファイルの削除
-        $del_tpl = USER_PATH . "templates/" . TEMPLATE_NAME . "/"
-            . $arrPreData[0]['filename'] . '.tpl';
+        $del_tpl = USER_PATH . "templates/" . $arrPreData[0]['filename'] . '.tpl';
 
         if (file_exists($del_tpl)){
@@ -426,12 +426,13 @@
         }
 
+        $tplfile = TEMPLATE_DIR . $arrPageData[0]['filename'];
+
+        // filename が空の場合にはMYページと判断
+        if($arrPageData[0]['filename'] == ""){
+            $tplfile = TEMPLATE_DIR . "mypage/index";
+        }
+
         // プレビュー用tplファイルのコピー
-        $tplfile = $arrPageData[0]['tpl_dir'] . $arrPageData[0]['filename'];
-
-        if($tplfile == ""){
-            // tplファイルが空の場合にはMYページと判断
-            $tplfile = "user_data/templates/mypage/index";
-        }
-        copy(HTML_PATH . $tplfile . ".tpl", USER_PATH . "templates/"
+        copy($tplfile . ".tpl", USER_PATH . "templates/"
              . TEMPLATE_NAME . "/" . $filename . ".tpl");
 
Index: branches/feature-module-update/data/class/helper/SC_Helper_PageLayout.php
===================================================================
--- branches/feature-module-update/data/class/helper/SC_Helper_PageLayout.php	(revision 16268)
+++ branches/feature-module-update/data/class/helper/SC_Helper_PageLayout.php	(revision 16396)
@@ -40,4 +40,6 @@
         }else{
             $arrPageData = $this->lfgetPageData(" page_id = ? " , array("0"));
+            $objPage->tpl_mainpage = USER_PATH . "templates/"
+                . TEMPLATE_NAME . "/" . $arrPageData[0]['filename'] . ".tpl";
         }
 
