- fix undefined smarty foreach loop name

git-svn-id: http://piwigo.org/svn/trunk@2558 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2008-09-21 11:02:04 +00:00
parent a3a378d1de
commit fc5a93c386

View file

@ -37,7 +37,7 @@
<td>{'site_local'|@translate} / {'site_remote'|@translate}</td>
<td>{'Actions'|@translate}</td>
</tr>
{foreach from=$sites item=site}
{foreach from=$sites item=site name=site}
<tr style="text-align:left" class="{if $smarty.foreach.site.index is odd}row1{else}row2{/if}"><td>
<a href="{$site.NAME}">{$site.NAME}</a><br/>({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d element','%d elements',$site.IMAGES)})
</td><td>