Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
#981
Hilfe zu SMF (German) / Re: Möchte den Kopf des Forums entfernen
joulukuu 17, 2006, 12:29:11 IP tekijältä MrPM
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=help">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '</a>';<br />}<br /><br />// Generate a strip of buttons, out of buttons.<br />function  ............ ($button_strip, $direction = 'top', $force_reset = false, $ ............  = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> if ( ............ ($button_strip))<br /> return '';<br /><br /> // Create  ............  buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ >' : $txt[$value['text']]) . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>';<br />}<br /><br />?>  ......
#982
Arşiv / Re: Logoyu Kaç Pixel Yapmam Lazım :(
syyskuu 04, 2006, 10:17:04 AP tekijältä eglencemix.com
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc3"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc3" media="print" />';< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))<br /> echo '<br /> <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ ="titlebg2" height="32"><br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';<br /><br /> // this is the upshrink button for the user info section<br /> echo '<br /> < ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type="hidden"  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '">&nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ >&nbsp;</td>' : '';<br /><br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ </td>' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............ ;</td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#983
Archief / Re: Kan iemand mij helpen?
elokuu 19, 2006, 07:10:06 AP tekijältä Aaron
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" media="print" />';< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ <br /> <img src="', $settings['images_url'], '/smflogo.jpg" style="float: left;" alt="" /><br />  ............ ="top" class="smalltext" style="width: 100%; font-family: verdana, arial, sans-serif;">';<br /><br / ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ ="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> <input type="hidden" name=" ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............  '?action=search;advanced"><span id="adv">', $txt['smf298'], '</span></a><br /> <input type="hidden" ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  class="smalltext2" style="padding:5px;">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=help">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ [108]), '</a>';<br />}<br />// Generate a strip of buttons, out of buttons.<br />function  ............ ($button_strip, $direction = 'top', $force_reset = false, $ ............  = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> if ( ............ ($button_strip))<br /> return '';<br /><br /> // Create  ............  buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ >' : $txt[$value['text']]) . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>';<br />} <br />?>  Mogelijk moet  ......
#984
Graphics and Templates / Re: Adding SMF Chat button to amdmagenta01 Theme
heinäkuu 17, 2006, 06:28:37 IP tekijältä jewls
......  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script>  <script  ............ "JavaScript" type="text/javascript"><!--  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";  / ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)  Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.  Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  5px; white-space: nowrap; vertical-align: middle; font-size: xx-large;">';   // This part is the logo  ............  <img src="', $settings['images_url'], '/smflogo.gif" width="370" height="60" style="float:  ............ ="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';   // If  ............  <option value="60">', $txt['smf53'], '</option>  < ............  value="1440">', $txt['smf47'], '</option>  < ............  value="10080">', $txt['smf48'], '</option>  < ............  value="302400">', $txt['smf49'], '</option>  < ............  value="-1" selected="selected">', $txt['smf50'], '</option>  </select>  ............ [34], '" /><br />  ', $txt['smf52'], '  </form>';  }    ............  style="color: white; text-decoration: underline; font-weight: bold;"><a style="color: white;" href="', $ ............ , '?action=search;advanced">', $txt['smf298'], '</a></div>  <input type=" ............ ['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', ............  echo '  <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';   echo '  </div>';   // ............ "><!--  window.attachEvent("onload", smf_codeFix);  function smf_codeFix()   ............  // Folder style or inline? Inline has a smaller font.  echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';   // Each tree item  ............ " /></a>';  }   // Show the [home] and [help] buttons.  echo '  <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ .com/forum/chat">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............      // How about the [search] button?  if ($context['allow_search'])  echo '   ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.  if ($context['user']['is_guest'])  {   ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#985
Graphics and Templates / Re: Bad visuals in Firefox
helmikuu 13, 2006, 03:10:54 AP tekijältä raulo
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script><br /> <script  ............ " type="text/javascript"><!--<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  align="left" height="89" class="smalltext" style="font-family: verdana, arial, sans-serif;"><img src="',  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440" ............ >', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ ="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> </form>';<br />}<br /><br />< ............ ="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';<br /><br / ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440" ............ >', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ ="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> </form>';<br /> }<br /><br />  ............ ['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ "><!--<br /> window.attachEvent("onload", smf_codeFix);<br /> function smf_codeFix()<br /> { ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<a href="', $scripturl, '">', ($ ............ ['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ]), '</a>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#986
Arşiv / Re: Chat
marraskuu 15, 2005, 02:06:14 IP tekijältä bLeDa
......  may want to try to refresh this page or use the default theme.  Ben Bu chat olayını sitemin üst kısmında  ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br />< ............ , $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............  if this is 'always', images from the default theme will be used.<br /> if this  ............  'defaults', images from the default theme will only be  ............  with default templates.<br /> if this is 'never' ............  or isn't set at all, images from the default theme will not be used. */<br /> $settings[ ............ 'use_default_images'] = 'never';<br /><br /> /* What  ............  type definition is being used? (for font size and other issues.)<br /> ' ............  = $options['theme_color'];<br />else{<br /> // Defaults.<br /> $options['theme_color'] = isset($ ............ ['default_theme_color']) ? $settings['default_theme_color']  ............ <br /> $options['theme_color'] = isset($settings['default_theme_color']) ? $settings['default_theme_color']  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script><br /> < ............ ="text/javascript"><!--<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br />  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br />  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ; background-color: #503000; color: #503000; font-size: 6px;" type="submit" value="brown" name=" ............ ; background-color: #600000; color: #600000; font-size: 6px;" type="submit" value="red" name=" ............ ; background-color: #908000; color: #908000; font-size: 6px;" type="submit" value="golden" name=" ............ ; background-color: #005000; color: #005000; font-size: 6px;" type="submit" value="green" name=" ............ ; background-color: #000040; color: #000040; font-size: 6px;" type="submit" value="blue" name=" ............ ; background-color: #606060; color: #606060; font-size: 6px;" type="submit" value="silver" name=" ............ ="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;"><br />  ............  <option value="60">', $txt['smf53'], '</option><br />  ............  <option value="1440">', $txt['smf47'], '</option><br />  ............  <option value="10080">', $txt['smf48'], '</option><br />  ............  <option value="302400">', $txt['smf49'], '</option><br />  ............  <option value="-1" selected="selected">', $txt['smf50'], '</option><br />  ............  ', $txt['smf52'], '<br />  ............ ="0"><tr><td align="left" style="color: #88908a; font-size: 8pt; font-family: tahoma, helvetica, serif;" ............ ['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b><br /> ', $ ............  </td><td align="right" style="color: #b0b0b0; font-size: 8pt; font-family: tahoma, helvetica, serif;" ............ ;"> </td></tr><tr><td>';<br />if (function_exists('smfshout'))<br /> smfshout();<br />echo'</td></tr>< ............  /> echo<br /> $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];<br /><br /> echo '<br /><b>Helios  ............  <a target="_blank" href="http://www.bloczone.net/smf">Bloc</a></span></td><br /> </tr><br / ............  window.addEventListener("load", smf_codeFix, false);<br /><br />  ............  function smf_codeFix()<br /> {<br />  ............ ;<br /> window.onload = smf_codeFix;<br /><br />  ............  smf_codeFix()<br /> {<br />  ............  // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav">';<br /><br  ............ ;<br /><br /> // Show the [home] and [help] buttons.<br /><br /> echo '<td><a href="', $ ............ , '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ >';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ';<br /> }<br /><br /> // first button...is it on?<br /> if(isset($settings[' ............ ']) && $settings['custombutton1_use']==true){<br /> // is it memberonly? ............ <br /> if(isset($settings['custombutton1_member']) && $settings['custombutton1_member']== ............ <br /> if(isset($settings['custombutton1']) && !empty($settings['custombutton1']) &&  ............ ($settings['custombutton1_link']) && !empty($settings['custombutton1_link'] ............  echo '<td><a href="'. $settings['custombutton1_link'].'"><img src="' . $settings['images_url'] . ............  '/' . $settings['custombutton1'] . '" alt="" style="margin: 0px 0;" border="0" / ............ <br /> if(isset($settings['custombutton1']) && !empty($settings['custombutton1']) &&  ............ ($settings['custombutton1_link']) && !empty($settings['custombutton1_link'] ............  echo '<td><a href="'. $settings['custombutton1_link'].'"><img src="' . $settings['images_url'] . ............  '/' . $settings['custombutton1'] . '" alt="" style="margin: 0px 0;" border="0" / ............ > }<br /> }<br /> // second button...is it on?<br /> if(isset($settings[' ............ ']) && $settings['custombutton2_use']==true){<br /> // is it memberonly? ............ <br /> if(isset($settings['custombutton2_member']) && $settings['custombutton2_member']== ............ <br /> if(isset($settings['custombutton2']) && !empty($settings['custombutton2']) &&  ............ ($settings['custombutton2_link']) && !empty($settings['custombutton2_link'] ............  echo '<td><a href="'. $settings['custombutton2_link'].'"><img src="' . $settings['images_url'] . ............  '/' . $settings['custombutton2'] . '" alt="" style="margin: 0px 0;" border="0" / ............ <br /> if(isset($settings['custombutton2']) && !empty($settings['custombutton2']) &&  ............ ($settings['custombutton2_link']) && !empty($settings['custombutton2_link'] ............  echo '<td><a href="'. $settings['custombutton2_link'].'"><img src="' . $settings['images_url'] . ............  '/' . $settings['custombutton2'] . '" alt="" style="margin: 0px 0;" border="0" / ............ /> }<br /> }<br /> // third button...is it on?<br /> if(isset($settings[' ............ ']) && $settings['custombutton3_use']==true){<br /> // is it memberonly? ............ <br /> if(isset($settings['custombutton3_member']) && $settings['custombutton3_member']== ............ <br /> if(isset($settings['custombutton3']) && !empty($settings['custombutton3']) &&  ............ ($settings['custombutton3_link']) && !empty($settings['custombutton3_link'] ............  echo '<td><a href="'. $settings['custombutton3_link'].'"><img src="' . $settings['images_url'] . ............  '/' . $settings['custombutton3'] . '" alt="" style="margin: 0px 0;" border="0" / ............ <br /> if(isset($settings['custombutton3']) && !empty($settings['custombutton3']) &&  ............ ($settings['custombutton3_link']) && !empty($settings['custombutton3_link'] ............  echo '<td><a href="'. $settings['custombutton3_link'].'"><img src="' . $settings['images_url'] . ............  '/' . $settings['custombutton3'] . '" alt="" style="margin: 0px 0;" border="0" / ......
#987
SMF 1.1.x Support / Re: removing stuff from index.template.php
elokuu 22, 2005, 03:00:56 AP tekijältä tentronik
...... , $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............  if this is 'always', images from the default theme will be used.<br /> if this  ............  'defaults', images from the default theme will only be  ............  with default templates.<br /> if this is 'never' ............  or isn't set at all, images from the default theme will not be used. */<br /> $settings[ ............ 'use_default_images'] = 'never';<br /><br /> /* What  ............  type definition is being used? (for font size and other issues.)<br /> ' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ ="text/javascript"><!--<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br />  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br />  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ <script language="javascript"><br /> window.defaultStatus="' . $context['page_title'] . '";<br />  ............ "><!--<br /> function smfFooterHighlight(element, value)<br />  ............  /> element.src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="left" style="white-space: nowrap;"><span style="font-size: 12px; display: inline; visibility: visible;  ............ /> ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '<br /> </ ............  window.addEventListener("load", smf_codeFix, false);<br /><br />  ............  function smf_codeFix()<br /> {<br />  ............ ;<br /> window.onload = smf_codeFix;<br /><br />  ............  smf_codeFix()<br /> {<br />  ............  // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[ ............ 'linktree_inline'] ? ' style="font-size: 11px;"' : '', '>';<br /><br /> //  ............ ;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br />  ............  href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#988
Español (Spanish) / Re: AYUDA PORFAVOR CON MOD TOP10
joulukuu 13, 2010, 10:34:17 IP tekijältä maleficio
......  menu sub template should display all the relevant buttons the user   wants and or needs.    For more  ............ , $options, $txt;     /* Use images from default theme when using templates from the default theme? ............    if this is 'always', images from the default theme will be used.   if this is 'defaults',  ............  from the default theme will only be used with default templates.    ............  is 'never' or isn't set at all, images from the default theme will not be used. */    $settings[' ............  What document type definition is being used? (for font size and other issues.)   'xhtml' for an  ............  for.  This should probably be the version of SMF it was created for. */   $settings[' ............  $settings['use_tabs'] = true;     /* Use plain buttons - as oppossed to text buttons? */   $settings[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>  < ............ ="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";    ............  smf_images_url = "', $settings['images_url'], '";    ............  smf_scripturl = "', $scripturl, '";   var  ............ '] ? 'true' : 'false', ';   var smf_charset = "', $context['character_set'], '";  // ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...) Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual. Note that this is  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />'; // Show all  ............  ? 1 : 0);';    else   echo '   smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';   else   echo '    smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>    ............  <option value="60">', $txt['smf53'], '</option>  <option  ............ ="1440">', $txt['smf47'], '</option>  <option  ............ ="10080">', $txt['smf48'], '</option>   <option  ............ ="43200">', $txt['smf49'], '</option>   <option value="-1"  ............ ="selected">', $txt['smf50'], '</option>   </select>   ............    <span class="middletext">', $txt['smf52'], '</span>  <input type="hidden"  ............ /javascript"><!-- // --><![CDATA[   function smfFooterHighlight(element, value)  {    ............ .src = smf_images_url + "/" + (value ? "h_" : "") + hxxp: ............    </tr>  </table>    <p align="center"><font size="1">Mierda Theme by </font>   <a href="hxxp: ............ -xuxu.webcindario.com/ [nonactive]"><font size="1">- [ArThUrØo]™</font></a> & <a href=" ............ :[email protected]"><font size="1">LuzBeLLaxD</font></a></p>';    //  ............  echo '    <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';      // This is an  ............  echo '   window.addEventListener("load", smf_codeFix, false);     function smf_codeFix( ............  echo '   window.addEventListener("load", smf_codeFix, false);    function smf_codeFix() ............  = window.onload;     window.onload = smf_codeFix;    function smf_codeFix()    ............ , $options;   echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ ">  <ul>';      // Show the default [home] button.  echo '<li><a href="', $ ............ , '</a></li>';      // Show the [help] button.  echo '<li><a href="', $scripturl, '?action= ............ [119] , '</a></li>';   // How about the [search] button?  if ($context['allow_search'])  echo '<li> ............ '] , '</a></li>';   // the [member] list button  if ($context['allow_memberlist'])  echo '< ............ , $txt[331] , '</a></li>';   // the [staff list] button   if ($context['allow_view_stafflist'])    ............ <a href="', $scripturl, '?action=staff">' , $txt['smfstaff_stafflist'] , '</a></li>';   // If the  ............  is a guest, show [login] button.  if ($context['user']['is_guest'])  echo ' ............  // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])  echo ' ............ ">&nbsp;</div>';  }   // Generate a strip of buttons.  function template_button_strip($button_strip, $ ............ , $custom_td = '')   {    global $settings, $buttons, $context, $txt, $scripturl;   // Create the  ............ ...   foreach ($button_strip as $key => $value)     {    if ( ............ [$value['test']]))    {     unset($button_strip[$key]);    continue;   }     ............  elseif (!isset($buttons[$key]) || $force_reset)    $buttons[$key] ............ '') . '>' . $txt[$value['text']] . '</a>';   $button_strip[$key] = $buttons[$key];    }       if ( ............ ($button_strip))     return '<td>&nbsp;</td>';     ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td>   <td class="', $direction == ......
#989
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br /> ............  $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for  ............  /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />  ............ /javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br />  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ > else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  class="smalltext">', theme_copyright(), '<br /><font color="#757575">Theme </font><font color="#858585" ............ ><b>Da Vinci By</b></font> <a href="http://www.fussilet.com" target="_blank" ............ <p align="center"><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span></p>';<br /><br /> // This is  ............ '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function  ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  <ul>';<br /> // Show the [home] button.<br /> echo '<li><a' , $ ............ >';<br /><br /> // Show the [help] button.<br /> echo '<li><a' , $ ............  /><br /> // How about the [search] button?<br /> if ($context['allow_search'] ............ ';<br /><br /> // the [member] list button<br /> if ($context[' ............  // If the user is a guest, show [login] button.<br /> if ($context['user'][' ............  // If the user is a guest, also show [register] button.<br /> if ($context['user'][' ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ ['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br />  ............  }<br /> elseif (!isset($buttons[$key]) || $force_reset)<br /> $ ............ $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br  ............ /> if (empty($button_strip))<br /> return '<td> </td>';<br />< ............ 'main' : 'mirror', 'tab_back">', implode(' | ', $button_strip) , '</td><br /> <td class="', $ ......
#990
SMF 1.1.x Support / Re: Remove Text?
toukokuu 06, 2010, 10:13:43 IP tekijältä BREZ
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))<br /> echo '<br /> <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ ="titlebg2" height="32"><br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';<br /><br /> // this is the upshrink button for the user info section<br /> echo '<br /> < ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type="hidden"  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '">&nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ >&nbsp;</td>' : '';<br /><br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ </td>' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............ ;</td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#991
Español (Spanish) / Re: Tengo 2 botones con nombre FORO
syyskuu 11, 2009, 11:58:48 AP tekijältä Cola-Coca
......  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............   $settings['use_tabs'] = true;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc1"></script>   ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/theme.js?rc1"></script>   ............ ="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_default_theme_url = "', $settings[' ............ '], '";  var smf_images_url = "', $settings['images_url'], '";   ............  var smf_scripturl = "', $scripturl, '";  var  ............ '] ? 'true' : 'false', ';  var smf_charset = "', $context['character_set'], '";', $ ............ '] . '"))  window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");' : ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc1" media="print" /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ie7.css" />';  // ..and IE6!  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ie6.css" />';  // Firefox -  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ff.css" />';   // RTL  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/rtl.css" />';   // Show all  ............  main header object.  var mainHeader = new smfToggle("upshrink", ', empty($options[' ............ ">', theme_copyright(), '</li>  <li><a id="button_xhtml" href="http://validator.w3.org/check/ ............ , '"><span>XHTML</span></a></li>  <li><a id="button_rss" href="', $scripturl , '?type=rss;action=.xml" ............ </span></a></li>  <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............  align="center" class="smalltext"><a href="http://smf2.uuuq.com/">[PROF THEME]</a></div>';    // Show  ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))  return;   // ............  class="clearfix">';   foreach ($context['menu_buttons'] as $act => $button)  {  $classes =  ............ ();  if (!empty($button['active_button']))  $classes[] = 'active'; ............   if (!empty($button['is_last']))  $classes[] = 'last';  $ ............ ', $classes);    echo '  <li id="button_', $act, '"', !empty($classes) ? ' class="' . $ ............ '', '>  <a title="', $act, '" href="', $button['href'], '">  <span>', $button[' ............   </ul>  </div>'; }  // Generate a strip of buttons. function template_button_strip($button_strip, $ ............ , $context, $txt, $scripturl;   // Create the buttons...  $buttons = array();  foreach ($ ............ ']) || !empty($context[$value['test']]))  $buttons[] = '<a href="' . $value['url'] . '"' . (isset($ ............ [$value['text']] . '</span></a>';   if (empty($buttons))  return '';   // Make the last one, as  ............  as possible.  $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);   echo '  <div  ............ ="buttonlist', $direction != 'top' ? '_bottom' : '', '">   ............ ">  <li>', implode('</li><li>', $buttons), '</li>  </ul>   ......
#992
SMF 1.1.x Support / Re: Navigation Edit
elokuu 26, 2009, 10:14:52 IP tekijältä Rehash D Internet
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ['allow_color_change'] == 'no'))<br /> {<br /> // Defaults.<br /> $options['color'] = isset($settings[' ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/ncode_imageresizer.js"></script>< ............  {<br /> color: #000000; /* the font color */<br /> border: 1px solid #CCCDCD; /* the  ............  /> table.ncode_imageresizer_warning td {<br /> font-size: 10px;<br /> vertical-align: middle;<br />  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/reflection.js?fin11"></script><br / ............ -color: #ff0090; color: #ff0090; width: 3px; font-size: 3px;" type="submit" value="deeppink" name=" ............ -color: #d72e00; color: #d72e00; width: 3px; font-size: 3px;" type="submit" value="red" name=" ............ -color: #eaba11; color: #eaba11; width: 3px; font-size: 3px;" type="submit" value="yellow" name=" ............ -color: #84e000; color: #84e000; width: 3px; font-size: 3px;" type="submit" value="green" name=" ............ -color: #3399ff; color: #3399ff; width: 3px; font-size: 3px;" type="submit" value="blue" name=" ............ ['show_load_time'])<br /> echo '<br />'. $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];<br /><br /> echo '<br /> </div><br /> </ ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  '<br /> <ul>';<br /> <br /> // Show the [home] button.<br /> echo '<li><a href="', $scripturl, '">' , $ ............ /li>';<br /><br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ '] , '</a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#993
SMF 1.1.x Support / Re: smf default core theme
toukokuu 21, 2009, 08:26:00 AP tekijältä coldy316
......  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  color: #000000;  font-size: small;  font-family: verdana, sans-serif; }  ............  normal so they align well. */ input, textarea, button {  color: #000000;  font-family: verdana, sans- ............ ; } input, button {  font-size: 90%; }  textarea {  font-size: 100%; ............   color: #000000;  font-family: verdana, sans-serif; }  /* All input  ............  that are checkboxes or radio buttons. */ input.check { }  /* Selects are a bit  ............  it makes them look even better 8). */ select {  font-size: 90%;  font-weight: normal;  color: #000000;  ............  font-family: verdana, sans-serif; }  /* Standard  ............ : 1px solid #000000;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A code  ............  {  color: #000000;  background-color: #dddddd;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............ , tr.titlebg2 th, tr.titlebg2 td {  color: black;  font-style: normal;  background: url(images/titlebg. ............ } .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: black;  font-style: normal;  ............  a:link, .titlebg2 a:visited {  color: black;  font-style: normal;  text-decoration: underline; }  . ............ -bottom: solid 1px #C0C0C0; } .catbg, .catbg2 {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  color: white;  text-decoration: none;  ............  solid #696969;  background-color: #FFFFFF; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: verdana, sans-serif;  ............ } .middletext {  font-size: 90%; } .normaltext {  font-size: small; } . ............  {  font-size: large; }   /* Posts and personal messages  ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding: 2px  ............  6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding: 6px  ............  2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............ : #32CD32;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px;   ......
#994
SMF 1.1.x Support / Re: guest message
huhtikuu 18, 2009, 09:43:58 IP tekijältä JBlaze
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ <br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />  ............ /javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............ 'show_load_time'])<br /> echo '<br />'. $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];<br /><br /> echo '<br /> </div><br />  ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  /> <ul>';<br /> <br /> // Show the [home] button.<br /> echo '<li><a href="', $scripturl, '">'  ............ ] , '</a></li>';<br /><br /> // Show the [forum] button.<br /> echo '<li><a href="', $scripturl, '? ............  , '</a></li>';<br /><br /> // the [form] list button<br /> if ($context['user']['is_logged'])<br />  ............ </a></li>';<br /> <br /> // Show the [help] button.<br /> echo '<li><a href="', $scripturl, '? ............ /a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............  , '</a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............  // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ ['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> } ............ <br /> elseif (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$ ............ . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br / ............ > if (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /> ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $ ......
#995
Arşiv / Re: SMF 2.0 Beta 4 Drop Down Menu
joulukuu 27, 2008, 11:55:08 AP tekijältä Yağız...
...... !!!!!!!!!!!!*/ .qmmc .qmdivider {  display:block;  font-size:1px;  border-width:0px;  border-style:solid;  ............ :0px; } .qmmc .qmtitle {  display:block;  cursor:default;  white-space:nowrap;  position:relative;  z- ............ :1; } .qmclear {  font-size:1px;  height:0px;  width:0px;  clear:left;   ............ ;  position:absolute; } .qmmc .qmcbox {  cursor:default;  display:block;  position:relative;  z-index:1; } ............ :6px 40px 6px 8px;  color:#112747;  font-family:Arial;  font-size:12px;  text- ............ :2px 5px 5px 5px;  color:#112747;  font-family:Arial;  font-size:11px;  font............  qm_gcs(obj,sname,jname){var v;if(document.defaultView&&document.defaultView.getComputedStyle)v= ............ .defaultView.getComputedStyle(obj,null).getPropertyValue( ............ ;s1.display="block";s1.position="relative";s1.fontSize="1px";s1.lineHeight="0px";s1.zIndex=1;ss. ............  <ul class="clearfix">';   foreach ($context['menu_buttons'] as $act => $button)  {  echo '  <li id=" ............ ', $act, '">  <a', $button['active_button'] ? ' class="active"' : '', '  ............ ="', $act , '" href="', $button['href'], '">  <span', isset($button['is_last'] ............ ) ? ' class="last"' : '', '>', ($button['active_button'] ? '<em>' : ''), $button['title'], ............  ($button['active_button'] ? '</em>' : ''), '</span>  </ ............ ="qm0" class="qmmc">';   foreach ($context['menu_buttons'] as $act => $button)  {  echo '  <li>  <a  ............ ="qmparent" href="', $button['href'], '">', $button['title'], '</a>';  if (! ............ ($button['sub_buttons']))  {  echo '  <ul>';   ............  ($button['sub_buttons'] as $key => $subbutton)  {   ............  '  <li><a href="', $button['sub_buttons'][$key]['href'] , '">', $button[' ......
#996
Arquivo / Re: Mudar as cores standard do default theme
lokakuu 29, 2008, 05:48:18 AP tekijältä TecW
...... , aquela primeira barra onde esta o logo do smf e a das categorias tambem não consigo alterar,  ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  color: #000000;  font-size: small;  font-family: verdana, sans-serif;  ............  normal so they align well. */ input, textarea, button {  color: #000000;  font-family: verdana,  ............ -serif; } input, button {  font-size: 90%; }  textarea {  font-size:  ............ %;  color: #000000;  font-family: verdana, sans-serif; }  /* All input  ............  that are checkboxes or radio buttons. */ input.check { }  /* Selects are a bit  ............  it makes them look even better 8). */ select {  font-size: 90%;  font-weight: normal;  color: # ............ ;  font-family: verdana, sans-serif; }  /* Standard  ............  #000000;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A  ............  color: #000000;  background-color: #dddddd;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............ .titlebg2 th, tr.titlebg2 td {  color: black;  font-style: normal;  background: url(images/titlebg. ............ .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: black;  font-style:  ............  a:link, .titlebg2 a:visited {  color: black;  font-style: normal;  text-decoration: underline; }  . ............ -bottom: solid 1px #375576; } .catbg, .catbg2 {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  color: white;  text-decoration:  ............  #696969;  background-color: #FFFFFF; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: verdana, sans- ............ ; } .middletext {  font-size: 90%; } .normaltext {  font-size: small; }  ............ .largetext {  font-size: large; }   /* Posts and personal messages  ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding:  ............  6px 6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding:  ............  6px 2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............ ;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px; ......
#997
Scripting Help / Re: Template Parse Error
lokakuu 24, 2008, 02:10:11 AP tekijältä buildinghealthylives
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ <br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />  ............ /javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  /> echo '<br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............  <option value="60">', $txt['smf53'], '</option><br />  ............  <option value="1440">', $txt['smf47'], '</option><br />  ............  <option value="10080">', $txt['smf48'], '</option><br />  ............  <option value="43200">', $txt['smf49'], '</option><br />  ............  <option value="-1" selected="selected">', $txt['smf50'], '</option><br /> </ ............  <span class="middletext">', $txt['smf52'], '</span><br /> < ............  '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br />echo '<br /> </div> ............  <div class="right">Theme by <a href="http://smfthemes.blogspot.com" target="_blank">Hoochie  ............  '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix( ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ /> echo '<ul>';<br /><br /> // Show the [home] button.<br /> echo '<li', $current_action == 'home' ? ' ............ ] , '</a></li>';<br /><br /> // Show the [help] button.<br /> echo '<li', $current_action == 'help' ? ' ............ /a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............  , '</a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............  // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ '</ul> ';<br /><br />}<br />// Generate a strip of buttons.<br />function template_button_strip($ ............ $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ ['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> } ............ <br /> elseif (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$ ............ . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br / ............ > if (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /> ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $ ......
#998
SMF 1.1.x Support / Re: pop up music player
lokakuu 11, 2008, 07:21:00 AP tekijältä troll646
......  menu sub template should display all the relevant buttons the user<br /><br /> wants and or needs.<br />< ............ , $txt;<br /><br /><br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /><br /> if this is 'always', images from the default theme will be used.<br /><br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /><br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /><br /> 'xhtml' for  ............  /><br /> This should probably be the version of SMF it was created for. */<br /><br /> $settings[' ............ '] = true;<br /><br /><br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /><br /> $ ............ ['use_buttons'] = true;<br /><br /><br /><br /> /* Show sticky  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />< ............ /javascript"><!-- // --><![CDATA[<br /><br /> var smf_theme_url = "', $settings['theme_url'], '";<br />< ............  /> var smf_images_url = "', $settings['images_url'], '";<br / ............ ><br /> var smf_scripturl = "', $scripturl, '";<br /><br /> var  ............ '] ? 'true' : 'false', ';<br /><br /> var smf_charset = "', $context['character_set'], '";<br /> ............ '] == 'no'))<br /><br /> {<br /><br /> // Defaults.<br /><br /> $options['theme_color'] = isset($ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /><br />  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /><br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />< ............  /><br /> else<br /><br /> echo '<br /><br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + ' . '"/'. $settings[' ............  /><br /> else<br /><br /> echo '<br /><br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + ' . '"/'. $settings[' ............  { <br /> color: #000000; /* the font color */ <br /> border: 1px solid #CCCDCD; /*  ............  table.ncode_imageresizer_warning td { <br /> font-size: 10px; <br /> vertical-align: middle; < ............  /><br /> <td><br /><br /> <span style="font-family: \'Trebuchet MS\', Verdana, sans-serif;  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br /> < ............  /><br /> <option value="60">', $txt['smf53'], '</option><br /><br /> <option  ............ ="1440">', $txt['smf47'], '</option><br /><br /> <option  ............ ="10080">', $txt['smf48'], '</option><br /><br /> <option  ............ ="43200">', $txt['smf49'], '</option><br /><br /> <option  ............ ="-1" selected="selected">', $txt['smf50'], '</option><br /><br /> </select>< ............  /> <span class="middletext">', $txt['smf52'], '</span><br /><br /> <input type=" ............ -color: #6699CC; color: #6699CC; width: 20px; font-size: 1px;" type="submit" value="lightblue" name=" ............ -color: #5371AD; color: #5371AD; width: 20px; font-size: 1px;" type="submit" value="lightnavy" name=" ............ -color: #6C7F93; color: #6C7F93; width: 20px; font-size: 1px;" type="submit" value="lightsilver"  ............ -color: #53ADAD; color: #53ADAD; width: 20px; font-size: 1px;" type="submit" value="lightturquoise"  ............ -color: #4DB45D; color: #4DB45D; width: 20px; font-size: 1px;" type="submit" value="lightgreen" name= ............ -color: #93A659; color: #93A659; width: 20px; font-size: 1px;" type="submit" value="lightolive" name= ............ -color: #D8A259; color: #D8A259; width: 20px; font-size: 1px;" type="submit" value="lightgolden"  ............ -color: #a67259; color: #a67259; width: 20px; font-size: 1px;" type="submit" value="lightbrown" name= ............ -color: #E15050; color: #E15050; width: 20px; font-size: 1px;" type="submit" value="lightred" name=" ............ -color: #D47BC5; color: #D47BC5; width: 20px; font-size: 1px;" type="submit" value="lightrose" name=" ............ -color: #A185D6; color: #A185D6; width: 20px; font-size: 1px;" type="submit" value="lightlilac" name= ............ -color: #7F88B2; color: #7F88B2; width: 20px; font-size: 1px;" type="submit" value="lightviolet"  ............ "><!-- // --><![CDATA[<br /><br /> function smfFooterHighlight(element, value)<br /><br /> {<br  ............ /><br /> element.src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  '<br /><br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /><br /><br /> // This  ............  '<br /><br /> window.addEventListener("load", smf_codeFix, false);<br /><br /><br /><br />  ............  smf_codeFix()<br /><br /> {<br /><br /> var  ............  '<br /><br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /><br /> window.onload = smf_codeFix;<br /><br /><br /><br /> function  ............ /><br /><br /><br /> echo '<div class="nav" style="font-size: 85%; margin-bottom: 2ex; margin-top: 2ex;">' ............ </td>';<br /><br /><br /><br /> // Show the [home] button.<br /><br /> echo'<br /><br /> <td align=" ............ ><br /> </td>';<br /><br /> // Show the [links] button.<br /><br /> echo'<br /><br /> <td align=" ............ /><br /> </td>';<br /><br />// Show the [store] button.<br /><br /> echo'<br /><br /> <td align=" ............ <br /> </td>';<br /><br />// Show the [gallery] button.<br /><br /> echo'<br /><br /> <td align=" ............ /><br /> </td>';<br /><br />// Show the [blogs] button.<br /><br /> echo'<br /><br /> <td align=" ............ /><br /> </td>';<br /><br />// Show the [music] button.<br /><br /> echo'<br /><br /> <td align=" ............ <br /><br /><br /><br /> // How about the [search] button?<br /><br /> if ($context['allow_search'])<br />< ............ <br /> </td>';<br /><br /> // the [member] list button<br /><br /> if ($context['allow_memberlist']) < ............  /><br /> // If the user is a guest, show [login] button.<br /><br /> if ($context['user']['is_guest'])<br  ............ /> // If the user is a guest, also show [register] button.<br /><br /> if ($context['user']['is_guest'])  ............  />}<br /><br /><br /><br />// Generate a strip of buttons.<br /><br />function template_button_strip($ ............  = '')<br /><br />{<br /><br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /><br />< ............  /> // Create the buttons...<br /><br /> foreach ($button_strip as $key =>  ............ ['test']]))<br /><br /> {<br /><br /> unset($button_strip[$key]);<br /><br /> continue;<br /><br />  ............  }<br /><br /> elseif (!isset($buttons[$key]) || $force_reset)<br /><br /> $buttons[$ ............ ['text']] . '</a>';<br /><br /><br /><br /> $button_strip[$key] = $buttons[$key];<br /><br /> }<br />< ............  /><br /><br /> if (empty($button_strip))<br /><br /> return '<td>&nbsp;</td>';<br  ............ ' : 'main', 'strip">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /><br /> <td class="', $ ......
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br /> ............  $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for  ............  /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?b4"></script><br  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/theme.js?b4"></script><br / ............ /javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?b4" media="print" />' ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ie7.css" />';<br /> // .. ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ie6.css" />';<br /><br /> // ............  header object.<br /> var mainHeader = new smfToggle("upshrink", ', empty($options[' ............ "><br /> <img class="floatright" id="smflogo" src="' , $settings['images_url'] , '/smflogo. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............ <ul class="smalltext"><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check/ ............ >XHTML</span></a></li><br /> <li><a id="button_rss" href="', $scripturl , '?type=rss;action=.xml" ............ </a></li><br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return; ............ ">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br />  ............  '<br /> <li id="button_', $act, '"><br /> <a', $button[' ............ ="active"' : '', ' title="', $act , '" href="', $button['href'], '"><br /> <span',  ............ ($button['is_last']) ? ' class="last"' : '', '>', ($button............ 'active_button'] ? '<em>' : ''), $button['title'], ($button[' ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $txt, $scripturl;<br /><br /> // Create the buttons...<br /> $buttons = array();<br /> foreach  ............ ($button_strip as $key => $value)<br /> {<br />  ............ ($context[$value['test']]))<br /> $buttons[] = '<a href="' . $value['url'] . '" ' . (isset($ ............ </span></a>';<br /> }<br /><br /> if (empty($buttons))<br /> return '';<br /><br /> // Make  ............  last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br / ............ > <div class="buttonlist', $direction != 'top' ? '_bottom' : '', '">< ............ <br /> <li>', implode('</li><li>', $buttons), '</li><br /> </ul><br /> </ ......
#1000
SMF Coding Discussion / Re: SSI_recentPosts
kesäkuu 20, 2008, 11:53:03 AP tekijältä Vaul
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc3"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............  '<br /><br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '</td><br /> < ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '"> </td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............  . '"> </td>' : '';<br /><br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ </td>' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............  '"> </td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td> </td>';<br /><br />  ............ 'main' : 'mirror', 'tab_back">', implode(' | ', $button_strip) , '</td><br /> <td class="', $direction == ............ ="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';<br /><br / ............  <option value="60">', $txt['smf53'], '</option><br /> < ............  value="1440">', $txt['smf47'], '</option><br /> < ............  value="10080">', $txt['smf48'], '</option><br /> < ............  value="302400">', $txt['smf49'], '</option><br /> < ............  value="-1" selected="selected">', $txt['smf50'], '</option><br /> </ ............ ], '" /><br /><br /> ', $txt['smf52'], '<br /> </form>';<br />  ............ ['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a></span><br /> <input type=" ......
Advertisement: