{include file="$blogtemplate/header.template"}
{include file="$blogtemplate/sidebar-l.template"}
{include file="$blogtemplate/sidebar-r.template"}
<div id="content">
<h2>{$locale->tr("albums")}</h2>
 <!-- album contents go here -->
<table style="border:0px;width:90%;" summary="Albums">
<tr>
  {assign var="counter" value=0}
  {foreach from=$albums item=album}
  <td style="width:33%;" align="center">
   <a class="nodecoration" href="{$url->albumLink($album)}">
   <img style="border:0px;" src="{$url->getUrl("/imgs/admin/icon_folder-72.png")}" alt="Folder" /><br/>
   {$album->getName()} ({$album->getNumResources()})
  </a>
  {assign var="counter" value="`$counter+1`"}
  </td>
  {if $counter%3 == 0}
   </tr>
   <tr>
  {/if}
 {/foreach}
 <td></td></tr>
 </table>
 <!-- end of the albums -->
 </div>
{include file="$blogtemplate/footer.template"}
