0 Membros e 1 Visitante estão a ver este tópico.
// the upshrink image, right-floated echo ' <img id="upshrink" src="', $settings['images_url'], '/upshrink.png" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />'; echo ' ', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />' : '<div id="siteslogan" class="align_right">' . $settings['site_slogan'] . '</div>', ' </div>
// the upshrink image, right-floated echo ' <img id="upshrink" src="', $settings['images_url'], '/upshrink.png" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />'; template_site_menu(); echo ' </div>
// Generate a strip of buttons.function template_button_strip($button_strip, $direction = 'top', $strip_options = array())
// Extra Menu by smfpt.net function template_site_menu(){ global $context, $settings, $options, $scripturl, $txt; // Work out where we currently are. $current_action = 'home'; if (in_array($context['current_action'], array('downloads', 'upgrade', 'archive', 'mods'))) $current_action = 'downloads'; if (in_array($context['current_action'], array('about', 'staff'))) $current_action = 'about'; if (in_array($context['current_action'], array('download', 'about', 'projects', 'bagis'))) $current_action = $context['current_action']; echo ' <div id="site_menu" class="align_right"> <ul class="dropmenu" id="site_nav"> <li> <a class="firstlevel" href="http://www.smfpt.net"><span class="firstlevel">Portal</span></a> </li> <li> <a class="' , $current_action == 'home' ? 'active ' : '' , 'firstlevel" href="', $scripturl, '"><span class="firstlevel">Comunidade</span></a> </li> <li> <a class=="firstlevel" href="http://download.smfpt.net"><span class="firstlevel">Baixar</span></a> </li> <li> <a class="' , $current_action == 'projects' ? 'active ' : '' , 'firstlevel" href="' . $scripturl . '?action=projects"><span class="firstlevel">Bugs</span></a> </li> <li> <a class="' , $current_action == 'about' ? 'active ' : '' , 'firstlevel" href="#"><span class="firstlevel"><strike>Demo Themes</strike></span></a> <ul> <li> <a href="#" class=""><span>Standart</span></a> </li> </ul> </li> <li> <a class="' , $current_action == 'bagis' ? 'active ' : '' , 'firstlevel" href="#"><span class="firstlevel"><strike>Manual Online</strike></span></a> </li> </ul></div>';}
#site_menu{ padding: 12px 0 4px 1em; margin: 0; overflow: hidden; font-size: 1.1em; font-family: tahoma, sans-serif;}#site_nav li a.active{ background: url(../images/theme/menu_gfx.png) no-repeat 100% -31px;}#site_nav li a.active span.firstlevel{ background: url(../images/theme/menu_gfx.png) no-repeat 0 -31px;}/* Our site menu needs some adjusting to support drop downs */#site_menu ul li{ position: static;}#site_menu ul li ul{ width: 12.2em;}#site_menu ul li ul li{ width: 12em;}