piwigo/admin/themes/default/template/themes_new.tpl
patdenice 5a44a6f532 - Fix tab display on IE
- Display missing screenshot on themes_new if screenshot is missing.

git-svn-id: http://piwigo.org/svn/trunk@6015 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 21:34:37 +00:00

17 lines
No EOL
570 B
Smarty

<div class="titrePage">
<h2>{'Add New Theme'|@translate}</h2>
</div>
{if not empty($new_themes)}
<div class="themeBoxes">
{foreach from=$new_themes item=theme name=themes_loop}
<div class="themeBox">
<div class="themeName">{$theme.name}</div>
<div class="themeShot"><img src="{$theme.screenshot}" onerror="this.src='{$default_screenshot}'"></div>
<div class="themeActions"><a href="{$theme.install_url}">{'Install'|@translate}</a></div>
</div>
{/foreach}
</div> <!-- themeBoxes -->
{else}
<p>{'There is no other theme available.'|@translate}</p>
{/if}