You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-13 11:43:58 +08:00
2.7.0 dev
* 2023-01-26 v2.7.0 dev - 增加广场非图片图标 - 替换访问生成缩略图代码 - 更新一些组件 - 优化代码
This commit is contained in:
@@ -41,7 +41,8 @@ mustLogin();
|
||||
<li <?php if ($config['upload_first_show'] == 4) echo 'class="active"'; ?>>
|
||||
<a href="#" data-target="#tab2Content4" data-toggle="tab"><i class="icon icon-html5"></i> HTML</a>
|
||||
</li>
|
||||
<li <?php if ($config['upload_first_show'] == 5) echo 'class="active"'; ?>>
|
||||
<li <?php if ($config['upload_first_show'] == 5) echo 'class="active"';
|
||||
if ($config['show_user_hash_del'] == 0) echo 'style="display:none;"' ?>>
|
||||
<a href="#" data-target="#tab2Content5" data-toggle="tab"><i class="icon icon-trash"></i> 删除</a>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -149,6 +150,11 @@ mustLogin();
|
||||
document.getElementById("markdown").innerHTML += "\r\n";
|
||||
document.getElementById("html").innerHTML += '<img src="' + obj.url + '" alt="' + obj.srcName + '" />\r\n';
|
||||
document.getElementById("del").innerHTML += obj.del + "\r\n";
|
||||
new $.zui.Messager(obj.srcName + "上传成功", {
|
||||
type: "primary", // 定义颜色主题
|
||||
placement: 'bottom-right',
|
||||
icon: "check" // 定义消息图标
|
||||
}).show();
|
||||
} else {
|
||||
return '上传失败,错误信息:' + obj.message;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user