From f245e6697611183b8df689da802c8be3c0de5fb9 Mon Sep 17 00:00:00 2001 From: chschy Date: Sun, 4 Nov 2012 07:33:39 +0000 Subject: [PATCH] remove mlayout_srl git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12094 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/menu/tpl/sitemap.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/menu/tpl/sitemap.html b/modules/menu/tpl/sitemap.html index 15d123576..ac940e042 100644 --- a/modules/menu/tpl/sitemap.html +++ b/modules/menu/tpl/sitemap.html @@ -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));