Ignore:
Timestamp:
2006/12/10 18:18:04 (16 years ago)
Author:
kaki
Message:
 
File:
1 edited

Legend:

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

    r10533 r10534  
    252252     
    253253    $chk_tpl = $_POST['check_template']; 
    254     $taget_tpl_path = $tpl_path . $chk_tpl . "/templates/"; 
    255     $taget_inc_path = $tpl_path . $chk_tpl . "/include/"; 
    256     $taget_css_path = $tpl_path . $chk_tpl . "/css/"; 
     254    $path = $tpl_path . $chk_tpl . "/"; 
     255    $taget_tpl_path = $path . "/templates/"; 
     256    $taget_inc_path = $path . "/include/"; 
     257    $taget_css_path = $path . "/css/"; 
    257258    $save_tpl_path = $tpl_path; 
    258259     
    259      
    260     /* 
    261     // ¥Æ¥ó¥×¥ì¡¼¥È¥Ç¡¼¥¿¤ò¼èÆÀ¤¹¤ë 
    262     $objQuery = new SC_Query(); 
    263     $sql = "SELECT template_code,template_name FROM dtb_templates WHERE template_code = ?"; 
    264     $arrTemplate = $objQuery->getall($sql, array($chk_tpl));     
    265     */ 
    266260    switch($objPage->tpl_subno_template) { 
    267261        // TOP 
     
    292286            break; 
    293287    } 
    294     /* 
    295     $taget_tpl_path = $tpl_path . $arrTemplate[0]['template_code'] . "/templates/"; 
    296     $taget_inc_path = $tpl_path . $arrTemplate[0]['template_code'] . "/include/"; 
    297     $taget_css_path = $tpl_path . $arrTemplate[0]['template_code'] . "/css/"; 
    298     */ 
    299     $save_tpl_path = $tpl_path; 
    300288 
    301289    // ²èÁü¥Ñ¥¹¤ò½ñ¤­´¹¤¨ 
    302     $path = $tpl_path . $chk_tpl . "/"; 
    303290    $img_path = '<!--{$smarty.const.URL_DIR}-->img/'; 
    304291    $displace_path = '<!--{$smarty.const.URL_DIR}-->'. USER_DIR . 'templates/' . $chk_tpl . '/img/'; 
Note: See TracChangeset for help on using the changeset viewer.