Areas to edit
Gallery.template.php
Around line 66
echo '<div align="right">';
if ($g_gallery)
echo '<a href="', $scripturl, '?action=gallery;su=user;u=', $ID_MEMBER, '">', $txt['gallery_text_mygallery'], '</a> ';
if ($g_add && !($context['user']['is_guest']))
echo '<a href="', $scripturl, '?action=gallery;sa=myimages;u=', $ID_MEMBER, '">', $txt['gallery_text_myimages'], '</a> <a href="', $scripturl, '?action=gallery;sa=search">', $txt['gallery_text_search'], '</a>';
echo '</div>';
Ardound line 219
echo '<div align="right">';
if($g_gallery)
echo '<a href="', $scripturl, '?action=gallery;su=user;u=', $ID_MEMBER, '">', $txt['gallery_text_mygallery'], '</a> ';
if($g_add && !($context['user']['is_guest']))
echo '<a href="', $scripturl, '?action=gallery;sa=myimages;u=', $ID_MEMBER, '">', $txt['gallery_text_myimages'], '</a> <a href="', $scripturl, '?action=gallery;sa=search">', $txt['gallery_text_search'], '</a>';
echo '</div>';