ソースを参照

编辑器选择文件错误修复

tags/6.2.0
tianya 1年前
コミット
256bae377a
14個のファイルの変更17行の追加15行の削除
  1. +2
    -1
      src/admin/dialog/select_images.php
  2. +3
    -2
      src/admin/dialog/select_images_post.php
  3. +1
    -1
      src/admin/templets/album_add.htm
  4. +1
    -1
      src/admin/templets/album_edit.htm
  5. +1
    -1
      src/admin/templets/archives_add.htm
  6. +1
    -1
      src/admin/templets/archives_edit.htm
  7. +1
    -1
      src/admin/templets/article_add.htm
  8. +1
    -1
      src/admin/templets/article_edit.htm
  9. +1
    -1
      src/admin/templets/diy_field_add.htm
  10. +1
    -1
      src/admin/templets/diy_field_edit.htm
  11. +1
    -1
      src/admin/templets/mychannel_field_add.htm
  12. +1
    -1
      src/admin/templets/mychannel_field_edit.htm
  13. +1
    -1
      src/admin/templets/soft_add.htm
  14. +1
    -1
      src/admin/templets/soft_edit.htm

+ 2
- 1
src/admin/dialog/select_images.php ファイルの表示

@@ -17,7 +17,7 @@ if (empty($imgstick)) {
$imgstick = '';
}
$noeditor = isset($noeditor) ? $noeditor : '';
$iseditor = isset($iseditor) ? $iseditor : '';
$iseditor = isset($iseditor) ? intval($iseditor) : '';
$activepath = str_replace('.', '', $activepath);
$activepath = preg_replace("#\/{1,}#", '/', $activepath);
if (strlen($activepath) < strlen($cfg_image_dir)) {
@@ -142,6 +142,7 @@ html{background:#f5f5f5}
<input type="hidden" name="activepath" value="<?php echo $activepath ?>">
<input type="hidden" name="f" value="<?php echo $f ?>">
<input type="hidden" name="v" value="<?php echo $v ?>">
<input type="hidden" name="iseditor" value="<?php echo $iseditor ?>">
<input type="hidden" name="imgstick" value="<?php echo $imgstick ?>">
<input type="hidden" name="CKEditorFuncNum" value="<?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1;?>">
<input type="hidden" name="job" value="upload">


+ 3
- 2
src/admin/dialog/select_images_post.php ファイルの表示

@@ -43,6 +43,7 @@ if (!is_dir($cfg_basedir.$activepath."/$mdir")) {
MkdirAll($cfg_basedir.$activepath."/$mdir", $cfg_dir_purview);
CloseFtp();
}
$iseditor = isset($iseditor)? intval($iseditor) : 0;
$filename_name = $cuserLogin->getUserID().'-'.dd2char(MyDate("ymdHis", $nowtme).mt_rand(100, 999));
$filename = $mdir.'/'.$filename_name;
$fs = explode('.', $imgfile_name);
@@ -91,9 +92,9 @@ if ($GLOBALS['cfg_html_editor'] == 'ckeditor' && $CKUpload) {
exit;
}
if (!empty($noeditor)) {
ShowMsg("成功上传一张图片", "select_images.php?imgstick=$imgstick&comeback=".urlencode($filename_name)."&v=$v&f=$f&CKEditorFuncNum=$CKEditorFuncNum&noeditor=yes&activepath=".urlencode($activepath)."/$mdir&d=".time());
ShowMsg("成功上传一张图片", "select_images.php?iseditor=$iseditor&imgstick=$imgstick&comeback=".urlencode($filename_name)."&v=$v&f=$f&CKEditorFuncNum=$CKEditorFuncNum&noeditor=yes&activepath=".urlencode($activepath)."/$mdir&d=".time());
} else {
ShowMsg("成功上传一张图片", "select_images.php?imgstick=$imgstick&comeback=".urlencode($filename_name)."&v=$v&f=$f&CKEditorFuncNum=$CKEditorFuncNum&activepath=".urlencode($activepath)."/$mdir&d=".time());
ShowMsg("成功上传一张图片", "select_images.php?iseditor=$iseditor&imgstick=$imgstick&comeback=".urlencode($filename_name)."&v=$v&f=$f&CKEditorFuncNum=$CKEditorFuncNum&activepath=".urlencode($activepath)."/$mdir&d=".time());
}
exit();
?>

+ 1
- 1
src/admin/templets/album_add.htm ファイルの表示

@@ -119,7 +119,7 @@
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90">标签:</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="admin-input-md">(英文逗号分开,如“天涯,叙述”)</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="admin-input-md">(英文逗号分开,如“DedeBIZ,得德”)</td>
<td width="60">权重:</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="admin-input-sm">(越小越靠前)</td>
</tr>


+ 1
- 1
src/admin/templets/album_edit.htm ファイルの表示

@@ -120,7 +120,7 @@
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90">标签:</td>
<td><input type="text" name="tags" id="tags" value="<?php echo $tags;?>" class="admin-input-md">(英文逗号分开,如“天涯,叙述”)</td>
<td><input type="text" name="tags" id="tags" value="<?php echo $tags;?>" class="admin-input-md">(英文逗号分开,如“DedeBIZ,得德”)</td>
<td width="60">权重:</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight'];?>" class="admin-input-sm">(越小越靠前)</td>
</tr>


+ 1
- 1
src/admin/templets/archives_add.htm ファイルの表示

@@ -98,7 +98,7 @@
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90">标签:</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="admin-input-md">(英文逗号分开,如“天涯,叙述”)</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="admin-input-md">(英文逗号分开,如“DedeBIZ,得德”)</td>
<td width="60">权重:</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="admin-input-sm">(越小越靠前)</td>
</tr>


+ 1
- 1
src/admin/templets/archives_edit.htm ファイルの表示

@@ -97,7 +97,7 @@
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90">标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" class="admin-input-md">(英文逗号分开,如“天涯,叙述”)</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" class="admin-input-md">(英文逗号分开,如“DedeBIZ,得德”)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight'];?>" class="admin-input-sm">(越小越靠前)</td>
</tr>


+ 1
- 1
src/admin/templets/article_add.htm ファイルの表示

@@ -99,7 +99,7 @@
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90">标签:</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="admin-input-md">(英文逗号分开,如“天涯,叙述”)</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="admin-input-md">(英文逗号分开,如“DedeBIZ,得德”)</td>
<td width="60">权重:</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="admin-input-sm">(越小越靠前)</td>
</tr>


+ 1
- 1
src/admin/templets/article_edit.htm ファイルの表示

@@ -104,7 +104,7 @@
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90">标签:</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" class="admin-input-md">(英文逗号分开,如“天涯,叙述”)</td>
<td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" class="admin-input-md">(英文逗号分开,如“DedeBIZ,得德”)</td>
<td width="60">权重:</td>
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight'];?>" class="admin-input-sm">(越小越靠前)</td>
</tr>


+ 1
- 1
src/admin/templets/diy_field_add.htm ファイルの表示

@@ -117,7 +117,7 @@
</td>
</tr>
<tr>
<td>默认值:如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(英文逗号分开,如“天涯,叙述”)</td>
<td>默认值:如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(英文逗号分开,如“DedeBIZ,得德”)</td>
<td><textarea name="vdefault" id="vdefault" class="admin-textarea-xl"></textarea></td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/diy_field_edit.htm ファイルの表示

@@ -112,7 +112,7 @@
</td>
</tr>
<tr>
<td>默认值:如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(英文逗号分开,如“天涯,叙述”)如果为联动选框,这里填写联动选框项目名称</td>
<td>默认值:如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(英文逗号分开,如“DedeBIZ,得德”)如果为联动选框,这里填写联动选框项目名称</td>
<td><textarea name="vdefault" id="vdefault" class="admin-textarea-xl"><?php echo $ctag->GetAtt('default');?></textarea></td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/mychannel_field_add.htm ファイルの表示

@@ -180,7 +180,7 @@
</td>
</tr>
<tr>
<td>默认值:如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(英文逗号分开,如“天涯,叙述”)</td>
<td>默认值:如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(英文逗号分开,如“DedeBIZ,得德”)</td>
<td><textarea name="vdefault" id="vdefault" class="admin-textarea-xl"></textarea></td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/mychannel_field_edit.htm ファイルの表示

@@ -174,7 +174,7 @@
</td>
</tr>
<tr>
<td>默认值:如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(英文逗号分开,如“天涯,叙述”)如果为联动选框,这里填写联动选框项目名称</td>
<td>默认值:如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目(英文逗号分开,如“DedeBIZ,得德”)如果为联动选框,这里填写联动选框项目名称</td>
<td><textarea name="vdefault" id="vdefault" class="admin-textarea-xl"><?php echo $ctag->GetAtt('default');?></textarea></td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/soft_add.htm ファイルの表示

@@ -113,7 +113,7 @@
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90">标签:</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="admin-input-md">(英文逗号分开,如“天涯,叙述”)</td>
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="admin-input-md">(英文逗号分开,如“DedeBIZ,得德”)</td>
<td width="60">权重:</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="admin-input-sm">(越小越靠前)</td>
</tr>


+ 1
- 1
src/admin/templets/soft_edit.htm ファイルの表示

@@ -111,7 +111,7 @@
<table cellspacing="0" cellpadding="0">
<tr>
<td width="90">标签:</td>
<td><input type="text" name="tags" id="tags" value="<?php echo $tags;?>" class="admin-input-md">(英文逗号分开,如“天涯,叙述”)</td>
<td><input type="text" name="tags" id="tags" value="<?php echo $tags;?>" class="admin-input-md">(英文逗号分开,如“DedeBIZ,得德”)</td>
<td width="60">权重:</td>
<td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight'];?>" class="admin-input-sm">(越小越靠前)</td>
</tr>


読み込み中…
キャンセル
保存