|
566 | 566 | </div>
|
567 | 567 | <div class="tab-pane fade" id="Content6">
|
568 | 568 | <div class="col-md-12">
|
569 |
| - <div class="col-md-5"> |
| 569 | + <div class="col-md-4"> |
570 | 570 | <h5 class="header-dividing">上传日志 <small>需要开启上传日志</small></h5>
|
571 | 571 | <form class="form-inline" action="../application/viewlog.php" method="post" target="_blank">
|
572 | 572 | <div class="form-group">
|
573 |
| - <label for="logDate" class="text-primary">选择月份: </label> |
| 573 | + <label for="logDate" class="text-primary">月份: </label> |
574 | 574 | <input type="text" class="form-control logDate" id="logDate" name="logDate" value="<?php echo date('Y-m'); ?>" required="required" readonly>
|
575 |
| - <input type="hidden" class="form-control" name="pass" value="<?php echo md5($config['password'] . date('YMDH')); ?>" placeholder="日志访问秘钥"> |
| 575 | + <input type="hidden" class="form-control" name="pass" value="<?php echo md5($config['password'] . date('ymdh')); ?>" placeholder="日志访问秘钥"> |
576 | 576 | </div>
|
577 |
| - <button type="submit" class="btn btn-primary">查看日志</button> |
| 577 | + <button type="submit" class="btn btn-primary">查看</button> |
578 | 578 | </form>
|
579 | 579 | </div>
|
580 |
| - <div class="form-group col-md-3"> |
| 580 | + <div class="col-md-2"> |
| 581 | + <h5 class="header-dividing">登录日志 <small>仅显示当月</small></h5> |
| 582 | + <button type="button" class="btn btn-primary" data-toggle="modal" data-title="登录日志 - 仅显示当月" data-icon="book" data-moveable="true" data-width="60%" data-type="ajax" data-url="../application/viewlog.php?login_log&pass=<?php echo md5($config['password'] . date('ymdh')); ?>">查看</button> |
| 583 | + </div> |
| 584 | + <div class="col-md-3"> |
581 | 585 | <h5 class="header-dividing" data-toggle="tooltip" title="仅限存储分类路径为 Y/m/d/ 格式<br/>且每天需要访问一次后台才执行<br/>先重命名要删除文件夹作为备份<br/>超过定时日期的2倍后再彻底删除重命名的文件夹<br/>超过定时日期前和开启分离的文件夹不删除">定时删除 <small>数值为<code>0</code>时关闭</small></h5>
|
582 | 586 | <form action="<?php echo $_SERVER['SCRIPT_NAME']; ?>" method="post">
|
583 | 587 | <div class="input-group">
|
|
588 | 592 | <input type="hidden" class="form-control" name="update" value="<?php echo date("Y-m-d H:i:s"); ?>" placeholder="隐藏的保存">
|
589 | 593 | </form>
|
590 | 594 | </div>
|
591 |
| - <div class="col-md-4"> |
592 |
| - <h5 class="header-dividing">清理缓存 <small>已缓存: <?php echo getFileNumber(APP_ROOT . $config['path'] . 'cache/') . '文件 | 占用' . getDistUsed(getDirectorySize(APP_ROOT . $config['path'] . 'cache/')); ?></small></h5> |
| 595 | + <div class="col-md-3"> |
| 596 | + <h5 class="header-dividing">清理缓存 <small>已缓存: <?php echo getFileNumber(APP_ROOT . $config['path'] . 'cache/') . '个 | 占用 ' . getDistUsed(getDirectorySize(APP_ROOT . $config['path'] . 'cache/')); ?></small></h5> |
593 | 597 | <form action="<?php echo $_SERVER['SCRIPT_NAME']; ?>" method="post">
|
594 | 598 | <button type="submit" class="btn btn-success" name="delDir" value="cache/" onClick="return confirm('确认要清理缓存?\n* 删除文件夹后将无法恢复! ');"><i class="icon icon-trash"> 清理缓存</i></button>
|
595 | 599 | </form>
|
|
1131 | 1135 | <li>直接输入账号和密码即可完成修改</li>
|
1132 | 1136 | <li>更改后会立即生效并重新登录,请务必牢记账号和密码! </li>
|
1133 | 1137 | <li>如果忘记账号可以打开-><code>/config/config.php</code>文件->找到<code data-toggle="tooltip" title="'user'=><strong>admin</strong>'">user</code>对应的键值->填入</li>
|
1134 |
| - <li>如果忘记密码请将密码->转换成MD5小写-><a href="<?php echo $config['domain'] . '/application/reset_password.php'; ?>" target="_blank" class="text-purple">转换网址</a>->打开<code>/config/config.php</code>文件->找到<code data-toggle="tooltip" title="'password'=>'<strong>e6e0612609</strong>'">password</code>对应的键值->填入</li> |
| 1138 | + <li>如果忘记密码请将密码->转换成SHA256-><a href="<?php echo $config['domain'] . '/application/reset_password.php'; ?>" target="_blank" class="text-purple">转换网址</a>->打开<code>/config/config.php</code>文件->找到<code data-toggle="tooltip" title="'password'=>'<strong>e6e0612609</strong>'">password</code>对应的键值->填入</li> |
1135 | 1139 | </ul>
|
1136 | 1140 | </div>
|
1137 | 1141 | </div>
|
@@ -1569,7 +1573,7 @@ function getWord() {
|
1569 | 1573 | width: 0.1
|
1570 | 1574 | },
|
1571 | 1575 | {
|
1572 |
| - label: '密码(md5)', |
| 1576 | + label: '密码 (SHA256)', |
1573 | 1577 | name: 'password',
|
1574 | 1578 | html: true,
|
1575 | 1579 | width: 0.2
|
@@ -1638,7 +1642,7 @@ function getWord() {
|
1638 | 1642 |
|
1639 | 1643 | /** 引入设置页面检测文件 */
|
1640 | 1644 | <?php if ($config['checkEnv']) require_once APP_ROOT . '/application/check_admin.inc.php'; ?>
|
1641 |
| - |
| 1645 | + |
1642 | 1646 | // 更改网页标题
|
1643 | 1647 | document.title = "图床设置 - <?php echo $config['title']; ?>"
|
1644 | 1648 | </script>
|
|
0 commit comments