叙述、别离 пре 1 година
родитељ
комит
3278b95bff
3 измењених фајлова са 5 додато и 5 уклоњено
  1. +2
    -2
      src/admin/makehtml_archives_action.php
  2. +2
    -2
      src/admin/makehtml_list_action.php
  3. +1
    -1
      src/user/templets/index.htm

+ 2
- 2
src/admin/makehtml_archives_action.php Прегледај датотеку

@@ -79,8 +79,8 @@ $ttime = time() - $sstime;
$ttime = number_format(($ttime / 60), 2);
//返回提示信息
$tjlen = $totalnum > 0 ? ceil(($tjnum / $totalnum) * 100) : 100;
$tjsta = "<div style='margin:0 auto 20px;width:360px;height:16px;text-align:left;border:1px solid #1eb867;border-radius:.35rem'><div style='max-width:360px;width:$tjlen%;height:16px;background:#1eb867;border-radius:.35rem'></div></div>";
$tjsta .= "到达位置<span class='text-primary'>".($startdd + $pagesize)."</span>,用时<span class='text-primary'>{$ttime}</span>分钟,完成更新文档总数<span class='text-primary'>$tjlen</span>%";
$tjsta = "<div class='progress mb-3'><div class='progress-bar progress-bar-striped bg-success' role='progressbar' aria-valuenow='$tjlen%' aria-valuemin='0' aria-valuemax='100' style='width:$tjlen%'>$tjlen%</div></div>";
$tjsta .= "更新文档[id:".($startdd + $pagesize)."],用时<span class='text-primary'>{$ttime}</span>分钟,完成更新文档总数<span class='text-primary'>$tjlen%</span>";
//速度测试
if ($tjnum < $totalnum) {
$nurl = "makehtml_archives_action.php?endid=$endid&startid=$startid&typeid=$typeid";


+ 2
- 2
src/admin/makehtml_list_action.php Прегледај датотеку

@@ -109,11 +109,11 @@ if ($nextpage >= $totalpage && $finishType) {
$typename = isset($cfg_Cs[$tid][3])? base64_decode($cfg_Cs[$tid][3]) : "";
if ($finishType) {
$gourl = "makehtml_list_action.php?gotype={$gotype}&uppage=$uppage&maxpagesize=$maxpagesize&typeid=$typeid&pageno=$nextpage";
ShowMsg("更新栏目<span class='text-primary'>(id:".$tid."){$typename}</span>,继续更新栏目", $gourl, 0, 100);
ShowMsg("更新{$typename}栏目[id:".$tid."],继续更新栏目", $gourl, 0, 100);
exit();
} else {
$gourl = "makehtml_list_action.php?gotype={$gotype}&uppage=$uppage&mkpage=$mkpage&maxpagesize=$maxpagesize&typeid=$typeid&pageno=$pageno";
ShowMsg("更新栏目<span class='text-primary'>(id:".$tid."){$typename}</span>,继续更新栏目", $gourl, 0, 100);
ShowMsg("更新{$typename}栏目[id:".$tid."],继续更新栏目", $gourl, 0, 100);
exit();
}
}

+ 1
- 1
src/user/templets/index.htm Прегледај датотеку

@@ -76,7 +76,7 @@
<div class="media-body item-article">
<h4 class="mb-3 userspace">用户空间<span class="info">(<?php echo $minfos['totaluse'];?>MB/<?php echo $cfg_mb_max;?>MB)</span></h4>
<div class="progress">
<div class="progress-bar progress-bar-striped bg-success" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" style="width:<?php echo $ddsize;?>%"><?php echo $ddsize;?>%</div>
<div class="progress-bar progress-bar-striped bg-success" role="progressbar" aria-valuenow="<?php echo $ddsize;?>%" aria-valuemin="0" aria-valuemax="100" style="width:<?php echo $ddsize;?>%"><?php echo $ddsize;?>%</div>
</div>
</div>
</div>


Loading…
Откажи
Сачувај