well, you did only half of what I told you: you pasted the code in. You failed to modify as needed (I suggested to add <tr> </tr> tags, remember?). Taking a closer look at your theme, I suggest to remove the table cells instead, as you do the line breaks differently, so here's the code you need to paste in:// HTML template for gallery admin menu
$template_gallery_admin_menu = <<<EOT
<div align="center">
<table cellpadding="0" cellspacing="1">
<tr>
<td class="nav">
<span class="header">Administration</span>
<!-- BEGIN admin_approval -->
<a href="editpics.php?mode=upload_approval" title="{UPL_APP_TITLE}" id="admin_menu_anim">{UPL_APP_LNK}</a>
<!-- END admin_approval -->
<a href="admin.php" title="{ADMIN_TITLE}">{ADMIN_LNK}</a>
<a href="catmgr.php" title="{CATEGORIES_TITLE}">{CATEGORIES_LNK}</a>
<a href="albmgr.php{CATL}" title="{ALBUMS_TITLE}">{ALBUMS_LNK}</a>
<a href="groupmgr.php" title="{GROUPS_TITLE}">{GROUPS_LNK}</a>
<a href="usermgr.php" title="{USERS_TITLE}">{USERS_LNK}</a>
<a href="banning.php" title="{BAN_TITLE}">{BAN_LNK}</a>
<a href="reviewcom.php" title="{COMMENTS_TITLE}">{COMMENTS_LNK}</a>
<!-- BEGIN log_ecards -->
<a href="db_ecard.php" title="{DB_ECARD_TITLE}">{DB_ECARD_LNK}</a>
<!-- END log_ecards -->
<a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a>
<a href="searchnew.php" title="{SEARCHNEW_TITLE}">{SEARCHNEW_LNK}</a>
<a href="util.php" title="{UTIL_TITLE}">{UTIL_LNK}</a>
<a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a>
<!-- BEGIN documentation -->
<a href="{DOCUMENTATION_HREF}" title="{DOCUMENTATION_TITLE}" target="cpg_documentation">{DOCUMENTATION_LNK}</a>
<!-- END documentation -->
</td>
</tr>
</table>
</div>
EOT;
// HTML template for user admin menu
$template_user_admin_menu = <<<EOT
<div align="center">
<table cellpadding="0" cellspacing="1">
<tr>
<td class="nav">
<span class="header">Administration</span>
<a href="albmgr.php" title="{ALBMGR_TITLE}">{ALBMGR_LNK}</a>
<a href="modifyalb.php" title="{MODIFYALB_TITLE}">{MODIFYALB_LNK}</a>
<a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a>
<a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a>
</td>
</tr>
</table>
</div>
EOT;
I recommend changing the menu spacer as well, it doesn't look good in other languages than English (I tested it with my German gallery, where the menu items take more space, so additional line breaks are generated that don't look nice). To do that, add// HTML template for template sys_menu spacer
$template_sys_menu_spacer ="";
As an alternative, I attached a copy of theme.php (rename it from theme.php.txt to theme.php before using it).