Ignore:
Timestamp:
2006/12/10 17:25:19 (20 years ago)
Author:
kaki
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/design/template.php

    r10518 r10519  
    66 */ 
    77require_once("../../require.php"); 
    8 require_once(DATA_PATH. "module/Tar.php"); 
    9 require_once(DATA_PATH. "include/file_manager.inc"); 
     8require_once(DATA_PATH . "module/Tar.php"); 
     9require_once(DATA_PATH . "include/file_manager.inc"); 
     10require_once(DATA_PATH . "module/SearchReplace.php"); 
    1011 
    1112class LC_Page { 
     
    292293 
    293294    // ²èÁü¥Ñ¥¹¤ò½ñ¤­´¹¤¨ 
    294      
    295     readfile($save_tpl_path . "top.tpl"); 
    296      
    297     '<!--{$smarty.const.URL_DIR}-->img/'; 
    298     require_once(HTML_PATH . "../data/module/SearchReplace.php"); 
    299      
    300     // phpspot.net¤È¤¤¤¦Ê¸»úÎó¤òphpspot.org¤ËÃÖ´¹¤¹¤ë  
    301295    $path = $tpl_path . $arrTemplate[0]['template_code'] . "/"; 
    302296    $img_path = '<!--{$smarty.const.URL_DIR}-->img/'; 
     
    304298    $fs = new File_SearchReplace($img_path, $displace_path, "", $path, true);  
    305299    $fs->doSearch();  
    306      
    307300     
    308301    // TOP¤òÊѹ¹¤·¤¿¾ì¹ç¤Ë¤ÏÁ´²èÌÌÊѹ¹ 
     
    333326        copy($taget_tpl_path . $tpl_name, $save_tpl_path . $tpl_name); 
    334327    } 
     328 
     329    // ²èÁü¥Ñ¥¹¤ò¸µ¤ËÌ᤹    
     330    $fs = new File_SearchReplace($displace_path, $img_path, "", $path, true);  
     331    $fs->doSearch();  
    335332} 
    336333 
Note: See TracChangeset for help on using the changeset viewer.