Exemplo n.º 1
0
// Add the cas-browser styles
App::Get()->response->addStylesheet($module->moduleStatic . '/css/cas-browser.css');
// Prepare BreadcrumbWigdet
$bcw = new BreadcrumbsWidget();
$bcw->add('Home', SITE_ROOT . '/');
$bcw->add('Browse By Type', $module->moduleRoot . '/');
$bcw->add($productTypeName, $module->moduleRoot . "/dataset/{$productTypeId}");
$bcw->add('Products', $module->moduleRoot . "/products/{$productTypeId}/page/{$returnPage}");
$bcw->add(App::Get()->request->segments[0]);
?>


<hr class="space"/>
<div class="span-22 last prepend-1 append-1">
	<div id="cas_browser_product_metadata">
		<h2 class="larger loud">Product Metadata: <?php 
echo wordwrap($productName, 62, "<br />", true);
?>
</h2>
		<?php 
$metadataWidget->render();
?>
	</div>
	<div id="cas_browser_product_download">
		<h2 class="larger loud">Download this Product:</h2>
		<?php 
$productDownloadWidget->render();
?>
	</div>
</div>
Exemplo n.º 2
0
				<?php 
if ($ptVisibilityLevel == CasBrowser::VIS_LIMIT) {
    ?>
				<div class="notice">Additional information may exist that is not visible
				due to your current access permissions.</div>
				<?php 
}
?>

				<?php 
echo $typeMetadataWidget->render();
?>
			</div>
				
			<div id="data"></div>
		</div>

		<?php 
if (!App::Get()->settings['browser_suppress_system_metadata']) {
    ?>
		<div id="section_system_metadata">
			<h3>System Metadata:</h3>
			<?php 
    echo $systemMetadataWidget->render();
    ?>
		</div>
		<?php 
}
?>
	</div>
</div>