| @@ -143,7 +143,7 @@ a{text-decoration:none!important} | |||||
| <label><input type="checkbox" name="resize" value="1" class="np"> 缩小 </label> | <label><input type="checkbox" name="resize" value="1" class="np"> 缩小 </label> | ||||
| 宽:<input type="text" name="iwidth" value="<?php echo $cfg_ddimg_width ?>" style="width:46px"> | 宽:<input type="text" name="iwidth" value="<?php echo $cfg_ddimg_width ?>" style="width:46px"> | ||||
| 高:<input type="text" name="iheight" value="<?php echo $cfg_ddimg_height ?>" style="width:46px"> | 高:<input type="text" name="iheight" value="<?php echo $cfg_ddimg_height ?>" style="width:46px"> | ||||
| <button type="submit" name="sb1" class="btn btn-success btn-sm">保存</button> | |||||
| <button type="submit" name="sb1" class="btn btn-success btn-sm">上传</button> | |||||
| </form> | </form> | ||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| @@ -82,7 +82,7 @@ a{text-decoration:none!important} | |||||
| <input type="hidden" name="job" value="upload"> | <input type="hidden" name="job" value="upload"> | ||||
| <input type="hidden" name="CKEditorFuncNum" value="<?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1; ?>"> | <input type="hidden" name="CKEditorFuncNum" value="<?php echo isset($CKEditorFuncNum) ? $CKEditorFuncNum : 1; ?>"> | ||||
| 上传:<input type="file" name="uploadfile" style="width:50%;border:none"> | 上传:<input type="file" name="uploadfile" style="width:50%;border:none"> | ||||
| <button type="submit" name="sb1" class="btn btn-success btn-sm">保存</button> | |||||
| <button type="submit" name="sb1" class="btn btn-success btn-sm">上传</button> | |||||
| </form> | </form> | ||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| @@ -87,7 +87,7 @@ a{text-decoration:none!important} | |||||
| <input type="hidden" name="job" value="upload"> | <input type="hidden" name="job" value="upload"> | ||||
| 上传:<input type="file" name="uploadfile" size="24" style="width:50%;border:none"> | 上传:<input type="file" name="uploadfile" size="24" style="width:50%;border:none"> | ||||
| 改名:<input type="text" name="newname" style="width:160px"> | 改名:<input type="text" name="newname" style="width:160px"> | ||||
| <button type="submit" name="sb1" class="btn btn-success btn-sm">保存</button> | |||||
| <button type="submit" name="sb1" class="btn btn-success btn-sm">上传</button> | |||||
| </form> | </form> | ||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| @@ -68,7 +68,7 @@ a{text-decoration:none!important} | |||||
| <input type="hidden" name="job" value="upload"> | <input type="hidden" name="job" value="upload"> | ||||
| 上传:<input type="file" name="uploadfile" style="width:50%;border:none"> | 上传:<input type="file" name="uploadfile" style="width:50%;border:none"> | ||||
| 改名:<input type="text" name="filename" style="width:160px"> | 改名:<input type="text" name="filename" style="width:160px"> | ||||
| <button type="submit" name="sb1" class="btn btn-success btn-sm">保存</button> | |||||
| <button type="submit" name="sb1" class="btn btn-success btn-sm">上传</button> | |||||
| </form> | </form> | ||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| @@ -9,11 +9,11 @@ | |||||
| */ | */ | ||||
| function checkSubmitAlb() { | function checkSubmitAlb() { | ||||
| if (document.form1.title.value == '') { | if (document.form1.title.value == '') { | ||||
| ShowMsg("档案标题不能为空"); | |||||
| ShowMsg("标题不能为空"); | |||||
| return false; | return false; | ||||
| } | } | ||||
| if (document.form1.typeid.value == 0) { | if (document.form1.typeid.value == 0) { | ||||
| ShowMsg("请选择档案的主类别"); | |||||
| ShowMsg("请选择主类别"); | |||||
| return false; | return false; | ||||
| } | } | ||||
| document.form1.imagebody.value = $Obj('copyhtml').innerHTML; | document.form1.imagebody.value = $Obj('copyhtml').innerHTML; | ||||