From b10592575bf80d42eedc16f02b63262e65633094 Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Thu, 22 Jul 2021 17:30:03 +0800 Subject: [PATCH] * Finish task #40507. --- module/doc/model.php | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/module/doc/model.php b/module/doc/model.php index 64175bb00d..364ca29d4d 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -1823,19 +1823,43 @@ class docModel extends model { if($type != 'custom' and $type != 'book' and empty($objects)) return ''; - $output = ''; + $output = ''; + $closedProjectsHtml = ''; + $clseedProjects = array(); + $maxHeight = ($type == 'project' and $this->app->openApp == 'doc') ? '260px' : '290px'; + $class = ($type == 'project' and $this->app->openApp == 'doc') ? 'col-left' : ''; if($this->app->openApp == 'doc' and $type != 'custom' and $type != 'book') { - $output = "
"; } - $output .= ""; } if(!empty($libs))