?>
</textarea>
<?php
} else {
?>
<?php
p($text);
?>
<?php
}
?>
</li>
<?php
} elseif ($dbColumn->getType() == ArticleTypeField::TYPE_TOPIC) {
$articleTypeField = new ArticleTypeField($articleObj->getType(), substr($dbColumn->getName(), 1));
$rootTopicId = $articleTypeField->getTopicTypeRootElement();
$rootTopic = new Topic($rootTopicId);
$subtopics = Topic::GetTree($rootTopicId);
$articleTopicId = $articleData->getProperty($dbColumn->getName());
?>
<li>
<label><?php
echo htmlspecialchars($dbColumn->getDisplayName($articleObj->getLanguageId()));
?>
</label>
<?php
if (count($subtopics) == 0) {
?>
<?php
putGS('No subtopics available');
?>