Quote:
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="outer">
<!-- start module menu loop -->
<tr>
<td style="padding-left: 2px; " class="even"><a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a></td>
</tr>
<{foreach item=module from=$block.modules}>
<tr>
<td width="20" align="center" valign="top" class="even">
<{if $module.directory=="newbb"}>
<img src="<{$xoops_imageurl}>images/forum.gif" width="20" height="20" align="absmiddle">
<{elseif $module.directory=='cbb'}>
<img src="<{$xoops_imageurl}>images/forum.gif" width="20" height="20" align="absmiddle">
<{elseif $module.directory=='xoopsmembers'}>
<img src="<{$xoops_imageurl}>images/members.gif" width="18" height="18">
<{elseif $module.directory=='wfdownloads'}>
<img src="<{$xoops_imageurl}>images/downloads.gif" width="18" height="18">
<{elseif $module.directory=='mydownloads'}>
<img src="<{$xoops_imageurl}>images/downloads.gif" width="18" height="18">
<{elseif $module.directory=='xt-repositorio'}>
<img src="<{$xoops_imageurl}>images/downloads.gif" width="18" height="18">
<{elseif $module.directory=='uploader'}>
<img src="<{$xoops_imageurl}>images/downloads.gif" width="18" height="18">
<{elseif $module.directory=='rmservices'}>
<img src="<{$xoops_imageurl}>images/library.gif" width="18" height="18">
<{elseif $module.directory=='rmdp'}>
<img src="<{$xoops_imageurl}>images/library.gif" width="18" height="18">
<{elseif $module.directory=='rmdp'}>
<img src="<{$xoops_imageurl}>images/library.gif" width="18" height="18">
<{elseif $module.directory=='contact'}>
<img src="<{$xoops_imageurl}>images/contacts.gif" width="18" height="18">
<{elseif $module.directory=='mylinks'}>
<img src="<{$xoops_imageurl}>images/links.gif" width="18" height="18">
<{elseif $module.directory=='wffaq'}>
<img src="<{$xoops_imageurl}>images/faq.gif" width="18" height="18">
<{elseif $module.directory=='xoopsfaq'}>
<img src="<{$xoops_imageurl}>images/faq.gif" width="18" height="18">
<{elseif $module.directory=='xoopspartners'}>
<img src="<{$xoops_imageurl}>images/links.gif" width="18" height="18">
<{elseif $module.directory=='smartpartners'}>
<img src="<{$xoops_imageurl}>images/links.gif" width="18" height="18">
<{elseif $module.directory=='xoopspoll'}>
<img src="<{$xoops_imageurl}>images/polls.gif" width="18" height="18">
<{elseif $module.directory=='news'}>
<img src="<{$xoops_imageurl}>images/news.gif" width="18" height="18">
<{elseif $module.directory=='rmgallery'}>
<img src="<{$xoops_imageurl}>images/gallery.gif" width="18" height="18">
<{elseif $module.directory=='xoopsgallery'}>
<img src="<{$xoops_imageurl}>images/gallery.gif" width="18" height="18">
<{elseif $module.directory=='myalbum'}>
<img src="<{$xoops_imageurl}>images/gallery.gif" width="18" height="18">
<{elseif $module.directory=='xmail'}>
<img src="<{$xoops_imageurl}>images/xmail.gif" width="18" height="18">
<{elseif $module.directory=='piCal'}>
<img src="<{$xoops_imageurl}>images/agenda.gif" width="18" height="18">
<{elseif $module.directory=='wfprojects'}>
<img src="<{$xoops_imageurl}>images/sections.gif" width="18" height="18">
<{elseif $module.directory=='wfsections'}>
<img src="<{$xoops_imageurl}>images/sections.gif" width="18" height="18">
<{elseif $module.directory=='sections'}>
<img src="<{$xoops_imageurl}>images/sections.gif" width="18" height="18">
<{elseif $module.directory=='Titulares'}>
<img src="<{$xoops_imageurl}>images/titulares.gif" width="18" height="18">
<{/if}>
</td>
<td class="even">
<a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a>
<{foreach item=sublink from=$module.sublinks}>
<br><img src="<{$xoops_imageurl}>images/root.gif" align="absmiddle"><a class="menuSub" href="<{$sublink.url}>" style='margin-left: 5px;'><{$sublink.name}></a>
<{/foreach}>
</td>
</tr>
<{/foreach}>
<!-- end module menu loop -->
</table>
Now the corresponding modules/system/templates/blocks file on the server doesn't contain the 20x20 image code.
How do I rebuild the default template set? I guess somehow they were corrupted as I was switching between themes. When I update the system file, it says that block_mainmenu is rebuilt and put in the dbase, but it remains the same as that posted above.