22 lines
900 B
PHTML
Executable File
22 lines
900 B
PHTML
Executable File
<?
|
|
// 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')?>">
|
|
<? if (!empty($mainFields)): ?>
|
|
<? foreach ($mainFields as $key => $current): ?>
|
|
<? if (strcmp($key,"Language") == 0): ?>
|
|
<?$tr = "Language::" .$current['value'] ; ?>
|
|
<tr><th><?=$this->transEsc($key)?>:</th><td><?=$this->translate("$tr")?></td></tr>
|
|
<? continue; ?>
|
|
<? endif; ?>
|
|
<tr><th><?=$this->transEsc($key)?>:</th><td><?=$current['value']?></td></tr>
|
|
<? endforeach; ?>
|
|
<? else: ?>
|
|
<tr><td><?=$this->transEsc('no_description')?></td></tr>
|
|
<? endif; ?>
|
|
</table>
|