forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: jayos on August 25, 2004, 04:06:39 pm
-
I want to change the location of the buttons in the smf theme see pic
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.jaypix.co.uk%2Fimages%2Fjaypix%2520gallery.jpg&hash=0da43ab3af8aa090daa2374c1f8eaf0df0b998ac)
But as you have probably guessed from my other posts my php skills are close to nill
Can someone point me in the right direction
-
Found this bit of code in theme.php
// HTML template for main menu
$template_main_menu = <<<EOT
<span class="topmenu">
<!-- BEGIN album_list -->
<a href="/smf/index.php" title="Forum Index"><img src="themes/smf/images/home.gif" alt="Forum Index" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}"><img src="themes/smf/images/index.gif" alt="{ALB_LIST_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<!-- END album_list -->
<!-- BEGIN my_gallery -->
<a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}"><img src="themes/smf/images/gallery.gif" alt="{MY_GAL_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
<a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}"><img src="themes/smf/images/memberlist.gif" alt="{MEMBERLIST_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<!-- END allow_memberlist -->
<!-- BEGIN my_profile -->
<a href="{MY_PROF_TGT}"><img src="themes/smf/images/profile.gif" alt="{MY_PROF_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<!-- END my_profile -->
<!-- BEGIN faq -->
<a href="{FAQ_TGT}" title="{FAQ_TITLE}"><img src="themes/smf/images/faq.gif" alt="{FAQ_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<!-- END faq -->
<!-- BEGIN enter_admin_mode -->
<a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}"><img src="themes/smf/images/admin.gif" alt="{ADM_MODE_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
<a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}"><img src="themes/smf/images/usermode.gif" alt="{USR_MODE_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
<a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}"><img src="themes/smf/images/submit.gif" alt="{UPL_PIC_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<!-- END upload_pic -->
<!-- BEGIN register -->
<a href="{REGISTER_TGT}" title="{REGISTER_TITLE}"><img src="themes/smf/images/register.gif" alt="{REGISTER_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<!-- END register -->
<!-- BEGIN login -->
<a href="{LOGIN_TGT}"><img src="themes/smf/images/login.gif" alt="{LOGIN_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<!-- END login -->
<!-- BEGIN logout -->
<a href="{LOGOUT_TGT}"><img src="themes/smf/images/logout.gif" alt="{LOGOUT_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<!-- END logout -->
<br>
<a href="{LASTUP_TGT}"><img src="themes/smf/images/uploads.gif" alt="{LASTUP_LNK}" style="margin: 2px 0;" border="0" width="76" height="16"/></a>
<a href="{LASTCOM_TGT}"><img src="themes/smf/images/comments.gif" alt="{LASTCOM_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<a href="{TOPN_TGT}"><img src="themes/smf/images/viewed.gif" alt="{TOPN_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<a href="{TOPRATED_TGT}"><img src="themes/smf/images/toprated.gif" alt="{TOPRATED_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<a href="{FAV_TGT}"><img src="themes/smf/images/favorites.gif" alt="{FAV_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
<a href="{SEARCH_TGT}"><img src="themes/smf/images/search.gif" alt="{SEARCH_LNK}" style="margin: 2px 0;" border="0" width="76" height="16" /></a>
</span>
EOT;
I just took out the <br> about halfway down and problem solved
sorry for the silly question ;)