2015-08-03 00:05:20 +02:00
|
|
|
<?php
|
|
|
|
|
2015-10-19 00:45:58 +02:00
|
|
|
HTML::title(array('title'=>$L->g('Themes'), 'icon'=>'paint-brush'));
|
2015-08-03 00:05:20 +02:00
|
|
|
|
2015-10-19 00:45:58 +02:00
|
|
|
echo '
|
|
|
|
<table class="uk-table uk-table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="uk-width-1-5">'.$L->g('Name').'</th>
|
|
|
|
<th class="uk-width-3-5">'.$L->g('Description').'</th>
|
|
|
|
<th class="uk-text-center">'.$L->g('Version').'</th>
|
|
|
|
<th class="uk-text-center">'.$L->g('Author').'</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
';
|
|
|
|
|
|
|
|
foreach($themes as $theme)
|
|
|
|
{
|
|
|
|
echo '
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<div class="plugin-name">'.$theme['name'].'</div>
|
|
|
|
<div class="plugin-links">
|
|
|
|
';
|
2015-08-03 00:05:20 +02:00
|
|
|
|
|
|
|
if($theme['dirname']!=$Site->theme()) {
|
2015-10-19 00:45:58 +02:00
|
|
|
echo '<a class="install" href="'.HTML_PATH_ADMIN_ROOT.'install-theme/'.$theme['dirname'].'">'.$L->g('Install').'</a>';
|
2015-08-03 00:05:20 +02:00
|
|
|
}
|
|
|
|
|
2015-10-19 00:45:58 +02:00
|
|
|
echo '
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>'.$theme['description'].'</td>
|
|
|
|
<td class="uk-text-center">'.$theme['version'].'</td>
|
|
|
|
<td class="uk-text-center"><a targe="_blank" href="'.$theme['website'].'">'.$theme['author'].'</a></td>
|
|
|
|
';
|
|
|
|
|
|
|
|
echo '</tr>';
|
2015-08-03 00:05:20 +02:00
|
|
|
}
|
|
|
|
|
2015-10-19 00:45:58 +02:00
|
|
|
echo '
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2015-11-28 15:47:03 +01:00
|
|
|
';
|