22 lines
927 B
PHTML
Executable File
22 lines
927 B
PHTML
Executable File
<?php
|
|
// Set page title.
|
|
$this->headTitle($this->translate('Description') . ': ' . $this->driver->getBreadcrumb());
|
|
|
|
$formatter = $this->recordDataFormatter();
|
|
$mainFields = $formatter->getData($driver, $formatter->getDefaults('description'));
|
|
?>
|
|
<table class="table table-striped" summary="<?=$this->transEsc('Description')?>">
|
|
<?php if (!empty($mainFields)): ?>
|
|
<?php foreach ($mainFields as $key => $current): ?>
|
|
<?php if (strcmp($key,"Language") == 0): ?>
|
|
<?$tr = "Language::" .$current['value'] ; ?>
|
|
<tr><th><?=$this->transEsc($key)?>:</th><td><?=$this->translate("$tr")?></td></tr>
|
|
<?php continue; ?>
|
|
<?php endif; ?>
|
|
<tr><th><?=$this->transEsc($key)?>:</th><td><?=$current['value']?></td></tr>
|
|
<?php endforeach; ?>
|
|
<?php else: ?>
|
|
<tr><td><?=$this->transEsc('no_description')?></td></tr>
|
|
<?php endif; ?>
|
|
</table>
|