Fixed bad url in theme page
This commit is contained in:
parent
31eabf84b4
commit
5656d116af
3 changed files with 22 additions and 7 deletions
|
|
@ -1,7 +1,15 @@
|
|||
{extends file="admin/layout.tpl"}
|
||||
{block name=content}
|
||||
<p>
|
||||
Theme: {$theme} </br>
|
||||
Exercice: {$ex}
|
||||
Theme: {$theme->name} </br>
|
||||
{if isset($ex)}
|
||||
Exercice: {$ex->id}
|
||||
{else}
|
||||
<ul>
|
||||
{foreach $theme->get_exercices_ordered() as $ex}
|
||||
<li><a href="/{$SALT_ADMIN}/ex/{$theme->id}-{$theme->name}/{$ex->id}">{$ex->get_name()}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
</p>
|
||||
{/block}
|
||||
|
|
|
|||
Reference in a new issue