aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-09-21 11:02:04 +0000
committerrvelices <rv-github@modusoptimus.com>2008-09-21 11:02:04 +0000
commitfc5a93c386955d577f8ed948c563480b490cff7f (patch)
tree489759de0a7a0e689d76573c1005087824e5f8ba
parenta3a378d1de9cfc89d9135c73c5177d4c27b8143b (diff)
- fix undefined smarty foreach loop name
git-svn-id: http://piwigo.org/svn/trunk@2558 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/template/goto/site_manager.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/template/goto/site_manager.tpl b/admin/template/goto/site_manager.tpl
index 367f67a34..61c0157cf 100644
--- a/admin/template/goto/site_manager.tpl
+++ b/admin/template/goto/site_manager.tpl
@@ -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>