Author Topic: MNS Style  (Read 4129 times)

Offline Daniel15

MNS Style
« on: February 10, 2007, 01:27:50 pm »
This is a shop button for the MNS Style theme.

Code modifications:
Open Themes/mns_style/index.template.php
Find:

	
if (
$context['current_action'] == 'theme')
	
	
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' 'profile' 'admin';


Add after:

	
if (
$context['current_action'] == 'shop')
	
	
$current_action 'shop';



Also, find:

	
// The [calendar]!
	
if (
$context['allow_calendar'])
	
	
	
	

	
echo
'
	
	
	
	
<td align="center" class="menubg' 
$current_action == 'calendar' '2' '' '">
	
	
	
	
	
<a href="'
$scripturl'?action=calendar">' $txt['calendar24'] , '</a>
	
	
	
	
	

	
	
	
	
</td>'
;
	


Add after:

	
// The shop
	
echo
'
	
	
	
	
<td align="center" class="menubg' 
$current_action == 'shop' '2' '' '">
	
	
	
	
	
<a href="'
$scripturl'?action=shop">Shop</a>
	
	
	
	
	

	
	
	
	
</td>'
;
	


Then, your shop button should be working :D