mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +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 printMLText("keywords");?>:</td>
|
||||||
<td><?php print $document->getKeywords();?></td>
|
<td><?php print $document->getKeywords();?></td>
|
||||||
</tr>
|
</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>
|
</table>
|
||||||
<?php
|
<?php
|
||||||
UI::contentContainerEnd();
|
UI::contentContainerEnd();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user