mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
PHP提示优化
This commit is contained in:
@@ -658,7 +658,7 @@ function phpLibConfig(version){
|
||||
|
||||
//安装扩展
|
||||
function installPHPLib(version, name, title, pathinfo) {
|
||||
layer.confirm('您真的要安装{1}吗?'.replace('{1}', name), { icon: 3, closeBtn: 2 }, function() {
|
||||
layer.confirm('您真的要卸载{1}吗?'.replace('{1}', name), { icon: 3, closeBtn: 2 }, function() {
|
||||
name = name.toLowerCase();
|
||||
var data = "name=" + name + "&version=" + version + "&type=1";
|
||||
|
||||
|
||||
@@ -672,7 +672,7 @@ function installPHPLib(version, name, title, pathinfo) {
|
||||
|
||||
//卸载扩展
|
||||
function uninstallPHPLib(version, name, title, pathinfo) {
|
||||
layer.confirm('您真的要安装{1}吗?'.replace('{1}', name), { icon: 3, closeBtn: 2 }, function() {
|
||||
layer.confirm('您真的要卸载{1}吗?'.replace('{1}', name), { icon: 3, closeBtn: 2 }, function() {
|
||||
name = name.toLowerCase();
|
||||
var data = 'name=' + name + '&version=' + version;
|
||||
phpPost('uninstall_lib', version, data, function(data){
|
||||
|
||||
@@ -665,7 +665,7 @@ function installPHPLib(version, name, title, pathinfo) {
|
||||
|
||||
//卸载扩展
|
||||
function uninstallPHPLib(version, name, title, pathinfo) {
|
||||
layer.confirm('您真的要安装{1}吗?'.replace('{1}', name), { icon: 3, closeBtn: 2 }, function() {
|
||||
layer.confirm('您真的要卸载{1}吗?'.replace('{1}', name), { icon: 3, closeBtn: 2 }, function() {
|
||||
name = name.toLowerCase();
|
||||
var data = 'name=' + name + '&version=' + version;
|
||||
phpPost('uninstall_lib', version, data, function(data){
|
||||
|
||||
Reference in New Issue
Block a user