Ignore:
Timestamp:
2007/10/26 09:54:23 (16 years ago)
Author:
nanasess
Message:

プレビュー修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/admin/design/LC_Page_Admin_Design_MainEdit.php

    r16268 r16565  
    2828    function init() { 
    2929        parent::init(); 
    30         $this->tpl_mainpage = 'design/main_edit.tpl'; 
    31         $this->tpl_subnavi  = 'design/subnavi.tpl'; 
    32         $this->user_URL     = USER_URL; 
    33         $this->text_row     = 13; 
    34         $this->tpl_subno = "main_edit"; 
    35         $this->tpl_mainno = "design"; 
    36         $this->tpl_subtitle = 'ページ詳細設定'; 
    37  
     30        $this->tpl_mainpage = 'design/main_edit.tpl'; 
     31        $this->tpl_subnavi  = 'design/subnavi.tpl'; 
     32        $this->user_URL     = USER_URL; 
     33        $this->text_row     = 13; 
     34        $this->tpl_subno = "main_edit"; 
     35        $this->tpl_mainno = "design"; 
     36        $this->tpl_subtitle = 'ページ詳細設定'; 
    3837    } 
    3938 
     
    126125 
    127126            // TPLファイル作成 
    128             $cre_tpl = USER_PATH . "templates/" . $url . '.tpl'; 
     127            $cre_tpl = USER_PATH . "templates/" . TEMPLATE_NAME . "/" . $url . '.tpl'; 
    129128            $this->lfCreateFile($cre_tpl); 
    130129 
     
    158157 
    159158            $_SESSION['preview'] = "ON"; 
    160             $this->sendRedirect($this->getLocation(URL_DIR . "preview/index.php")); 
     159            $this->sendRedirect($this->getLocation(URL_DIR . "preview/index.php", array("filename" => $arrPageData[0]["filename"]))); 
    161160        } 
    162161 
Note: See TracChangeset for help on using the changeset viewer.