* Finish task #50327.

This commit is contained in:
孙广明
2022-03-07 16:22:25 +08:00
parent c3702f6928
commit 312f31db50
4 changed files with 4 additions and 3 deletions
@@ -14,6 +14,7 @@ $lang->resource->im->notifyMSG = 'notifyMSG';
$lang->resource->im->sendNotification = 'sendNotification';
$lang->resource->im->sendChatMessage = 'sendChatMessage';
$lang->resource->im->downloadXxdPackage = 'downloadXXD';
$lang->resource->im->debug = 'debug';
$lang->resource->client = new stdclass();
$lang->resource->client->browse = 'browse';
@@ -14,6 +14,7 @@ $lang->resource->im->notifyMSG = 'notifyMSG';
$lang->resource->im->sendNotification = 'sendNotification';
$lang->resource->im->sendChatMessage = 'sendChatMessage';
$lang->resource->im->downloadXxdPackage = 'downloadXXD';
$lang->resource->im->debug = 'debug';
$lang->resource->client = new stdclass();
$lang->resource->client->browse = 'browse';
@@ -19,8 +19,8 @@
return;
}
?>
<?php if($this->app->user->admin != 'super'):?>
<?php include $app->getModuleRoot() . 'common/view/header.lite.html.php';?>
<?php if($this->app->user->admin != 'super'):?>
<div class='container' id='debugContainer'>
<div class='notice text-center' style='font-size:24px;'>
<?php $_SERVER['SCRIPT_NAME'] = '/index.php';?>
@@ -29,7 +29,6 @@
</div>
</div>
<?php else:?>
<?php include $app->getModuleRoot() . 'common/view/header.modal.html.php';?>
<script>
if(!window.v) window.v = {};
window.v.showLog = <?php echo $config->xuanxuan->debug;?>;
@@ -139,7 +139,7 @@
<?php echo html::a(helper::createLink('setting', 'downloadXXD', 'type=package'), $lang->im->downloadXXD, 'hiddenwin', "class='btn btn-primary download download-package $disabled'");?>
<?php echo html::a(helper::createLink('setting', 'downloadXXD', 'type=config'), $lang->im->downloadConfig, 'hiddenwin', "class='btn btn-primary download $disabled'");?>
<?php echo html::a(helper::createLink('setting', 'xuanxuan', 'type=edit'), $lang->im->changeSetting, '', "class='btn'");?>
<?php if($debug) echo html::a(helper::createLink('im', 'debug', 'source=setting'), $lang->im->viewDebug, '', "class='btn viewDebug' data-toggle='modal'");?>
<?php if($debug and common::hasPriv('im', 'debug')) echo html::a(helper::createLink('im', 'debug', 'source=setting'), $lang->im->viewDebug, '', "class='btn viewDebug iframe' data-height=220");?>
<?php echo html::a('http://www.zentao.net/book/zentaopmshelp/302.html', $lang->im->help, '_blank', "class='btn'");?>
<?php endif;?>
</td>