NobuNobu
nobun****@users*****
2006年 11月 27日 (月) 16:42:21 JST
Index: xoops2jp/html/include/xoops.js diff -u xoops2jp/html/include/xoops.js:1.1.8.1 xoops2jp/html/include/xoops.js:1.1.8.1.2.1 --- xoops2jp/html/include/xoops.js:1.1.8.1 Wed Oct 19 02:20:06 2005 +++ xoops2jp/html/include/xoops.js Mon Nov 27 16:42:21 2006 @@ -194,6 +194,16 @@ imgDom.src = xoopsUrl + "/"+ imgDir + "/" + selectDom.options[selectDom.selectedIndex].value + extra; } +function showThemeScreenshot(imgId, selectId, xoopsUrl) { + if (xoopsUrl == null) { + xoopsUrl = "./"; + } + imgDom = xoopsGetElementById(imgId); + selectDom = xoopsGetElementById(selectId); + serctValues = selectDom.options[selectDom.selectedIndex].value.split('!-!'); + imgDom.src = xoopsUrl + "/themes/" + serctValues[0] + "/" + serctValues[1]; +} + function xoopsCodeUrl(id, enterUrlPhrase, enterWebsitePhrase){ if (enterUrlPhrase == null) { enterUrlPhrase = "Enter the URL of the link you want to add:";