Index: temp/trunk/html/admin/design/template.php
===================================================================
--- temp/trunk/html/admin/design/template.php	(revision 10517)
+++ temp/trunk/html/admin/design/template.php	(revision 10518)
@@ -301,5 +301,5 @@
 	$path = $tpl_path . $arrTemplate[0]['template_code'] . "/";
 	$img_path = '<!--{$smarty.const.URL_DIR}-->img/';
-	$displace_path = '<!--{$smarty.const.URL_DIR}-->user_dir/templates/'. $arrTemplate[0]['template_code'] . '/img/';
+	$displace_path = '<!--{$smarty.const.URL_DIR}-->'. USER_DIR . 'templates/' . $arrTemplate[0]['template_code'] . '/img/';
 	$fs = new File_SearchReplace($img_path, $displace_path, "", $path, true); 
 	$fs->doSearch(); 
