Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: smf theme changing button locations  (Read 2758 times)

0 Members and 1 Guest are viewing this topic.

jayos

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
    • Jaypix
smf theme changing button locations
« on: August 25, 2004, 04:06:39 pm »

I want to change the location of the buttons in the smf theme see pic

(http://www.jaypix.co.uk/images/jaypix%20gallery.jpg)

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
« Last Edit: August 25, 2004, 09:16:29 pm by GauGau »
Logged

jayos

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
    • Jaypix
Re: smf theme changing button locations
« Reply #1 on: August 25, 2004, 04:23:12 pm »

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  ;)
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.