remove mlayout_srl

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12094 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2012-11-04 07:33:39 +00:00
parent f874d707ac
commit f245e66976

View file

@ -2165,10 +2165,11 @@ jQuery(function($){
sIsInstalled = "";
}
var sScreenshot = item.item_screenshot_url.replace(/^http:\/\//, "");
$node = $.tmpl( "downloadableItem", {
MenuType: item.title,
MenuTypeDesc: item.package_description,
ScreenShotURL: item.item_screenshot_url.replace(/^http:\/\//, ""),
ScreenShotURL: sScreenshot,
Score: item.package_star,
TotalVotes: item.package_voted,
LastUpdated: formatUpdatedDate(item.item_regdate),
@ -2400,9 +2401,9 @@ jQuery(function($){
var htParam = {
target_module_srl : htInfo.module_srl,
skin_type : sMode,
//layout_srl : htDesign.htLayoutSrl[sMode],
layout_srl : htDesign.htLayoutSrl.P,
mlayout_srl : htDesign.htLayoutSrl.M,
layout_srl : htDesign.htLayoutSrl[sMode],
//layout_srl : htDesign.htLayoutSrl.P,
//mlayout_srl : htDesign.htLayoutSrl.M,
is_skin_fix : ynSkinFix,
skin_name : sSkinName,
skin_vars : "{}"
@ -3031,7 +3032,7 @@ exec_xml("module","procModuleAdminSetDesignInfo", params, completeTmp)
// console.log(htInfo.title);
$List.append($.tmpl("skinListItem", {
Title : htInfo.title,
ScreenShotURL : htInfo.thumbnail,
ScreenShotURL : htInfo.thumbnail?htInfo.thumbnail:'./modules/layout/tpl/img/noThumbnail.png',
Selected : sSelected,
SkinName : htInfo.sName
}).data('SkinName', htInfo.sName));