Author Topic: Need Button for MegaPolis  (Read 1896 times)

Offline Brodie

Need Button for MegaPolis
« on: June 14, 2009, 07:29:36 pm »

Offline UnclEo

Re: Need Button for MegaPolis
« Reply #1 on: June 16, 2009, 01:06:38 am »
file style.css
search for
Code: [Select]
#kwick .opt11 {
background-color:transparent;
outline: none
border-right: 0px none;
}

add after
Code: [Select]
#kwick .opt12 {
background-color:transparent;
outline: none
border-right: 0px none;
}

file index.template.php
search for
Code: [Select]
// Otherwise, they might want to [logout]...
  if ($context['user']['is_logged'])
echo '<li><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '" class="kwick opt11">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.png" alt="' . $txt[108] . '" style="margin: 0px 0;" border="0" /><span>' : $txt[108]), '</span></a></li>';

add after
Code: [Select]
// If the user is a guest, show [shop] button.
  if ($context['user']['is_logged'])
echo '<li><a href="', $scripturl, '?action=shop" class="kwick opt12">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/shop.png" alt="' . $txt['shop'] . '" style="margin: 0px 0;" border="0" /><span>' : $txt['shop']), '</span></a></li>';

Move the included file "shop.png" to "./Themes/MegaPolis/images/user_languages".
« Last Edit: June 16, 2009, 02:37:15 pm by UnclEo »