File: /var/www/apklausos/application/views/themeOptions/availablethemelist.php
<?php
/**
* @var QuestionTheme $oQuestionTheme
*/
$aQuestionThemes = $oQuestionTheme->getAvailableQuestionThemes();
?>
<?php if (!empty($aQuestionThemes['available_themes'])): ?>
<h3><?php eT('Available question themes:'); ?></h3>
<div class="row">
<div class="col-sm-12 content-right">
<div id="templates_no_db" >
<table class="items table table-hover">
<thead>
<tr>
<th><?php eT('Preview'); ?></th>
<th><?php eT('Folder'); ?></th>
<th><?php eT('Description'); ?></th>
<th><?php eT('Type'); ?></th>
<th><?php eT('Extends'); ?></th>
<th></th>
</tr>
</thead>
<tbody>
<?php foreach ($aQuestionThemes['available_themes'] as $oTheme): ?>
<tr class="odd">
<td class="col-lg-1">preview</td>
<td class="col-lg-2"><?php echo $oTheme->name; ?></td>
<td class="col-lg-3"><?php echo $oTheme->description; ?></td>
<td class="col-lg-2"><?php eT('XML themes'); ?></td>
<td class="col-lg-2"><?php echo $oTheme->extends; ?></td>
<td class="col-lg-1"><?php echo $oTheme->manifestbuttons; ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>
<?php endif; ?>
<?php if (!empty($aQuestionThemes['broken_themes'])): ?>
<h3><?php eT('Broken question themes'); ?></h3>
<div id="templates_no_db" >
<table class="items table table-hover">
<thead>
<tr>
<th><?php eT('Path'); ?></th>
<th><?php eT('Error message'); ?></th>
<th></th>
</tr>
</thead>
<tbody>
<?php foreach ($aQuestionThemes['broken_themes'] as $oTheme): ?>
<?php // echo $oTemplate; ?>
<tr class="odd">
<td class="col-lg-1 text-danger"><?php echo $oTheme['path']; ?></td>
<td class="col-lg-10 ">
<blockquote><?php echo $oTheme['exception']->getMessage(); ?></blockquote>
</td>
<td></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<?php endif; ?>