示例#1
0
	<td colspan="2"><?php 
echo $sli;
?>
</td>
</tr>
<?php 
printCorePropertyRow(t('Title'), 'fvTitle', $fv->getTitle(), $form->text('fvTitle', $fv->getTitle()));
printCorePropertyRow(t('Description'), 'fvDescription', $fv->getDescription(), $form->textarea('fvDescription', $fv->getDescription()));
printCorePropertyRow(t('Tags'), 'fvTags', $fv->getTags(), $form->textarea('fvTags', $fv->getTags()));
?>

</table>


<?php 
$attribs = FileAttributeKey::getImporterList($fv);
$ft = $fv->getType();
if (count($attribs) > 0) {
    ?>

<br/>

<h4><?php 
    echo t('%s File Properties', $ft);
    ?>
</h4>
<table border="0" cellspacing="0" cellpadding="0" class="ccm-grid">
<?php 
    foreach ($attribs as $at) {
        printFileAttributeRow($at, $fv);
    }