Browse Source

v1.2

pull/16/head v1.2
xiaoz 6 years ago
parent
commit
405270dc51
  1. 9
      README.md
  2. 2
      functions/class/class.admin.php
  3. 2
      functions/version.txt
  4. 7
      static/embed.js
  5. 2
      tpl/admin/footer.php

9
README.md

@ -16,7 +16,16 @@ ImgURL是一款简单、纯粹的图床程序,使用PHP + SQLite 3开发,不
- [ ] 图片水印 - [ ] 图片水印
- [ ] API上传 - [ ] API上传
### 更新日志 ### 更新日志
#### v1.2 - 2018.08.11
* 增加URL批量上传
* 去掉一些不必要的菜单
* 优化CSS样式
* 优化图片查看器
* 修复一些BUG
#### v1.1 - 2018.05.04 #### v1.1 - 2018.05.04
* 可上传至SM.MS图床 * 可上传至SM.MS图床
* 优化IP获取,及其它细节优化 * 优化IP获取,及其它细节优化

2
functions/class/class.admin.php

@ -71,7 +71,7 @@
break; break;
case 'unidentification': case 'unidentification':
$datas = $database->select("imginfo", "*", [ $datas = $database->select("imginfo", "*", [
"level" => '', "level" => null,
"ORDER" => ["id" => "DESC"], "ORDER" => ["id" => "DESC"],
"LIMIT" => [$start,$num] "LIMIT" => [$start,$num]
]); ]);

2
functions/version.txt

@ -1 +1 @@
v1.12(20180810) v1.20(20180811)

7
static/embed.js

@ -322,7 +322,14 @@ function cdubious(id){
//图片压缩功能 //图片压缩功能
function compress(id){ function compress(id){
//layer.msg('该功能还在开发中!', {time: 2000}) //layer.msg('该功能还在开发中!', {time: 2000})
layer.open({
type:3
,content: '处理中...'
});
$.get("../functions/class/class.pic.php?id=" + id,function(data,status){ $.get("../functions/class/class.pic.php?id=" + id,function(data,status){
if(status == 'success'){
layer.closeAll('loading');
}
layer.open({ layer.open({
title: '温馨提示:', title: '温馨提示:',
time:2000 time:2000

2
tpl/admin/footer.php

@ -13,6 +13,6 @@
<script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script> <script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
<script src="../static/layui/layui.js"></script> <script src="../static/layui/layui.js"></script>
<script src="../static/embed.js?v=1.2"></script> <script src="../static/embed.js?v=1.21"></script>
</body> </body>
</html> </html>
Loading…
Cancel
Save