Changeset 10533 for temp/trunk/html
- Timestamp:
- 2006/12/10 18:10:53 (19 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/design/template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/design/template.php
r10521 r10533 252 252 253 253 $chk_tpl = $_POST['check_template']; 254 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/"; 257 $save_tpl_path = $tpl_path; 258 259 260 /* 255 261 // ¥Æ¥ó¥×¥ì¡¼¥È¥Ç¡¼¥¿¤ò¼èÆÀ¤¹¤ë 256 262 $objQuery = new SC_Query(); 257 263 $sql = "SELECT template_code,template_name FROM dtb_templates WHERE template_code = ?"; 258 264 $arrTemplate = $objQuery->getall($sql, array($chk_tpl)); 259 265 */ 260 266 switch($objPage->tpl_subno_template) { 261 267 // TOP … … 286 292 break; 287 293 } 288 294 /* 289 295 $taget_tpl_path = $tpl_path . $arrTemplate[0]['template_code'] . "/templates/"; 290 296 $taget_inc_path = $tpl_path . $arrTemplate[0]['template_code'] . "/include/"; 291 297 $taget_css_path = $tpl_path . $arrTemplate[0]['template_code'] . "/css/"; 298 */ 292 299 $save_tpl_path = $tpl_path; 293 300 294 301 // ²èÁü¥Ñ¥¹¤ò½ñ¤´¹¤¨ 295 $path = $tpl_path . $ arrTemplate[0]['template_code']. "/";302 $path = $tpl_path . $chk_tpl . "/"; 296 303 $img_path = '<!--{$smarty.const.URL_DIR}-->img/'; 297 $displace_path = '<!--{$smarty.const.URL_DIR}-->'. USER_DIR . 'templates/' . $ arrTemplate[0]['template_code']. '/img/';304 $displace_path = '<!--{$smarty.const.URL_DIR}-->'. USER_DIR . 'templates/' . $chk_tpl . '/img/'; 298 305 $fs = new File_SearchReplace($img_path, $displace_path, "", $path, true); 299 306 $fs->doSearch();
Note: See TracChangeset
for help on using the changeset viewer.
