Uutiset:

Read the blogs!

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
#581
Modifications and Packages / Re: WoW - World of Warcraft Tooltips
elokuu 14, 2009, 08:56:58 AP tekijältä krilz
......  a charm after a few minutes of tinkering with the default theme. My concern however is that it doesn't work  ............  from Dzinerstudio.com [nofollow]). I'm using SMF 1.1.10 and TP 0.9.8.   In the custom theme it  ............  the wow-folder to both 644 and 755 (which was default) and didn't help. I have both fopen and curl  ............  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 />  ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/ncode_imageresizer.js"></script>< ............  {<br /> color: #000000; /* the font color */<br /> border: 1px solid #CCCDCD; /* the  ............  /> table.ncode_imageresizer_warning td {<br /> font-size: 10px;<br /> vertical-align: middle;<br />  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <form  ............ ="passwrd" size="17" /><br /> <input class="logbutton" type="submit" value="', $txt[34], '" /><br /><br  ............ > echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ <br /> <ul>';<br /> // Show the [home] button.<br /> echo '<li><a' , $current_action=='home' ............ ]!='boardindex')<br /> // Show the [forum] button.<br /> echo '<li><a' , $current_action==' ............ </a></li>';<br /><br /> // Show the [help] button.<br /> echo '<li><a' , $current_action==' ............ >';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............ /a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])< ............  /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])< ............  // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])< ............  /><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 == ............ '] = 'A dark modern looking gaming type theme for SMF.<br /><br />Theme by <a href="www.dzinerstudio. ......
#582
Modifications and Packages / Re: SMF Gallery 2.0.5 Released!
heinäkuu 31, 2009, 04:17:53 IP tekijältä w0lfman
......  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" />';   // Show  ............  + (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. ............ ']))  echo '  <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ " height="32">  <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';   // this is the upshrink button for the user info section  echo '   ............ " 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>  </ ............  <span class="middletext">', $txt['smf52'], '</span>  <input  ............ "><!-- // --><![CDATA[  function smfFooterHighlight(element, value)  {   ............  element.src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  echo '  <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';   // This is an interesting  ............  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:  ............  $first , '">&nbsp;</td>';   // Show the [home] button.  echo ($current_action=='home' || $context[' ............  . '">&nbsp;</td>' : '';   // Show the [help] button.  echo ($current_action == 'help' || $context[' ............ ">&nbsp;</td>' : '';   // How about the [search] button?  if ($context['allow_search'])  echo ($ ............  . '">&nbsp;</td>' : '';   // the [member] list button  if ($context['allow_memberlist'])  echo ($ ............ ' . $last . '">&nbsp;</td>' : '';   // the [SMF Gallery] button  if ($context[' ............  href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu'] , '</a>  </td>' , $ ............ . $last . '">&nbsp;</td>' : '';     // the [SMF Gallery] button  if ($context[' ............  href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu'] , '</a>  </td>' , $ ............     // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])  echo ( ............  // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])  echo ( ............  </tr>  </table>';  }  // 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($ ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td>  <td class="', $direction ==  ......
#583
Graphics and Templates / Re: [1.1] How to add tabs to Core (NDT)?
heinäkuu 07, 2009, 10:40:25 AP tekijältä .Vapor
......  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%; ">', ............ <br /> <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /><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. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  '">&nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $ ............ ;</td>' : '';<br /><br /> // Show the [forum] button.<br /> echo ($current_action=='forum' || $ ............ ;</td>' : '';<br /><br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ >' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............ ;</td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............  // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ............ :  Koodi [Valitse] Laajenna // Show the [forum] button.  echo ($current_action=='forum' || $context[' ......
#584
Modifications and Packages / Re: Pretty URLs 0.9.3
kesäkuu 17, 2009, 11:31:11 AP tekijältä Atoa
......  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?rc1"></script>< ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/theme.js?rc1"></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'], '";', $ ............ '] . '"))<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");' : ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc1" media="print" /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ie7.css" />';<br /> // ..and  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ie6.css" />';<br /> // Firefox  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ff.css" />';<br /><br /> //  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/rtl.css" />';<br /><br /> //  ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/ncode_imageresizer.js"></script>< ............  {<br /> color: #000000; /* the font color */<br /> border: 1px solid #CCCDCD; /* the  ............  /> table.ncode_imageresizer_warning td {<br /> font-size: 10px;<br /> vertical-align: middle;<br />  ............  main header object.<br /> var mainHeader = new smfToggle("upshrink", ', empty($options[' ............ > <ul>';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> echo '<li><a ', $ ............ ['active_button'] ? ' class="active"' : '' , ' href="', $button[' ............ '], '"><span>', $button['title'], '</span></a></li>';<br /><br /> echo '< ............ >';<br /><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($ ............ ['text']] . '</span></a>';<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  ......
#585
Modifications and Packages / Re: nCode Image Resizer
kesäkuu 10, 2009, 05:05:01 AP tekijältä baioslaio
......  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 /> //  ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/ncode_imageresizer.js"></script>< ............  {<br /> color: #000000; /* the font color */<br /> border: 1px solid #CCCDCD; /* the  ............  /> table.ncode_imageresizer_warning td {<br /> font-size: 10px;<br /> vertical-align: middle;<br />  ............  main header object.<br /> var mainHeader = new smfToggle("upshrink", ', empty($options[' ............  src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash  ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............  '<br /> <ul>';<br /> foreach ($context['menu_buttons'] as $act => $button)<br /> echo '<li><a ', $ ............ ['active_button'] ? ' class="current"' : '' , ' href="', $button[' ............ '], '"><span>', $button['title'], '</span></a></li>';<br /><br /> // The  ............ >';<br /><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 / ......
#586
Theme Site Themes / Re: .Extreme 6.
toukokuu 16, 2009, 02:31:33 AP tekijältä leonardus
......  column vs. going across in a row like here on the SMF Boards.   Also, the signature is way to high also  ............  here on the SMF Boards it should be towards the bottom of the  ............  cells. */ table {  empty-cells: show; } /* By default (td, body..) use verdana in black. */  body, td,  ............ , tr {  color: #f1f1f1;  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 {  font-size: 98%;  font-family: ............ , arial, sans-serif;  color: #ccffff;  font-style: normal;  border: 1px solid #103670;   ............  it makes them look even better 8). */ select {  font-size: 90%;  font-weight: normal;  color: #000000;  ............  font-family: verdana, sans-serif;  background: #959595; ............ -color: gray;  margin: 1px;  padding: 1px;  font-size: x-small;  font-style: italic;  line-height:  ............  {  color: #000000;  background-color: #dddddd;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............ : #000;  padding: 5px;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............  to change the code stuff... */ .codeoperation {  font-weight: normal; } .inputs {   color: #212B32;   ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* A more  ............  {  background: #1a1a1a;  color: #FFFFD2;  font: 11px;  font-family: tahoma;  border: solid 1px # ............  {  background: #1a1a1a;  color: #656565;  font: 11px;  font-family: tahoma;  border: solid 1px # ............  {  background: #1B1B1B;  color: #666666;  font: 11px;  font-family: tahoma;  border: solid 1px # ............  {  background: #1B1B1B;  color: #666666;  font: 11px;  font-family: tahoma;  border: solid 1px # ............  {  background: #1B1B1B;  color: #666666;  font: 11px;  font-family: tahoma;  border: solid 1px # ............   background-color: #f6f6f6;  text-align: center;  font-weight: bolder; }  /* These are used primarily  ............ .titlebg2 th, tr.titlebg2 td {  color: #ffffd2;  font-style: normal;  background: url(images/ ............  .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: #999999;  font-style:  ............ ;  font-size: 12px; }  .titlebg a:hover {  color: # ............  a:link, .titlebg2 a:visited {  color: #f2f2f2;  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: #fff;  text-decoration: none; ............ : 30px;  line-height: 30px;  color: #454545;  font-weight: bold;  background: #000 url(./images/ ............ : #444444;  background-color: #444444; }  /* By default set the color on these tags as black. */ h1, h2,  ............ , h4, h5, h6, h7 {  color: black;  font-size: 1em;  margin: 0;  padding: 0; }  /* No  ............ . */ a img {  border: 0; }  /* No lines around buttons in Firefox! */ a {  outline: none; }  /* Reset  ............   float: right; } .floatleft {  float: left; }  /* 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  ............ %; } .clearfix  {  display: block; } #menutaban {  font-size: 1.0em;  height: 70px;  margin-left: 12px;    ............   } /* ************************************* */ /* Buttons and menus */ /* *************************** ............ ********** */  .buttonlist ul, .buttonlist_bottom ul {  background: # ............  no-repeat bottom left;  padding-left: 10px; } .buttonlist ul li, .buttonlist_bottom ul li {  margin: 0;  ............  padding: 0;  display: inline; } .buttonlist ul li a, .buttonlist_bottom ul li a {  float:  ............ ;  display: block;  color: white;  font-size: 0.8em;  font-family: tahoma, sans-serif;   ............ -transform: uppercase; } .buttonlist ul li a:hover, .buttonlist_bottom ul li a: ............  {  color: green;  text-decoration: none; } .buttonlist ul li a span, .buttonlist_bottom ul li a span  ............ : block;  padding: 0.1em 0.5em 0.5em 0.5em; } .buttonlist ul li a.active, .buttonlist_bottom ul li a. ............ ) no-repeat bottom right;  padding-right: 8px; } .buttonlist ul li a.active span em, .buttonlist_bottom ul  ............ : 0.1em 0.5em 0.5em 0.5em;  display: block;  font-style: normal;  background: url(images/ ............ .gif) repeat-x bottom right; } .buttonlist ul li a.active span, .buttonlist_bottom ul li  ............ ) no-repeat bottom left;  padding: 0 0 0 8px; } .buttonlist ul li a span.last, .buttonlist_bottom ul li a  ............  0.5em; }  /* For links that are basically submit buttons. */ .buttonlist_submit {  background:  ............ ;  vertical-align: top;  text-decoration: none;  font-size: 9px;  font-family: tahoma, sans-serif;   ............ : 0; }  .buttonlist_submit:hover {  color: #e0e0ff; }  /* ..for  ............  "bottom" menu */ .buttonlist_bottom ul {  background: #252525 no-repeat  ............  left; } .buttonlist_bottom ul li a span {  padding: 0.5em 0.5em 0. ............  0.5em;  background: #252525 repeat-x top left; } .buttonlist_bottom ul li a.active {  background: #353535  ............ -repeat top right; } .buttonlist_bottom ul li a.active span em {  background: # ............  repeat-x top right; } .buttonlist_bottom ul li a.active span {  background: # ............  no-repeat top left; } .buttonlist_bottom ul li a span.last {  padding: 0.5em 1. ............ ; } /* the old type of menu, with images */ .oldbuttonlist {  text-align: right;  padding: 0.5em; }  /* * ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding: 2px  ............  6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding: 6px  ............  2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............ : #32CD32;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px;   ............  a {  color: white;  text-decoration: underline;  font-size: smaller;  float: right; }  /* Styling for  ............  .bbc_size {  line-height: 1.3em; }  .bbc_table {  font: inherit;  color: inherit; }  .bbc_table td {   ............  top; }  .bbc_u {  text-decoration: underline; }  .button_strip_submit {  background: transparent;  color:  ............ ;  vertical-align: top;  text-decoration: none;  font-size: 9px;  font-family: tahoma, sans-serif;   ............ : 0; }  .button_strip_submit:hover {  color: #e0e0ff; }  . ............ , a.moderation_link:visited {  color: red;  font-weight: bold; }  /* These are for the auto  ............ -align: left;  padding: 17px; } #footerarea {  font-family: Tahoma;  font-size: 10px;  color: #454545; ............   text-decoration: none; } #footerarea a:link {  font-family: Tahoma;  font-size: 10px;  color: #454545; ............  text-decoration: none; } #footerarea a:visited {  font-family: Tahoma;  font-size: 10px;  color: #454545; ............   text-decoration: none; } #footerarea a:hover {  font-family: Tahoma;  font-size: 10px;  color: green;   ............ -decoration: underline; } #footerarea a:active {  font-family: Tahoma;  font-size: 10px;  color: #151515; ............ ;  padding: 10px 25px 0 0;  text-align: right;  font-size: 1.0em;  color: #CCC;  font-family: tahoma, ............ #search {  float: right;  padding-top: 20px;   font-family: Tahoma, Arial, Helvetica, sans-serif;   ............ ;  padding: 25px 25px 0 0;  text-align: right;  font-size: 1.0em;  color: #454545;  font-family:  ............  {  background: #1B1B1B;  color: #666666;  font: 11px;  font-family: tahoma;  border: solid 1px # ............ : 1px dashed gray; }  fieldset.spoiler > legend {  font-size: 1.2em; }  div.spoilerheader a {  font............ : sans-serif;  font-size: 1.1em;  font-weight: bold; }  div. ............  {  background-color: #cececc;  color: #3e3e33;  font: 0.9em sans-serif; }  div.spoilerbody {  color: # ......
#587
Modifications and Packages / Re: Registered Links
toukokuu 06, 2009, 01:29:40 AP tekijältä baduong
......  Links for SMF 2.0 RC1    I just edit a few seats of this mod  ............  boards  - Hide content of BBC [.code]   ./Themes/default/languages/Modifications.english.php Find: Koodi [ ............ :  Koodi [Valitse] Laajenna  //Begin Reg Links //Button link for [url] $txt['no_view_links'] = '<span  ............ ="color:#F00; font-weight:bold;">[<button style="color:#F00; font............ \'" title="Login to view this link"> Login ... </button> to view this link]&nbsp;</span>'; //Text link  ............ ['no_view_links2'] = '<span style="color: #F30; font-weight:bold;">[<a style="color: #F30; font-weight: ............ ] $txt['no_view_links3'] = '<p style="color: #F30; font-weight:bold;">[<a style="color: #F30; font-weight: ............ . ': <a href="javascript:void(0);" onclick="return smfSelectText(this);" class="codeoperation">' . $txt[' ............ . ': <a href="javascript:void(0);" onclick="return smfSelectText(this);" class="codeoperation">' . $txt[' ............ $txt['code'] . ': ($2) <a href="#" onclick="return smfSelectText(this);" class="codeoperation">' . $txt[' ............ $txt['code'] . ': ($2) <a href="#" onclick="return smfSelectText(this);" class="codeoperation">' . $txt[' ......
......  ben foruma flatcasti ekledim default themede yapdim ve butonda olusdurdum lakin bu  ............  lakin butonlar bozuluyo acaba bu radyo olayi defaulta degil kendi kullandigim temada yapamazmiyim.  ............  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'] = false;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <meta http-equiv=" ............ " 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" />';   // Show  ............  + (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>  </ ............  settings.  echo '  <div id="smfFadeScroller" style="width: 90%; padding: 2px;"><b> ............  // The fading delay (in ms.)  var smfFadeDelay = ', empty($settings['newsfader_time']) ? ............ ? To which background color?  var smfFadeFrom = {"r": 0, "g": 0, "b": 0}, smfFadeTo = {" ............  item with... anything special?  var smfFadeBefore = "<b>", smfFadeAfter = "</b>";    ............  if (typeof(document.getElementById(\'smfFadeScroller\').currentStyle) != "undefined")   ............  foreColor = document.getElementById(\'smfFadeScroller\').currentStyle.color.match(/#([\da-f] ............ -f][\da-f])([\da-f][\da-f])/);  smfFadeFrom = {"r": parseInt(foreColor[1]), "g":  ............  backEl = document.getElementById(\'smfFadeScroller\');  while (backEl. ............ -f][\da-f])([\da-f][\da-f])/);  smfFadeTo = {"r": eval("0x" + backColor[1]), "g":  ............ (window.opera) == "undefined" && typeof(document.defaultView) != "undefined")  {   ............  foreColor = document.defaultView.getComputedStyle(document.getElementById(\' ............ (/rgb\((\d+), (\d+), (\d+)\)/);  smfFadeFrom = {"r": parseInt(foreColor[1]), "g":  ............  backEl = document.getElementById(\'smfFadeScroller\');  while (document. ............ ;   backColor = document.defaultView.getComputedStyle(backEl, null). ............ (/rgb\((\d+), (\d+), (\d+)\)/);  smfFadeTo = {"r": parseInt(backColor[1]), "g":  ............  lines of the news for display.  var smfFadeContent = new Array(  "',  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/fader.js"></script>  </td>  ............ "><!-- // --><![CDATA[  function smfFooterHighlight(element, value)  {   ............  element.src = smf_images_url + "/" + (value ? "h_" : "") + hxxp: ............ .mysql.com/ [nonactive]" target="_blank" style="font-size:10px;">MySQL</a>&nbsp;|&nbsp;<a href="hxxp: ............ .php.net/ [nonactive]" target="_blank" style="font-size:10px;">PHP</a>&nbsp;|&nbsp;<a href="hxxp: ............ /check/referer [nonactive]" target="_blank" style="font-size:10px;">XHTML</a>&nbsp;|&nbsp;<a href="hxxp: ............ /check/referer [nonactive]" target="_blank" style="font-size:10px;">CSS</a> </td>  </ ............  echo '  <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';   // This is an interesting  ............  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-tree" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  // Folder style or inline? Inline has a smaller font.  echo '<span class="nav-tree" style="font-size: ............  // Folder style or inline? Inline has a smaller font.  echo '<span class="nav-tree">';     ............ ="0">  <tr>';   // Show the [home] button.  echo '  <td align="center" valign=" ............  , $txt[103] , '</a></td>';   // Show the [help] button.  echo '  <td align="center" valign=" ............ [119] , '</a></td>';   // How about the [search] button?  if ($context['allow_search'])  echo '   ............   </tr>  </table> <div align="right" style="font-size:10px;"><a style="color:#000000;" href="#"  ............ '] , '</a></td>';   // the [member] list button  if ($context['allow_memberlist'])  echo '  ............ ">' , $txt[331] , '</a></td>'; //new menu [radyo] button  echo ($current_action == 'radyo' || $context[' ............  : '';   // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])  echo ' ............  // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])  echo ' ............ >';    // How about the [quick links] button?  if ($context['user']['is_logged'])  echo  ............   </tr>  </table> <div align="right" style="font-size:10px;"><a style="color:#000000;" href="#"  ............  </tr>  </table>';  }  // Generate a strip of buttons, out of buttons. function template_button_strip($ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   if (empty($ ............ ))  return '';   // Create the buttons...  foreach ($button_strip as $key => $value)   ............ $context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }   ............  (!isset($buttons[$key]) || $force_reset)  $buttons[$key] = ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ="0" />' : $txt[$value['text']]) . '</a>';   $button_strip[$key] = $buttons[$key];  }   echo '   ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>'; }  // Generate a strip of  ............ . function TEXTLINKS_template_button_strip($button_strip, $direction = 'top', $ ............  = 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($ ............ 'mirror', 'tab_back">', implode(' &nbsp;&nbsp; ', $button_strip) , '</td>  <td class="', $direction ==  ......
#589
Modifications and Packages / Re: Complete PJIRC Integration
huhtikuu 04, 2009, 02:28:39 IP tekijältä ChackanPT
......  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 />  ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").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. ............ '])<br /> echo '<br /><br /> <small>', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</small>';<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; padding: 20px 0 20px 0;">';<br />< ............  , '"> </td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ ']!='boardindex')<br /> // Show the [forum] button.<br /> echo ($current_action=='forum' || $context[ ............ "> </td>' : '';<br /><br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ </td>' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............  '"> </td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............  $last . '"> </td>' : '';<br /><br />// the [chat] button<br /> $path = str_replace("index.php", "chat/ ............ $txt['chat'], '</a></td>';<br /><br />// The [IRC] Button<br /> echo ($current_action == 'chat' || $ ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td> </td>';<br /><br />  ............ ('</td><td class="maintab_back smalltext">', $button_strip) , '</td>';<br />}<br /><br />?> I had the  ............  problem with the AJAX Chat module, the Chat button appeared the same way. Someone helped me but  ......
#590
......  menu sub template should display all the relevant buttons the user<br />wants and or needs.<br /><br />For  ............ , $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 XHTML  ............  for.<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 />$settings[ ............ '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 /> ............  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 this  ............ ="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" : "/ ............ =" + (mode ? 1 : 0);';<br />else<br />echo '<br />smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ <br />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 /></div>< ............ $options;<br /><br />echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ >echo '<br /><ul>';<br /><br />//Show the [Portal] button.<br />echo '<li><a href="http://animeteam.co.cc">< ............ ></a></li>';<br /><br /><br />/*// Show the [home] button.<br />echo '<li><a href="', $scripturl, '">' , $ ............ [103] , '</a></li>';*/<br />//Show the [Foro] button.<br />echo '<li><a href="http://animeteam.co.cc/ ............ </span></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 />echo ' ............  /><br />// If the user is a guest, show [login] button.<br />if ($context['user']['is_guest'])<br />echo  ............  />// If the user is a guest, also show [register] button.<br />if ($context['user']['is_guest'])<br />echo  ............ >';<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 => $value) ............ ($context[$value['test']]))<br />{<br />unset($button_strip[$key]);<br />continue;<br />}<br />elseif (! ............ ($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 == ' ......
#591
Modifications and Packages / Re: SMF Arcade
maaliskuu 28, 2009, 01:45:27 IP tekijältä timthrill
...... /themename/ folder so for instance if you use the default theme it will be in yourforum/Themes/Default/ ok  ............  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%; ">', ............ <br /> <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /><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. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '">&nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ >&nbsp;</td>' : '';<br /><br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ /td>' : '';<br /> <br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............ ;</td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#592
Modifications and Packages / Re: Bakers Dozen Pages
maaliskuu 10, 2009, 06:17:06 IP tekijältä vitalik82
......  : Koodi [Valitse] Laajenna <?php<br />// Version: SMF 2.0 RC1; index<br /><br />/* This template is,  ............  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  ............ '], '" /><br /> <meta name="keywords" content="SMF, русский, скачать, моды, руссификация, темы, для,  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?b21"></script>< ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/theme.js?b21"></script><br  ............  defer type="text/javascript" src="', $settings['default_theme_url'], '/scripts/pngfix.js"></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'], '";', $ ............  // script to support LATIN to Cyrillic translit button<br /> echo '<br /> <script language="JavaScript"  ............ ="text/javascript" src="', $settings['default_theme_url'], '/', $txt['translit_tbl'], '.js"></ ............ " type="text/javascript" src="', $settings['default_theme_url'], '/translit.js"></script>';<br /><br / ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?b21" 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'], '/css/fonts-compat.css" />';<br />< ............  main header object.<br /> var mainHeader = new smfToggle("upshrink", ', empty($options[' ............  /> echo '<img src="', $settings['images_url'], '/smflogo.jpg" style="margin-left: 20px;" title="', $ ............  /> <br /> //[Site] , [Home] , [help] , [searh] buttons; Special thansk css-school.ru =\ ;<br /> echo '< ............ ="0">';<br /> echo '<tr><br /> <td style="font-family: Verdana; color: #212121; font-size: 12px;" ............  /> </tr><br /> <tr><td align="center" style="font-size: 10px;"><br /> <a href="http://validator. ............ </span></a><br /> <br /><br /> <a href="http://smf2.uuuq.com">RuNet Theme by [cer]</a><br /> </td>< ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 15px;">';<br /><br / ............  , '"></td>';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> echo ($button[' ............ >' : '' , ' <td valign="top" class="maintab_', $button['active_button'] ? 'active_back' : 'back', '"><br  ............ /> <a href="', $button['href'], '">', $button['title'], '</a><br /> </ ............ >', $button['active_button'] ? '<td class="maintab_active_' .  ............ >';<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 /> {<br /> if ($ ............ ['url'] === '{SUBMIT}')<br /> $buttons[$key] = '<input type="submit" value="' . (isset($ ............ 'custom'] : '') . $txt[$value['text']] . '" class="button_strip_submit" />';<br /> else<br /> $buttons[ ............  . $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 == ......
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ <br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2p"></script><br /> < ............ /javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ '] == 'no'))<br /> {<br /> // Defaults.<br /> $options['theme_color'] = isset($ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  /> <input style="cursor: pointer; font-size: 2px; width:100px;"  ............  /> <input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type= ............  /> <input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type= ............  /> <input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type= ............  /> <input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type= ............  /> <input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type= ............ " 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 /> </ ............ ="middletext">&nbsp;&nbsp;&nbsp;&nbsp;', $txt['smf52'], '</span><br /> < ............ '])<br /> echo ' | &nbsp;'. $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: 1ex; margin-top:  ............  <br /><br /> // Show the [Help] button.<br /> echo' <br />  ............ /><br /> // How about the [search] button?<br /> if ($context['allow_search' ............ <br /><br /> // the [Recent Posts] button<br /> echo '<br />  ............  // If the user is a guest, show [login] button.<br /> if ($context['user'][' ............  // If the user is a guest, also show [register] button.<br /> if ($context['user'][' ............  /><br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ ['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> } ............ <br /> elseif (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$ ............ . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br / ............ > if (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /> ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $ ......
#594
Modifications and Packages / Re: Sitemap
maaliskuu 05, 2009, 04:40:08 IP tekijältä 0413
......  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'], '/scripts/script.js?b21"></script>< ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/theme.js?b21"></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?b21" 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'], '/css/fonts-compat.css" />';<br />< ............  main header object.<br /> var mainHeader = new smfToggle("upshrink", ', empty($options[' ............ ']))<br /> echo '<br /> <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ <br /> <td 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'], '/scripts/sha1.js"></script><br />< ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex;">';<br /><br /> ............ >&nbsp;</td>';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> echo ($button[' ............ >' : '' , ' <td valign="top" class="maintab_', $button['active_button'] ? 'active_back' : 'back', '"><br  ............ /> <a href="', $button['href'], '">', $button['title'], '</a><br /> </ ............ >', $button['active_button'] ? '<td class="maintab_active_' .  ............ >';<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 /> {<br /> if ($ ............ ['url'] === '{SUBMIT}')<br /> $buttons[$key] = '<input type="submit" value="' . (isset($ ............ 'custom'] : '') . $txt[$value['text']] . '" class="button_strip_submit" />';<br /> else<br /> $buttons[ ............  . $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 == ......
......  how to do this?   Try this if you are using SMF 1.1.x, apparently it doesn't work with 2.x. Just  ............  * * is chosen ($date_links_to_posting = true), SMF permissions are in effect and only * *  ............ , day * * numbers will link to the full SMF Calendar page. Additionally, if option to show  ............  * * a separate 'Post Event' button is chosen ($show_post_event_button = true), it  ............  referred to as 'language other than server default' as this Calendar will * * use the server's  ............  * * entry color to the date, bolded, on the default background. Commented example given * * of  ............  = true;   // Adds 'Post Event' button to bottom of block $show_post_event_button = true; ............  = '#D00000'; // comment out to use default text colors - $color_saturday = '#D00000'; //  ............  // or color names $bkgrd_today = 'white';  // Default class to use when no other class specified $ ............  = ''; // $class_default = 'smalltext'; // $class_default = 'windowbg2';  / ............   // Highlight bolded color for date entry type on default backgound // $hilite_bday_color = '#'.$ ............  // // To use Month and Day names other than the default on your server, // remove the two asterisk '**** ............ -color: '.$hilite_bday_bkgrd.'; '; $hi_bday_fontwt = ''; if (isset($hilite_bday_bold) && $ ............ ) $hi_bday_fontwt = 'font-weight:bold; ';  $hi_event_color = '';  ............ -color: '.$hilite_event_bkgrd.'; '; $hi_event_fontwt = ''; if (isset($hilite_event_bold) && $ ............ ) $hi_event_fontwt = 'font-weight:bold; ';  $hi_hday_color = '';  ............ -color: '.$hilite_hday_bkgrd.'; '; $hi_hday_fontwt = ''; if (isset($hilite_hday_bold) && $ ............ ) $hi_hday_fontwt = 'font-weight:bold; ';  if (!isset($ ............ )) $class_default = 'windowbg'; if ($class_default == '') $ ............  = 'windowbg';  $table_bkgrd = 'class="'.$class_default.'" cellspacing="1"'; if ($bordercolor_gridlines) $ ............  = '<a class="smalltext" style="'.$todays_color.'font-weight:bold; border:solid 1px black;   '.$ ............ ="'. $hi_bday_color . $hi_bday_bkgrd .   $hi_bday_fontwt .'padding: 0px 2px 0px 2px;"';   ............ ($hilite_bday_class)) $hilite_bday_class = $class_default;  if ($hilite_bday_class == '') ............  $hilite_bday_class = $class_default;  foreach($bdays as $startdate  ............ '. $hi_event_color . $hi_event_bkgrd .   $hi_event_fontwt .'padding: 0px 2px 0px 2px;"';   ............ $hilite_event_class)) $hilite_event_class = $class_default;  if ($hilite_event_class == '' ............ ) $hilite_event_class = $class_default;  foreach($events as $ ............ ="'. $hi_hday_color . $hi_hday_bkgrd .   $hi_hday_fontwt .'padding: 0px 2px 0px 2px;"';   ............ ($hilite_hday_class)) $hilite_hday_class = $class_default;  if ($hilite_hday_class == '') ............  $hilite_hday_class = $class_default;  foreach($holidays as $ ............ ($class_day_names)) $class_day_names = $class_default; if ($class_day_names == '') $class_day_names = $ ............ "   style="padding-left: 0px; padding-right: 0px;font-size: x-small;"   abbr="'.htmlentities($d).'">'. ............ ($weekday > 0) $calendar .= '<td class="'.$class_default.'" colspan="'.$weekday.'"> </td>';   #initial ' ............ ($classes).'" style="padding: 0px 0px 0px 0px;font-size: x-small;">' :   '>').($link ? '<a href="'. ............  $calendar .= '<td'.$col_width.' class="'.$class_default.'" align="center" valign="middle"   style=" ............ : 0px 0px 0px 0px;font-size: x-small;"><a class="smalltext"';  if  ............ ($weekday != 7) $calendar .= '<td class="'.$class_default.'" colspan="'.(7-$weekday).'"> </td>';   # ............ ($list_label_class)) $list_label_class = $class_default; if ($list_label_class == '') $list_label_class =  ............ $class_default;  if (!isset($list_entry_class)) $ ............  = $class_default; if ($list_entry_class == '') $list_entry_class =  ............ $class_default;  //////////////////////////////////////////////// ............ ="7" class="smalltext" align="center" style="font-weight: bold; color: ' .   $ ............ ="' . $txt[92] . ' ' . $member['name'] . '">' . '<font color="'. $member['color'] .'">' . (   ($nowdate  ............ ) . ( ($nowdate == $startdate) ? '</b>' : '') . '</font>' . '</a>';  echo '</td></tr>'; ............ ="7" class="smalltext" align="center" style="font-weight: bold; color: ' .   $ ............ ="7" class="smalltext" align="center" style="font-weight: bold; color: ' .   $ ............  }  }  } } }  if ($show_post_event_button) {  if (allowedTo('calendar_post')) {   ............  echo '<tr><td colspan="7" class="'.$class_default.'" align="center" valign="middle">';   ............ =', $context['session_id'], '">','<br />', create_button('calendarpe.gif',   'calendar23', 'calendar23', ' ............   } }   Sorry..I should have mention I am using SMF 2.0RC1  Can anyone else help out> This is would  ......
#596
Modifications and Packages / Re: Bookmarks
helmikuu 11, 2009, 06:15:58 AP tekijältä SurrealKilla
......  menu sub template should display all the relevant buttons the user<br /><br /> wants and or needs.<br />< ............ , $txt;<br /><br /><br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /><br /> if this is 'always', images from the default theme will be used.<br /><br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /><br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /><br /> 'xhtml' for  ............  /><br /> This should probably be the version of SMF it was created for. */<br /><br /> $settings[' ............ '] = true;<br /><br /><br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /><br /> $ ............ ['use_buttons'] = true;<br /><br /><br /><br /> /* Show sticky  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />< ............ /javascript"><!-- // --><![CDATA[<br /><br /> var smf_theme_url = "', $settings['theme_url'], '";<br />< ............  /> var smf_images_url = "', $settings['images_url'], '";<br / ............ ><br /> var smf_scripturl = "', $scripturl, '";<br /><br /> var  ............ '] ? 'true' : 'false', ';<br /><br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /><br />  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /><br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />< ............ > <style type="text/css"><br /> #yshout {<br /> font-size: 10px;<br /> overflow: hidden;<br />  ............  /> }<br /> #yshout .shout-timestamp {<br /> font-style: normal;<br /> font-weight: normal;<br />  ............ <br /> #yshout .shout-adminlinks { /* del and ban buttons */<br /> font-size: 6pt;<br /> color: # ............  margin-right: 5px;<br /> }<br /> #yshout #shout-button {<br /> width: 55px;<br /> }<br /> #yshout . ............  /><br /> else<br /><br /> echo '<br /><br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  /><br /> else<br /><br /> echo '<br /><br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  class="smalltext">', theme_copyright(), '<br /><font color="#454545">Theme </font><font color="#6E0101" ............ ><b>Dark4 By</b></font> <a href="http://www.fussilet.com" target="_blank" ............ <p align="center"><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span></p>';<br /><br /><br /><br /> //  ............  '<br /><br /> window.addEventListener("load", smf_codeFix, false);<br /><br /><br /><br />  ............  smf_codeFix()<br /><br /> {<br /><br /> var  ............  '<br /><br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /><br /> window.onload = smf_codeFix;<br /><br /><br /><br /> function  ............ /><br /><br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  </tr>  </table>    <?  }  // 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 (! ............ ($buttons[$key]) || $force_reset)   $buttons[$key] = '<a  ............ : '') . '>' . $txt[$value['text']] . '</a>';     $button_strip[$key] = $buttons[$key];   }     if (empty($ ............ 'main' : 'mirror', 'tab_back">', implode(' | ', $button_strip) , '</td>   <td class="', $direction == ' ............ ;  }    ?>  [/quote] Its a custom template not the default, and im using 1.17 (not upgraded to 8 yet)   thx  ......
#597
......  figure out is..  When you click on the Gallery button, the gallery opens fine, however, the gallery  ............  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 />  ............ /javascript"><!-- // --><![CDATA[<br /> var myfontsize = ', empty($options['myfontsize']) ? '\'90\''  ............ : '\'' . $options['myfontsize']. '\'' , ';<br /> function setfontsize( ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (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  ............  '<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 /><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:  ............  class="menu">';<br /> <br /> // Show the [home] button.<br /> echo '<li', $current_action == 'home' ? '  ............  , '</b></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 '< ............  '</b></a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ >' , $txt[331] , '</b></a></li>';<br /> <br /> // [SMF Media Gallery]<br /> if (allowedTo(' ............  /><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>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#598
......  one (and the least fun one) to maintain in all of SMF's mods, although it's also clearly one of the  ............  the Admin area -- they would have to click on a button to make it show up. Just like SMF2 has added a " ............  satisfaction and yours.  Just have a look at what SMF Media Gallery has become since I jumped onboard.  ............ .Yeah, count on me for that. (Some people over at smf-media.com *know* how I can be vocal in these  ............  this one Actually, I think Aeva should be part of SMF, in a stripped down version (only Youtube,  ............  regexps. Of course, this will never happen. Hell, SMF2 final will not be released before it feature- ............  would be the "simplified" list I would show by default in the Aeva admin area. The question is -- which  ............  the problem? The only thing I might change is the font size. ......
#599
Modifications and Packages / Re: The Rules
marraskuu 13, 2008, 11:32:17 IP tekijältä Mack450
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ <br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />  ............ /javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ "><!-- // --><![CDATA[<br /> var myfontsize = ', empty($options['myfontsize']) ? '\'90\''  ............ : '\'' . $options['myfontsize']. '\'' , ';<br /> function  ............  echo '<br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  echo '<br /> smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> < ............ <br /> <br /><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............  '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix( ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ ="menu">';<br /> <br /> // Show the [home] button.<br /> echo '<li', $current_action == 'home' ? ' ............ </a></li>';<br /><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 />  ............ </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 />  ............  </ul>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ ['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> } ............ <br /> elseif (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$ ............ . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br / ............ > if (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /> ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $ ......
#600
Modifications and Packages / Re: PM Informer
marraskuu 08, 2008, 03:36:47 AP tekijältä RoH
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............  $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'] = false;   /* 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" />';   // Show  ............ ['header_logo_url'] : $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,  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>   <form  ............ ">  <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'], '  <input type="hidden" name=" ............  align="center" class="smalltext">  ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '  </div>';   // The following will be  ............  // 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'] . '/'  ............ , '?action=help">', ($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'] . '/'  ............ }  Koodi [Valitse] Laajenna // Generate a strip of buttons, out of buttons. function template_button_strip($ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   if (empty($ ............ ))  return '';   // Create the buttons...  foreach ($button_strip as $key => $value)   ............ $context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }   ............  (!isset($buttons[$key]) || $force_reset)  $buttons[$key] = ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ="0" />' : $txt[$value['text']]) . '</a>';   $button_strip[$key] = $buttons[$key];  }   echo '   ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>'; }  ?> ......
Advertisement: