a img{ border: 0; } '; // Generate a strip of buttons, out of buttons. function template_button_strip($button_strip, $direction = 'top', $force_reset = false, $custom_td = '') { global $settings, $buttons, $context, $txt, $scripturl; if (empty($button_strip)) return ''; // Create the buttons... foreach ($button_strip as $key => $value) { if (isset($value['test']) && empty($context[$value['test']])) { unset($button_strip[$key]); continue; } elseif (!isset($buttons[$key]) || $force_reset) $buttons[$key] = '' . ($settings['use_image_buttons'] ? '' : $txt[$value['text']]) . ''; $button_strip[$key] = $buttons[$key]; } echo '