作者 jinglong
1 个管道 的构建 通过 耗费 29 秒

去掉个人中心

... ... @@ -304,15 +304,14 @@ class AdminExcelDataController extends AdminBaseController
//获取文件后缀
public function getFileSuffix($image_url){
//判断文件真实类型
$image_url = $image_url.'?imageslim';
$suffix = getimagesize($image_url);
if($suffix['mime'] == 'image/png'){
//png
// return imagecreatefrompng($image_url);
return imagecreatefrompng($image_url.'?imageslim');
return imagecreatefrompng($image_url);
}else{
//jpg
// return imagecreatefromjpeg($image_url);
return imagecreatefromjpeg($image_url.'?imageslim');
return imagecreatefromjpeg($image_url);
}
}
... ...
... ... @@ -239,11 +239,11 @@
<a href="javascript:openapp('{:url('setting/site')}','index_site','{:lang('ADMIN_SETTING_SITE')}');"><i
class="fa fa-cog"></i> {:lang('ADMIN_SETTING_SITE')}</a></li>
</if>
<if condition="cmf_auth_check(cmf_get_current_admin_id(),'admin/user/userinfo')">
<li>
<a href="javascript:openapp('{:url('user/userinfo')}','index_userinfo','{:lang('ADMIN_USER_USERINFO')}');"><i
class="fa fa-user"></i> {:lang('ADMIN_USER_USERINFO')}</a></li>
</if>
<!--<if condition="cmf_auth_check(cmf_get_current_admin_id(),'admin/user/userinfo')">-->
<!--<li>-->
<!--<a href="javascript:openapp('{:url('user/userinfo')}','index_userinfo','{:lang('ADMIN_USER_USERINFO')}');"><i-->
<!--class="fa fa-user"></i> {:lang('ADMIN_USER_USERINFO')}</a></li>-->
<!--</if>-->
<if condition="cmf_auth_check(cmf_get_current_admin_id(),'admin/Setting/password')">
<li>
<a href="javascript:openapp('{:url('setting/password')}','index_password','{:lang('ADMIN_SETTING_PASSWORD')}');"><i
... ...
... ... @@ -3,7 +3,7 @@
<body>
<div class="wrap">
<ul class="nav nav-tabs">
<li><a href="{:url('user/userInfo')}">{:lang('ADMIN_USER_USERINFO')}</a></li>
<!--<li><a href="{:url('user/userInfo')}">{:lang('ADMIN_USER_USERINFO')}</a></li>-->
<li class="active"><a href="{:url('setting/password')}">{:lang('ADMIN_SETTING_PASSWORD')}</a></li>
</ul>
<form class="form-horizontal js-ajax-form margin-top-20" method="post" action="{:url('setting/passwordPost')}">
... ...