mirror of
https://github.com/DzzXH/DzzOffice.git
synced 2026-04-10 01:55:13 +08:00
更新版本V1.66,更新内容在笔记中查看
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* @copyright Leyun internet Technology(Shanghai)Co.,Ltd
|
||||
* @license http://www.dzzoffice.com/licenses/license.txt
|
||||
* @package DzzOffice
|
||||
* @link http://www.dzzoffice.com
|
||||
* @author zyx(zyx@dzz.cc)
|
||||
*/
|
||||
if(!defined('IN_DZZ')) {
|
||||
exit('Access Denied');
|
||||
}
|
||||
$appidxu=C::t('app_market')->fetch_by_identifier(MOD_NAME);
|
||||
$appidxu1=$appidxu['appid'];
|
||||
if ($_G['adminid']){
|
||||
}else{
|
||||
if ($appidxu1){
|
||||
if ($appidxu['available']==0){
|
||||
showmessage(lang('该应用不存在或您无权使用该应用,请联系管理员。'));
|
||||
}elseif($appidxu['group']==-1){
|
||||
if ($_G['uid']){
|
||||
showmessage(lang('该应用不存在或您无权使用该应用,请联系管理员。'));
|
||||
}
|
||||
}elseif ($appidxu['group']==1){
|
||||
if ($_G['uid']){
|
||||
}else{
|
||||
Hook::listen('check_login');
|
||||
}
|
||||
}elseif ($appidxu['group']==2){
|
||||
if ($_G['groupid']==2){
|
||||
}else{
|
||||
showmessage(lang('该应用不存在或您无权使用该应用,请联系管理员。'));
|
||||
}
|
||||
}elseif($appidxu['group']==3){
|
||||
if ($_G['groupid']==1){
|
||||
}else{
|
||||
showmessage(lang('该应用不存在或您无权使用该应用,请联系管理员。'));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -32,7 +32,7 @@ $message = <<<EOT
|
||||
<title>$subject</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="box-sizing:border-box;text-align:center;min-width:320px;border:1px solid #ebeef5; background-color:#f2f6fc; border-radius: .5rem;margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif">
|
||||
<div style="box-sizing:border-box;text-align:center;min-width:320px;border:1px solid #ebeef5; background-color:#f2f6fc; border-radius:.5rem;margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif">
|
||||
<table style="width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse">
|
||||
<tbody>
|
||||
<tr style="font-weight:300">
|
||||
|
||||
Reference in New Issue
Block a user