* Change sidebar block style.

This commit is contained in:
caoyanyi
2023-07-27 15:39:14 +08:00
parent 31508272c3
commit a4eaf5933e
7 changed files with 323 additions and 296 deletions
+4 -2
View File
@@ -9,10 +9,12 @@ declare(strict_types=1);
* @link https://www.zentao.net
*/
namespace zin;
$docContent = null;
if(empty($docs))
{
if($browseType != 'bySearch' && $libID && (common::hasPriv('doc', 'create') || (common::hasPriv('api', 'create') && !$apiLibID))) include 'createbutton.html.php';
div
$docContent = div
(
setClass('table-empty-tip flex justify-center items-center'),
span
@@ -42,7 +44,7 @@ else
$params = "objectID={$objectID}&libID={$libID}&moduleID={$moduleID}&browseType={$browseType}&orderBy={$orderBy}&param={$param}&recTotal={recTotal}&recPerPage={recPerPage}&pageID={page}";
$tableData = initTableData($docs, $cols);
dtable
$docContent = dtable
(
set::userMap($users),
set::cols($cols),