Uutiset:

Read the blogs!

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
#261
Graphics and Templates / Default text size in posts...
elokuu 01, 2005, 06:45:21 AP tekijältä Envy
...... 've had a member put in a request that the default forum text size be made a little larger as he is  ............  trouble reading the smaller font. I went into the .css file to see where it states  ............  size, and if I read the SMF Theme Making Tutorial correctly, I should be  ............  the following:  Koodi [Valitse] Laajenna /* By default (td, body..) use Tahoma in black. */ body, td {   ............  color: #FFFFFF;  font-size: small;  font-family: Tahoma, arial,  ............  by side, but on the second one would select the "Font Size" button up the top, which automatically puts  ......
......  - - - -  This is an example modification file for SMF packages.   ATTENTION: If you are trying to  ............ ://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">  <!-- This  ............ >  <version>1.0</version>      <file name="Themes/default/index.template.php">  <operation>  <!-- Replace  ............ "><![CDATA[<img src="', $settings['images_url'], '/smflogo.gif" style="width: 250px; float: ', !$context[ ............  <search position="replace"><![CDATA[<span style="font-family: Georgia, sans-serif; font-size: xx-large;" ............  the forum name-->  <add><![CDATA[<span style="font-family: Georgia, sans-serif; font-size: xx-large;" ............ >    <operation>  <!-- Remove the MySQL button at the bottom. -->  <search position="replace"> ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  </operation>   <operation>  <!-- Remove the PHP button at the bottom. -->  <search position="replace"> ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /operation>   <operation>  <!-- Remove the xhtml button at the bottom. -->  <search position="replace"> ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  </operation>   <operation>  <!-- Remove the CSS button at the bottom. -->  <search position="replace"> ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ </add>  </operation>  </file>   <file name="Themes/default/languages/index.english.php">  <operation>  <!-- ............ .template.php">  <operation>  <!-- Remove the SMF graphic. -->  <search position="replace"><![ ............ ['header_logo_url'] : $settings['images_url'] . '/smflogo.gif', '" alt="" />]]></search>  <!--  ............ /operation>   <operation>  <!-- Remove the MySQL button at the bottom. -->  <search position="replace"> ............  </operation>   <operation>  <!-- Remove the PHP button at the bottom. -->  <search position="replace"> ............ /operation>   <operation>  <!-- Remove the xhtml button at the bottom. -->  <search position="replace"> ............  </operation>   <operation>  <!-- Remove the CSS button at the bottom. -->  <search position="replace"> ......
#263
......  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  ............ ="left"><img src="', $settings['images_url'], '/smflogo.gif" alt="" /></td>  <td valign=" ............ " class="tborder" style="border-width: 1px 0 0 0; font-size: smaller;">';   // Show the menu here,  ............ ">  <option value="60">', $txt['smf53'], '</option>  <option value=" ............ ">', $txt['smf47'], '</option>  <option value=" ............ ">', $txt['smf48'], '</option>  <option value=" ............ ">', $txt['smf49'], '</option>  <option value="-1"  ............ ="selected">', $txt['smf50'], '</option>  </select>   ............ ="', $txt[34], '" /><br />  ', $txt['smf52'], '  </form>  </td></tr>  </ ............  align="center" class="smalltext">  ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '  </div>';   // And then we're done!   ............  // Folder style or inline? Inline has a smaller font.  echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';   // Each tree item  ............ , $txt;   // 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'] . '/'  ............ ['menu_separator'];   // 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'] . '/'  ......
......  finally upgraded one of my yabbse forums to smf without major problems. however since i checked " ............ 'm losing some features that appear when using the default template.  by the way, i've tried searching it  ............  really, my users hardly notice the small "search" button on top of the page, and i think that a clear  ............  and guestnames appear) in a smaller and lighter font than the members'. for starters, since member  ............  a matter of categories. some one of the current smf supporters was the one who sorted this out for me  ......
#265
......  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 opposed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc3" media="print" /> ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc3"></script>< ............ /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'], '";', $ ............ '] . '"))<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");< ............ "><br /> <img class="floatright" id="smflogo" src="', $settings['images_url'], '/smflogo. ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /><br /> ', $txt[ ............ "', $txt['search'], '" style="width: 11ex;" class="button_submit" /><br /> <input type=" ............ 'upshrink\',<br /> srcExpanded: smf_images_url + \'/upshrink.gif\',<br />  ............ ']), ',<br /> srcCollapsed: smf_images_url + \'/upshrink2.gif\',<br />  ............ (), '</li><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check/ ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ ' : '', '<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 /> $ ............  = array();<br /> if (!empty($button['active_button']))<br /> $classes[] = ' ............ ';<br /> if (!empty($button['is_last']))<br /> $classes[] = 'last'; ............  if ($context['browser']['is_ie6'] && !empty($button['active_button']) && !empty($button['is_last']))< ............  /><br /> echo '<br /> <li id="button_', $act, '"', !empty($classes) ? ' class="' . $ ............ : '', '><br /> <a title="', !empty($button['alttitle']) ? $button['alttitle'] : $button[' ............ '], '" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br />  ............ <span>', ($button['active_button'] ? '<em>' : ''), $button['title'], ............  ($button['active_button'] ? '</em>' : ''), '</span><br />  ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ /> if ($context['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach  ............ ($button_strip as $key => $value)<br /> if (!isset($ ............ ($context[$value['test']]))<br /> $buttons[] = '<br /> <li' . (isset($value[' ............ "' : '') . '><a' . (isset($value['id']) ? ' id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ']]) . '</span></a></li>';<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............ ">', '<li class="active last">');<br /><br /> $buttons[count($buttons) - 1] = str_replace($list_item, $ ............ , $buttons[count($buttons) - 1]);<br /><br /> echo '<br / ............ > <div class="buttonlist', $direction != 'top' ? '_bottom' : '', '"', ( ............ ($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  clearfix">',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';< ......
#266
Graphics and Templates / Navigation css formating help?
elokuu 25, 2010, 06:42:28 AP tekijältä thermalzombie
......  me to add a background color to a few items in my smf theme.  Thanks for helping out  Breadcrumbs   ............  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%; ">', ............ </a> <br /><a href="http://www.thermalzombie.com/smf/index.php" target="_top">Enlarged View</a> <br /> ............ ="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. ............ /> 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 / ............ " type="text/javascript" src="', $settings['default_theme_url'], '/reflection.js?fin11"></script><br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  = 'last';<br /> }<br /><br />// Show the [home] button.<br /><br /> echo '<br /><br /> <td class=" ............ ] , '</a></td>';<br /><br /> // Show the [help] button.<br /><br /> echo '<br /><br /> <td class=" ............  '</a></td>';<br /><br />// How about the [search] button?<br /><br /> if ($context['allow_search'])<br />< ............ '] , '</a></td>';<br /><br /> // the [member] list button<br /><br /> if ($context['allow_memberlist'])<br / ............  /><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  ............ ></td>';<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 == ............  cells. */ table{   empty-cells: show; } /* By default (td, body..) use verdana in black. */  body, td,  ............  , tr{  font: 10pt verdana, geneva, lucida, 'lucida grande',  ............ /background_blue.png) fixed;  color: #61B9ED;  font: 10pt verdana, geneva, lucida, 'lucida grande',  ............  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 smaller, ............  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  ............ /siyah.png) repeat-x top left;  color: #61B9ED;  font: bold 11px tahoma, verdana, geneva, lucida, ' ............ /siyah.png) repeat-x top left;  color: #61B9ED;  font: bold 10pt verdana, geneva, lucida, 'lucida  ............  {  background: transparent;  color: #000000; } /* 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: #61B9ED;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding: 2px  ............  6px 6px;  font-family: tahoma, sans-serif; } .maintab_first {   ............  {  color: #61B9ED;  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;   ............ /orta/siyah.png); } .sub_nav {  color: #61B9ED;  font: bold 11px tahoma, verdana, geneva, lucida, ' ......
#267
SMF 1.1.x Support / Custom Theme Help
maaliskuu 11, 2010, 01:26:02 AP tekijältä jordanriley3
......  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?rc2p"></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" : "/ ............  ? 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. ............ ']['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:  ............  '<br /> <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, '?action= ............ '] , '</a></li>';<br /> <br /> // Show the [help] button.<br /> echo '<li><a href="', $scripturl, '?action= ............ '</a></li>';<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 == ......
#268
Graphics and Templates / Removing a block from the Info Center
helmikuu 14, 2010, 03:39:10 IP tekijältä rubix123
......  center? The theme im using is flagrant_alt for SMF 2.0. Im use to editing 1.1.11 themes and from  ............  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 opposed to text buttons? */  $settings[' ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc2" media="print" /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';   //  ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc2"></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");   ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>';  }   echo  ............  name="submit" value="', $txt['search'], '" class="button_submit" />  <input type="hidden" name=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))  return;   // ............ ="topmenu">';   foreach ($context['menu_buttons'] as $act => $button)  echo '<li><a ', ............  $button['active_button'] ? ' class="current"' : '' , '  ............ ="', $button['href'], '"><span>', $button['title'], '</span></ ............  </ul>  </div>';  }  // Generate a strip of buttons. function template_button_strip($button_strip, $ ............   $strip_options = array();   // Create the buttons...  $buttons = array();  foreach ($ ............ ']) || !empty($context[$value['test']]))  $buttons[] = '<a ' . (isset($value['active']) ? 'class=" ............ [$value['text']] . '</span></a>';  }   // No buttons? No button strip either.  if (empty($buttons))  ............   // Make the last one, as easy as possible.  $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);   echo '  <div  ............ ="buttonlist', !empty($direction) ? ' align_' . $direction  ............ : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  <ul>  <li>', implode('</li><li>', $buttons), '</li>  </ul>  </div>'; }  ?>  ......
#269
SMF Coding Discussion / Need help adding new button on custom themes
joulukuu 08, 2009, 08:16:45 IP tekijältä SEEN
...... .   I successfully added the 'download' button to the navigation bar but the theme style doesn't  ............  with me. This theme will bold the font and change the font color to red to the selected  ............  button. Lets say, we click home, then the font color of  ............  will become red and when i click forum, the font color of forum will be come red.   I added this  ............  button and the font color of 'download' does not turn  ............  while the home button stays red. How to turn the download button to red? ............  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. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <form  ............ <p align="center"><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span></p>';<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:  ............  '<br /> <ul>';<br /><br /> // Show the [home] button.<br /> echo '<li', $current_action == 'home' ? '  ............ ] , '</a></li>';<br /><br /> // Show the [forum] button.<br /> echo '<li', $current_action == 'forum' ? '  ............ , '</a></li>';<br /> <br /> // Show the [download] button.<br /> echo '<li', $current_action == 'download' ? ............ '] , '</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 /> 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 />  ............  </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 => $ ............ $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 == ............ -top: 5px;  margin-bottom: 10px;  color: #212B32;  font-weight: normal; } span.pathway img  {  margin:  ............  cells. */ table {  empty-cells: show; } /* By default (td, body..) use verdana in black. */ body, td,  ............ , tr  {  color: #777777;  font-size: 12px;  font-family: verdana, sans-serif;   ............  normal so they align well. */ input, textarea, button {  color: #000;  font-family: verdana, sans-serif; ............ ;  border: 1px solid #000;  padding: 2px; } input, button {  font-size: 90%; } textarea {  font-size: 100%;  ............  color: #fff;  font-family: verdana, sans-serif;  background: #666666; ............ /* All input elements that are checkboxes or radio buttons. */ input.check { } /* Selects are a bit smaller, ............  it makes them look even better 8). */ select {  font-size: 90%;  font-weight: normal;  color: #000000;  ............  font-family: verdana, sans-serif;  background: #959595; ............ -color: #454545;  margin: 1px;  padding: 1px;  font-size: x-small;  font-style: italic;  line-height:  ............  {  color: #000000;  background-color: #757575;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............ : #111111;  padding: 5px;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; } /* Alternating  ............  of the forum. */ .windowbg {  color: #E1E1E1;  font: 11px;  font-family: tahoma;  background: #121212; ............  1px #1a1a1a;  } .windowbg2 {  color: #888888;  font: 11px;  font-family: tahoma;  background: #121212; ............  1px #1a1a1a; } .windowbg3 {  color: #E1E1E1;  font: 11px;  font-family: tahoma;  background: #121212; ............ .titlebg2 th, tr.titlebg2 td {  color: #ffffd2;  font-style: normal;  background: #454545 url(images/ ............  .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: #999999;  font-style:  ............ ;  font-size: 12px; } .titlebg a:hover {  color: #ffffd2; ............  a:link, .titlebg2 a:visited {  color: #ffffd2;  font-style: normal;  text-decoration: underline; } . ............ -x; } .catbg, .catbg2 { } .catbg, .catbg2 {  font-weight: bold;  font-size: 12px; } .catbg3, tr. ............  td, .catbg3 a:link, .catbg3 a:visited {  font-size: 95%;  color: #fff;  text-decoration: none; ............ : 25px;  line-height: 25px;  color: #999999;  font-weight: bold;  background: #fff url(./images/ ............  {  padding: 0px;  border: solid 1px #000;  } /* 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: #999999;   text-decoration: none;   font-size: 9px;   font-family: tahoma, sans-serif;    ............  {   color: #757575;   text-decoration: none;   font-weight: bold;  }    .maintab_active_back a:link, . ............  {   color: #757575;   text-decoration: none;   font-weight: bold;  }    .maintab_back a:hover, . ............ : left;  padding-left:10px;  padding-top:10px;  font-size: 14px;  color: #6A0101;  font-family:  ............  MS;   Font-weight: bold; } #wrapper {  width: 900px;  min- ............ : left;  padding-left:10px;  padding-top:10px;  font-size: 14px;  color: #6A0101;  font-family:  ............  MS;   Font-weight: bold; }  #header {  position: relative;   ............ ;  padding: 25px 25px 0 0;  text-align: right;  font-size: 11px;  color: #e1e1e1;  font-family:  ............  #search {  float: right;  padding-top: 5px;   font-family: Tahoma, Arial, Helvetica, sans-serif;   ............ -size: 11px;  clear: both; }  #toolbar {  font-size: 1.0em;  height: 43px;  background: #3A73A5  ............ ;  } #nav li {  } #nav li a {  color: #e1e1e1;  font-family: Trebuchet MS, verdana, sans-serif;  font............ : 12px;   font-weight: bold;  text-align: center;  } #nav a: ............  a {  text-decoration: none;  cursor: pointer;  font-weight: normal;  text-align: center;  height:  ............ -top: 20px;  padding-left: 10px; } #footerarea {  font-family: Tahoma;  font-size: 10px;  color: #666666; ............   font-style: italik;  float: left; } #footerarea  ............ :link {  font-family: Tahoma;  font-size: 10px;  color: #666666; ............   text-decoration: none;  font-style: italik; } #footerarea a:visited {  font............ : Tahoma;  font-size: 10px;  color: #666666;  text-decoration:  ............ ;  font-style: italik; } #footerarea a:hover {  font............ : Tahoma;  font-size: 10px;  color: red;  text-decoration:  ............ ;  font-style: italik; } #footerarea a:active {  font............ : Tahoma;  font-size: 10px;  color: #666666;  text-decoration:  ............ ;  font-style: italik; } /* The AJAX notifier */ # ............ : #002962;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px;   ............ : 29px;  line-height: 29px;  color: #FFFFFF;  font-weight: bold;  background: #6E0101 url('images/ ............  1px #333333;  } .titlebg3 {  color: #454545;  font-style: normal;  background: #000;  padding-left: ............  10px;  line-height: 10px;  font-size: 11px; }  /*  BOTON SPOILER  */ div.spoiler- ............ ;  margin:3px; } div.spoiler-wrapper input[type=button],div.spoiler-wrapper input[type=submit] {   ............ ;  outline:none; } div.spoiler-wrapper input[type=button]:hover,div.spoiler-wrapper input[type=submit]: ......
#270
Modificaciones (Mods) / A ver si me dan una Mano con el index.template
syyskuu 29, 2009, 03:23:29 IP tekijältä SebaS
...... , $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 XHTML 1. ............  is for.  This should probably be the version of SMF it was created for. */  $settings['theme_version'] ............  */  $settings['use_tabs'] = false;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ '] = false;  $settings['use_image_buttons'] = true;   /* Show sticky and lock status  ............ ="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>  < ............  type="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";  var  ............  = "', $settings['images_url'], '";  var smf_scripturl = "', $scripturl, '";  var  ............ ]['iso_case_folding'] ? '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  ............  "upshrink=" + (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  '  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ =" + (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ '  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ -color: #ffb76f;">  <div style="width: 2ex; font-size: 2em; color: red;">!!</div>  <b style="text- ............ '])  echo '  <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';  echo '  </div>   </div>';   / ............ / If link set in admin interface show extra [home] button .  if (!empty($settings['pdx_forum_button']))  {   ............  // Show the extra [homepage] button.  echo '<li><a href="', $settings[' ............ [103] , '</a></li>';   // Show the extra [forum] button.  echo '<li><a class="' , $current_action == ' ............ ' , '" href="', $scripturl, '">' , $txt['pdx_forum_button_forum'] , '</a></li>';  }  else  {  // Show  ............  default [home] button.  echo '<li><a class="' , $ ............ [103] , '</a></li>';  }    // Show the [help] button.  echo '<li><a class="' , $current_action == ' ............ [119] , '</a></li>';   // How about the [search] button?  if ($context['allow_search'])  echo '<li><a  ............ '] , '</a></li>';   // the [member] list button  if ($context['allow_memberlist'])  echo '<li><a  ............ </li>';    // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])  echo '<li>< ............    // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])  echo '<li>< ............ /li>';   echo '</ul>';   }  // Generate a strip of buttons. function template_button_strip($button_strip, $ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   // Create the  ............ ...  foreach ($button_strip as $key => $value)  {  if (isset($value[' ............  && empty($context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }  elseif (!isset($ ............ [$key]) || $force_reset)  $buttons[$key] = '<a href="' . $value['url'] . '" ' .(  ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ="0" />' : $txt[$value['text']]) . '</a>';   $button_strip[$key] = $buttons[$key];  }   if (empty($ ............  '<td>&nbsp;</td>';   echo '  <td>', implode($button_strip) , '</td>'; }  function showcase() {   ............  $settings, $buttons, $context, $txt, $scripturl;  // personal info  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>   <form  ............ ">  <option value="60">', $txt['smf53'], '</option>  <option value="1440">',  ............ $txt['smf47'], '</option>  <option value="10080">', ............  $txt['smf48'], '</option>  <option value="43200">', ............  $txt['smf49'], '</option>  <option value="-1"  ............ ="selected">', $txt['smf50'], '</option>  </select>  < ............ ="hash_passwrd" value="" />  </form>', $txt['smf52'], '<br /><br />';  }  if ($context['user'][' ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a>  <input type="hidden" name=" ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ......
#271
SMF Coding Discussion / I need help smf shoutbox
elokuu 02, 2009, 01:20:51 IP tekijältä k2omonster
......  seemed to work.I have this "kelo-IT" theme for my smf forums and I want to add a shoutbox mod called ," ............  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 /> $settings['use_image_buttons'] = ............ ="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. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> < ............ > echo '<br /> <p class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</p>';<br /> }<br /> <br /> // The  ............ <a href="http://padexx.de/" target="_blank" title="SMF Themes &amp; webdesign solutions">padexx</a></ ............ <br />echo '<br /> <ul>';<br /> <br /> // Show the default [home] button.<br /> echo ($current_action=='home' ............ ] , '</a></li>';<br /> <br /> // Show the [help] button.<br /> echo ($current_action=='help' || $context[' ............ '</a></li>';<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 />  ............  section.<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 />  ............  ($button_strip as $key => $value)<br /> {<br /> if ( ............ [$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  elseif (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] = ............ >' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br /> ............  if (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br />< ............  /> echo '<br /> <td class="buttons">', implode('</td><td class="buttons">', $ ............  showcase()<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /> // personal  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <form  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440">', $ ............ ['smf47'], '</option><br /> <option value="10080">',  ............ $txt['smf48'], '</option><br /> <option value="43200">',  ............ $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br /> <input  ............ ="hash_passwrd" value="" /><br /> </form>', $txt['smf52'], '<br /><br />';<br /> }<br /><br /> echo ' < ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a></b><br /> <input type="hidden"  ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............  add the shoutbox script mod for me. I want the SMF Ultimate Shoutbox above the news box. And I of  ......
#272
SMF 2.0.x Support / Remove SMF logo
tammikuu 24, 2009, 07:41:26 AP tekijältä Mythers
......  [Valitse] Laajenna <img class="floatright" id="smflogo" src="' , $settings['images_url'] , '/smflogo. ............  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  ............ " 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 / ............ ="text/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 /> // ..and  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ie6.css" />';<br /><br /> //  ............  main header object.<br /> var mainHeader = new smfToggle("upshrink", ', empty($options[' ............ ><br /> <div><br /> <img class="floatright" id="smflogo" src="' , $settings['images_url'] , '/smflogo. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............ ">', theme_copyright(), '</li><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check/ ............  '"><span>XHTML</span></a></li><br /> <li><a id="button_rss" href="', $scripturl , '?type=rss;action=.xml" ............ </span></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 /> ............ ="clearfix">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> echo '<br /> ............  <li id="button_', $act, '"><br /> <a', $button['active_button............ ="active"' : '', ' title="', $act , '" href="', $button['href'], '"><br /> <span', isset($button[' ............ ']) ? ' class="last"' : '', '>', ($button['active_button'] ? '' : ''), $button['title'], ($ ............ ['active_button'] ? '' : ''), '</span><br /> </a><br /> </li> ............  </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 ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<a href="' . $value['url'] . '" ' . (isset($ ............ ]] . '</span></a>';<br /> }<br /><br /> if (empty($buttons))<br /> return '';<br /><br /> // Make the last  ............ , 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' : '', '">< ............ ="clearfix"><br /> <li>', implode('</li><li>', $buttons), '</li><br /> </ul><br /> </div>';<br /><br / ......
#273
Install and Upgrade Help / Switched Sites - Theme Misbehaving
tammikuu 14, 2009, 12:29:38 IP tekijältä Greymalkin
......  account, I get a message informing me that the default theme's directory is wrong. But as far as I can  ............  the page for modifying themes, none of the menu buttons above the theme names appear, the links along  ............  the checkboxes have no text next to them, and the button at the bottom has no text.  I'm using version 1.1. ............  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[' ............ ="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'], '";   ............  var 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  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';    //  ............  <style type="text/css">  #yshout {  font-size: 10px;  overflow: hidden;  }   ............   }  #yshout .shout-timestamp {  font-style: normal;  font-weight: normal;   ............ }  #yshout .shout-adminlinks { /* del and ban buttons */  font-size: 6pt;  color: # ............  margin-right: 5px;  }  #yshout #shout-button {  width: 55px;  }  #yshout . ............ ></div>\') else document.write(\'<div><img name="defaultslide\'+this.slideshowid+\'" src="\'+this. ............ +"_0" } else{ var ns4imgobj=document.images[\'defaultslide\'+this.slideshowid] ns4imgobj.src=this. ............   echo '  smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............   echo '  smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  + (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (mode ? 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>  < ............  value="1440">', $txt['smf47'], '</option>  < ............  value="10080">', $txt['smf48'], '</option>  < ............  value="43200">', $txt['smf49'], '</option>  < ............  value="-1" selected="selected">', $txt['smf50'], '</option>  </ ............ ], '" /><br />  ', $txt['smf52'], '  <input type=" ............ /flashchat.php">',    ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url']     ............ ($settings['use_shoutbox']) && function_exists("smfshout"))  {  echo ' < ............ : 3px;" class="titlebg">Shoutbox</div><div id="smfshout" class="windowbg2">' , smfshout() , '</div>   ............ ://i12.photobucket.com/albums/a223/Achillea/binarybutton.jpg"; // URL of your mini-banner  // Random  ............  like the affiliates to move. This will also add buttons on the left and right side to change the speed/ ............ ("http://usera.imagecave.com/FONFOX/TRPGH/trpgbutton.bmp.jpg","http://trpgh.proboards51.com/index.cgi", ............ ['show_load_time'])  echo '  | ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];    if (!empty($settings['use_gb']) &&  ............  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:  ............ $settings, $options, $scripturl, $txt;    // add buttons here  $context['menubox'] = array();    /*   ............  link  'chosen' - which "current_action" this button belongs to.  'memberonly' - show it JUST for  ............  you want to check before displaying the button    */    // home button  $context['menubox'] ............  'permission' => '',  );   // help button  $context['menubox'][]=array(  ' ............ ' => '',  );      // search button  $context['menubox'][]=array(  ' ............  'permission' => '',  );    // admin button.This one have permission check for admin as well   ............ ' => 'allow_admin',  );    // profile button  $context['menubox'][]=array(  ' ............ => 'allow_edit_profile',  );    // PM button  $context['menubox'][]=array(  ' ............ ' => 'allow_pm',  );    // calendar button  $context['menubox'][]=array(  ' ............ ' => 'allow_calendar',  );    // SMF Arcade  if (!empty($settings['use_arcade']))   ............  'permission' => '',  );    // SMF Gallery  if (!empty($settings['use_smfgallery']) ............ ['menubox'][]=array(  'title' => $txt['smfgallery_menu'],  'link' => $scripturl.'? ............  'permission' => '',  );    // SMFshop   if (!empty($settings['use_shop']))  $ ............ ' => '',  );      // login button - just for guests  $context['menubox'][]=array(  ............ ' => '',  );    // register button - just for guests  $context['menubox'][]=array(  ............  'last' => true,  );    // logout button - just for members  $context['menubox'][]=array( ............ ]))  $current_action = 'forum';    // Begin SMFShop code  if ($context['current_action'] == ' ............ ">  <ul>';    foreach($context['menubox'] as $button){  $show_button=false;  // are we  ............  if($context['user']['is_logged'])  if($button['guestonly'])  $show_button = false;   ............  else  $show_button = true;  // just a guest then...  else   ............  {  if($button['memberonly'])  $show_button = false;   ............  elseif($button['guestonly'] && !$button['memberonly'])   ............  $show_button = true;  elseif(!$button['memberonly'])   ............  $show_button = true;  }  // can we show the button?   ............  if($show_button)  {  if(!empty($button[' ............ ']) && $context[$button['permission']])  echo '<li ', $ ............  == $button['chosen'] ? 'id="chosen"' : '' , isset($button[' ............ ']) ? ' class="last"' : '' , '><a href="' , $button['link'] , '">' , $button['title'] , '</a></li>';   ............  elseif(empty($button['permission']))  echo '<li ', $ ............  == $button['chosen'] ? 'id="chosen"' : '' , isset($button[' ............ ']) ? ' class="last"' : '' , '><a href="' , $button['link'] , '">' , $button['title'] , '</a></li>';   ............  '  </ul> </div>';   }   // Generate a strip of buttons. function template_button_strip($button_strip, $ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;    // Create the  ............ ...  foreach ($button_strip as $key => $value)  {  if (isset($ ............ $context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }   ............  (!isset($buttons[$key]) || $force_reset)  $buttons[$key] = ............ ') . '>' . $txt[$value['text']] . '</a>';    $button_strip[$key] = $buttons[$key];  }    if (empty( ............ $button_strip))  return '<td>&nbsp;</td>';    echo  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td>  <td class="', $direction ==  ......
#274
SMF 1.1.x Support / AdBrite on SMF
marraskuu 11, 2008, 01:17:01 AP tekijältä GamerZFX
...... /purchase_form.php?opid=919186&afsid=1" style="font-weight:bold;font-family:Arial;font-size:13px;"> ............ "></a>';   // As before, build the custom button right. But it doesn't appear to work and gives me  ............  to the options in the admin panel (even under the default theme)  So any help!?! ......
#275
SMF 1.1.x Support / HELPPP - Fatal Error
lokakuu 22, 2008, 08:57:02 IP tekijältä alex30
......  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  ............ " 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" />'; ............ " type="text/javascript" src="', $settings['default_theme_url'], '/floating-bar.js"></script>';<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 />  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/highslide.js"></script>< ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/Highslide/highslide.css" media=" ............ "><br /> hs.graphicsDir = "', $settings['default_theme_url'], '/Highslide/";<br /> hs. ............ (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_pmi", mode ? 1 :  ............ > document.getElementById("upshrink_pmi").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  ? 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 /> <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"  ............ ><br /><br /><br /> //The PM Informer is closed by default.<br /> $options['collapse_header_pmi'] = 1;<br />< ............ /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=" ............ " style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;"> | <a href="' ............ ="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 /> if (isset($context[' ............ > 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[' ............ : '';<br /> <br /> // Show the [website] button.<br /> echo ($current_action=='x' || $ ............  <br /> // Show the [blog] button.<br /> echo ($current_action=='x' || $ ............  . '">&nbsp;</td>' : '';// How about the [search] button?<br /><br /> // The [gallery]!<br /> if ( ............ >' : '';<br /><br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ &nbsp;</td>' : '';<br /><br /> // the [staff list] button<br /> if ($context['allow_view_stafflist'])<br />  ............  <a href="', $scripturl, '?action=staff">' , $txt['smfstaff_stafflist'] , '</a><br /> </td>' , $ ............ ;</td>' : '';<br /><br /> <br /> // the [contact] button<br /> if ($context['allow_view_contact'])<br />  ............  href="', $scripturl, '?action=contact">' , $txt['smfcontact_contact'] , '</a><br /> </td>' , $ ............  /><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 == ......
#276
Modificaciones (Mods) / Ayuda con menu lateral
syyskuu 19, 2008, 01:59:18 AP tekijältä 1van10
......  mil maneras para ver si puedo hacerlo y no y na, smf 1.1.6, slickpro graphite:  Koodi [Valitse]  ............  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  ............  http://www.dynamicdrive.com<br />//Adaptado a SMF http://www.simplemachines.org por Hydra http:// ............ ="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. ............ " 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></td><br /> ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ "http://www.m3talc0re.com/" target="_blank" style="font-size:10px;">m3talc0re</a>.<br /> </td><br />  ............ ="http://www.mysql.com/" target="_blank" style="font-size:10px;">MySQL</a>&nbsp;|&nbsp;<a href="http:// ............ .php.net/" target="_blank" style="font-size:10px;">PHP</a>&nbsp;|&nbsp;<a href="http:// ............ .w3.org/check/referer" target="_blank" style="font-size:10px;">XHTML</a>&nbsp;|&nbsp;<a href="http:// ............ -validator/check/referer" target="_blank" style="font-size:10px;">CSS</a><br /> </td><br /> </tr>< ............ /> 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-tree" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav-tree" style="font............  // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav-tree">';<br / ............ "><br /> <tr>';<br /><br /> // Show the [home] button.<br /> echo '<br /> <td class="main-navigation"> ............ ] , '</a></td>';<br /><br /> // Show the [help] button.<br /> echo '<br /> <td class="main-navigation"> ............ '</a></td>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ /tr><br /> </table><br /><div align="right" style="font-size:10px;"><a href="#" onClick="overlayclose(\' ............ '] , '</a></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 />  ............ /></a></td>';<br /><br />// How about the [search] button?<br /> if ($context['allow_search'])<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  ............ 'mirror', 'tab_back">', implode(' &nbsp;&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#277
Español (Spanish) / Ayuda con menu lateral
syyskuu 18, 2008, 07:37:27 AP tekijältä 1van10
......  mil maneras para ver si puedo hacerlo y no y na, smf 1.1.6, slickpro graphite:  Koodi [Valitse]  ............  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  ............  http://www.dynamicdrive.com<br />//Adaptado a SMF http://www.simplemachines.org por Hydra http:// ............ ="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. ............ " 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></td><br /> ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ "http://www.m3talc0re.com/" target="_blank" style="font-size:10px;">m3talc0re</a>.<br /> </td><br />  ............ ="http://www.mysql.com/" target="_blank" style="font-size:10px;">MySQL</a>&nbsp;|&nbsp;<a href="http:// ............ .php.net/" target="_blank" style="font-size:10px;">PHP</a>&nbsp;|&nbsp;<a href="http:// ............ .w3.org/check/referer" target="_blank" style="font-size:10px;">XHTML</a>&nbsp;|&nbsp;<a href="http:// ............ -validator/check/referer" target="_blank" style="font-size:10px;">CSS</a><br /> </td><br /> </tr>< ............ /> 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-tree" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav-tree" style="font............  // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav-tree">';<br / ............ "><br /> <tr>';<br /><br /> // Show the [home] button.<br /> echo '<br /> <td class="main-navigation"> ............ ] , '</a></td>';<br /><br /> // Show the [help] button.<br /> echo '<br /> <td class="main-navigation"> ............ '</a></td>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ /tr><br /> </table><br /><div align="right" style="font-size:10px;"><a href="#" onClick="overlayclose(\' ............ '] , '</a></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 />  ............ /></a></td>';<br /><br />// How about the [search] button?<br /> if ($context['allow_search'])<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  ............ 'mirror', 'tab_back">', implode(' &nbsp;&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#278
Arşiv / Temanın Ust Kısmını Nasıl Daraltabılırım
heinäkuu 25, 2008, 12:32:41 IP tekijältä wolkan
......  Bana Yardımcı Olursanız Sevınırım.Mkportal+Smf Kullanıyorum ve bu temanın renklerı portala da  ............  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. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <form  ............ , '?action=search;advanced" title="', $txt['smf298'], '"><img src="'.$settings['images_url'].'/ ............ ="middle" style="margin: 0 1ex;" alt="', $txt['smf298'], '" /></a><br /> <input type="text" class=" ............  '<br /> <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 /> function smf_codeFix()< ............  '<br /><br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /> function smf_codeFix()<br /> {< ............ , $options;<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' , $current_action=='home' ............ '</b></a></li>';<br /><br /> // Show the [help] button.<br /> echo '<li><a' , $current_action==' ............ /a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............ '</b></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 /> ............  </div>';<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 /> }<br  ............ /><br /> elseif (!isset($buttons[$key]) || $force_reset)<br /><br /> $buttons[$ ............ '') . '>' . $txt[$value['text']] . '</a>';<br /> $button_strip[$key] = $buttons[$key];<br /> }<br /> if ( ............ ($button_strip))<br /> return '<td>&nbsp;</td>';<br />  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ............  cells. */  table {  empty-cells: show; } /* By default (td, body..) use verdana in black. */  body, td,  ............ , tr {  line-height: 120%;  font-family: verdana, sans-serif;  color: #7b7b7b;   ............ .gif) repeat-x top;  background-color: #39393A;  font-family: "Trebuchet MS", "Lucida Grande", Verdana,  ............ , Sans-Serif;  font-size: 76%;  margin: 0;  padding: 20px 0 0 0; } /*  ............  normal so they align well. */ input, textarea, button {  color: #000000;  font-family: verdana, sans- ............ ;  background: #f0f0f5; } 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;  background: #f0f0f5; ............ -color: #e6d3d3;  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  ............ : #333333;  padding: 5px;  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: #666;  font-style: normal;  background: #ebebeb url(images/ ............  .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: #666;  font-style: normal; ............   font-size: 12px; } .titlebg a:hover {  color: #f0a118; ............  a:link, .titlebg2 a:visited {  color: #666;  font-style: normal;  text-decoration: underline; } . ............ } .catbg, .catbg2, .catbg3 {}  .catbg, .catbg2 {  font-weight: bold;  font-size: 12px; } .catbg3, tr. ............  td, .catbg3 a:link, .catbg3 a:visited {  font-size: 95%;  color: #7b7b7b;  text-decoration:  ............   padding: 1px;  border: 1px solid #dddada; } /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */  .smalltext {  font-size: 90%;  font-family: verdana, sans-serif; } . ............ : 18px;  text-indent: 10px; } .normaltext {  font-size: small; } .largetext {  font-size: large; }  ............  {  color: #090909;  text-decoration: none;  font-size: 9px;  font-family: tahoma, sans-serif;   ............  {  color: #252525;  text-decoration: none;  font-weight: bold; } .maintab_active_back a:link, . ............  {  color: #272727;  text-decoration: none;  font-weight: bold; } .maintab_back a:hover, . ............ : #32CD32;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px;   ............ ;  padding: 12px 25px 0 0;  text-align: right;  font-size: 1.0em;  color: #7b7b7b;  font-family:  ............ : 0;  clear: both; } .inputs {   color: #7b7b7b;  font-weight: 700;  border: 1px solid #454545;   ............ {position:relative;display:block;height:39px;font-size:11px;font-weight:bold;background:transparent  ............ (images/bgOFF.gif) repeat-x top left;font-family:Arial,Verdana,Helvitica,sans-serif;border- ......
#279
Graphics and Templates / Some question with Classic Yabb Template
heinäkuu 05, 2008, 10:56:12 AP tekijältä m4tt
...... ,  I have recently installed SMF, and although I am not new to administering  ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  color: #FFFFFF;  font-size: small;  font-family: verdana, sans-serif; }  ............  normal so they align well. */ input, textarea, button {  color: #FFFFFF;  font-family: verdana, sans- ............ ; } input, button {  font-size: 90%; }  textarea {  font-size: 100%; ............   color: #FFFFFF;  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: #FFFFFF;  ............  font-family: verdana, sans-serif; }  /* Standard  ............ : 1px solid #003300;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A code  ............  {  color: #003300;  background-color: #99FFFF;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #CCFFFF;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............ . */ .highlight {  background-color: #000;  font-weight: bold;  color: #000; }  /* Alternating  ............ .titlebg2 th, tr.titlebg2 td {  color: #FFFFFF;  font-style: normal;  background-image: url(./images/ ............ } .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: #FFFFFF;  font-style:  ............  a:link, .titlebg2 a:visited {  color: #FFFFFF;  font-style: normal;  text-decoration: underline; }  . ............  10px;  padding-right: 10px; }  .catbg, .catbg2 {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  color: #FFFFFF;  text-decoration:  ............ : 1px solid #000;  background-color: #000; }  /* 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  ............  {  padding: 6px 0px 6px 0px;  color: WHITE;  font-style: normal;  background-image: url(./images/ ............  {  color: #000;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding: 6px  ............  6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  color: #000;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding: 6px  ............  6px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............ : #32CD32;  color: black;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px;   ......
#280
Temas y Diseño (Themes) / como puedo añadir el pagerank a mi foro
kesäkuu 12, 2008, 09:24:18 IP tekijältä kenet
......  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 /> ' ............  This should probably be the version of SMF it was created for. */<br /> $settings[' ............ '] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and  ............ ="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 />  ............ "><!-- // --><![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 />  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  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. ............ .'"><img src="'.$settings['images_url'].'/bg/smflogo.gif" alt="logo" style="margin: 0;" border="0"  ............ "middle" style="padding: 4px 10px; color: #000000; font-size: x-large; font-weight: bold;">'.$context[' ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............ " 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 />  ............  ', $txt['smf52'], '<br />  ............ --><![CDATA[<br /> function smfFooterHighlight(element, value)<br />  ............  /> element.src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br />  ............  window.addEventListener("load", smf_codeFix, false);<br /><br />  ............  function smf_codeFix()<br /> {<br />  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............ ;<br /> window.onload = smf_codeFix;<br /><br />  ............  smf_codeFix()<br /> {<br />  ............  // Folder style or inline? Inline has a smaller font.<br /> echo '<div style="padding-top: 5px; ............ ="nav"', $settings['linktree_inline'] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> //  ............ ;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> < ............  href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img '.$mo.' id="home" src="' . $settings[' ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img '.$mo.' id="help" src="' . $settings[' ............ ['menu_separator'];<br /><br /> // the [Portal] button<br /> echo '<br />  ............ '];<br /> <br /> // the [Panel] button<br /> echo '<br />  ............ '];<br /> <br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img '.$mo.' id="search" src="' . $settings[ ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img '.$mo.' id="admin" src="' . $settings[' ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img '.$mo.' id="profile" src="' . $ ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img '.$mo.' id="calendar" src="' . $ ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img '.$mo.' id="login" src="' . $settings[' ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img '.$mo.' id="register" src="' . $ ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
Advertisement: