主题: 添加图片文件名
作者: 痞子, 发布日期: 2009-12-22 16:08:56, 浏览数: 7371

 click : function(id) {
  KE.util.selection(id);
  this.dialog = new KE.dialog({
   id : id,
   cmd : 'image',
   file : 'image.html?id=' + id +'&ver=' + KE.version,
   width : 400,
   height : 230,
   loadingMode : true,
   title : KE.lang['image'],
   yesButton : KE.lang['yes'],
   noButton : KE.lang['no']
  });
  this.dialog.show();
 },


   if (typeof arg.file == "undefined") {
    iframe.src = KE.g[id].pluginsPath + arg.cmd + '.html?ver=' + KE.version;
   } else {
    iframe.src = KE.g[id].pluginsPath + arg.file;
   }

 


原来的默认图片是image.html我想改成image,php应该怎么改,哪处要修改

iframe.src = KE.g[id].pluginsPath + arg.cmd + '.php';

作者: Roddy, 发布日期: 2009-12-22 22:44:42
this.dialog = new KE.dialog({
id : id,
cmd : 'image',
file : 'image.php?id=' + id +'&ver=' + KE.version,
width : 400,
height : 230,
loadingMode : true,
title : KE.lang['image'],
yesButton : KE.lang['yes'],
noButton : KE.lang['no']
});
this.dialog.show();

回复
发表新帖 发表回复