mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
- output list of categories
This commit is contained in:
parent
7d9ccc3951
commit
1c296ea582
|
@ -106,6 +106,18 @@ print "<a class=\"infos\" href=\"mailto:".$owner->getEmail()."\">".$owner->getFu
|
|||
<td><?php printMLText("keywords");?>:</td>
|
||||
<td><?php print $document->getKeywords();?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php printMLText("categories");?>:</td>
|
||||
<td>
|
||||
<?php
|
||||
$cats = $document->getCategories();
|
||||
$ct = array();
|
||||
foreach($cats as $cat)
|
||||
$ct[] = $cat->getName();
|
||||
echo implode(', ', $ct);
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
UI::contentContainerEnd();
|
||||
|
|
Loading…
Reference in New Issue
Block a user