Author Topic: Button for Classic YaBB SE theme (by the YaBB SE Team)  (Read 6128 times)

Offline Daniel15

Button for Classic YaBB SE theme (by the YaBB SE Team)
« on: May 07, 2006, 03:53:20 pm »
This is a shop button for the classic YaBB SE theme (which some people still use :))

The file for the button is attached to this post. Please save this to Themes/classic/images/english/shop.gif

Code modifications:
Open Themes/classic/Index.template.php
Find:

	
// The [calendar]!
	
if (
$context['allow_calendar'])
	
	
echo 
'
	
	
	
	
<a href="'
$scripturl'?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/calendar.gif" alt="' $txt['calendar24'] . '" border="0" />' $txt['calendar24']), '</a>'$context['menu_separator'];


Add after:

	
// The shop
	
	
echo 
'
	
	
	
	
<a href="'
$scripturl'?action=shop">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/shop.gif" alt="Shop" border="0" />' "Shop"), '</a>'$context['menu_separator'];


Then, your shop button should be working :D
« Last Edit: May 07, 2006, 03:55:56 pm by daniel15 »