This commit is contained in:
sunguangming
2024-05-20 14:28:49 +08:00
parent 492c7be4d8
commit 3aa3a33e6a
2 changed files with 7 additions and 6 deletions
+6 -5
View File
@@ -1413,11 +1413,12 @@ class story extends control
$stories2Link = $this->story->getStories2Link($storyID, $browseType, $queryID, $pager);
/* Assign. */
$this->view->title = $this->lang->story->linkStory . "STORY" . $this->lang->hyphen .$this->lang->story->linkStory;
$this->view->type = $type;
$this->view->pager = $pager;
$this->view->stories2Link = $stories2Link;
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->view->title = $this->lang->story->linkStory . "STORY" . $this->lang->hyphen .$this->lang->story->linkStory;
$this->view->type = $type;
$this->view->pager = $pager;
$this->view->stories2Link = $stories2Link;
$this->view->maxGradeGroup = $this->story->getMaxGradeGroup();
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->display();
}
+1 -1
View File
@@ -29,7 +29,7 @@ $cols['title']['flex'] = 1;
$cols = array_map(function($col){unset($col['sortType']); return $col;}, $cols);
$data = array();
foreach($stories2Link as $linkStory) $data[] = $this->story->formatStoryForList($linkStory);
foreach($stories2Link as $linkStory) $data[] = $this->story->formatStoryForList($linkStory, array(), $linkStory->type, $maxGradeGroup);
modalHeader(set::title($lang->story->linkStory));