* adjust the doc page.

This commit is contained in:
wangchunsheng
2010-09-12 08:51:12 +00:00
parent 9571588183
commit cd3ffa2daf
2 changed files with 1 additions and 2 deletions

View File

@@ -231,7 +231,6 @@ class product extends control
$this->view->position[] = $this->lang->product->doc;
$this->view->product = $product;
$this->view->docs = $this->loadModel('doc')->getProductDocs($productID);
$this->view->modules = $this->doc->getProductModulePairs();
$this->view->users = $this->loadModel('user')->getPairs('noletter');
$this->display();
}

View File

@@ -47,7 +47,7 @@
?>
<tr class='a-center'>
<td><?php if($canView) echo html::a($viewLink, sprintf('%03d', $doc->id)); else printf('%03d', $doc->id);?></td>
<td><?php echo $doc->name;?></td>
<td><?php echo $doc->module;?></td>
<td class='a-left nobr'><nobr><?php echo html::a($viewLink, $doc->title);?></nobr></td>
<td><?php echo $users[$doc->addedBy];?></td>
<td><?php echo $doc->addedDate;?></td>