Example #1
0
<?php 
$attribs = FileAttributeKey::getUserAddedList();
if (count($attribs) > 0) {
    ?>

<br/>

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

<br/>

</div>

<h4><?php 
echo t('File Preview');
?>
</h4>
    ?>
</td>
</tr>
<?php 
}
?>
</table>

</div>

<div id="ccm-file-manager-add-complete-attributes-tab" style="display: none">

<table border="0" cellspacing="0" cellpadding="0" class="ccm-grid" width="100%">  
<?php 
foreach ($attribs as $at) {
    printFileAttributeRow($at, $fv, $defaultPropertyVals['ak' . $at->getAttributeKeyID()]);
}
?>
</table>

</div>
</div>

<?php 
if ($_REQUEST['uploaded']) {
    ?>

	<div id="ccm-file-manager-add-complete-sets-tab" style="display: none">	
		<div class="ccm-files-add-to-sets-wrapper"><?php 
    Loader::element('files/add_to_sets', array('disableForm' => FALSE, 'disableTitle' => true));
    ?>