Ignore:
Timestamp:
2006/12/10 16:53:41 (20 years ago)
Author:
kaki
Message:
 
File:
1 edited

Legend:

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

    r10510 r10512  
    290290    $taget_css_path = $tpl_path . $arrTemplate[0]['template_code'] . "/css/"; 
    291291    $save_tpl_path = $tpl_path; 
     292 
     293    // ²èÁü¥Ñ¥¹¤ò½ñ¤­´¹¤¨ 
     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¤ËÃÖ´¹¤¹¤ë  
     301    $fs = new File_SearchReplace('<!--{$smarty.const.URL_DIR}-->img/', "phpspot.org", "", "$tpl_path . $arrTemplate[0]['template_code']", true);  
     302    $fs->doSearch();  
     303     
    292304     
    293305    // TOP¤òÊѹ¹¤·¤¿¾ì¹ç¤Ë¤ÏÁ´²èÌÌÊѹ¹ 
     
    303315        // ¥Ö¥í¥Ã¥¯¥Ç¡¼¥¿¤Î¥³¥Ô¡¼ 
    304316        lfFolderCopy($taget_inc_path."bloc/", $inc_path . "bloc/"); 
    305          
     317 
    306318        // ¥Ø¥Ã¥À¡¼,¥Õ¥Ã¥¿¡¼¥³¥Ô¡¼ 
    307319        copy($taget_inc_path . "header.tpl", $inc_path . "header.tpl"); 
     
    333345    $mess = ""; 
    334346    $mess = sfCopyDir(HTML_PATH."img/", USER_TEMPLATE_PATH.$template_code."/img/", $mess); 
     347     
    335348    // ¥Õ¥¡¥¤¥ë¤Î°µ½Ì 
    336349    $tar = new Archive_Tar($dl_file, TRUE); 
Note: See TracChangeset for help on using the changeset viewer.