Uutiset:

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

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
#661
......  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. ............ -1/snowstorm.js"></script><br /><body><!-- AddThis Button BEGIN --><br /><div class="addthis_toolbox  ............  addthis_32x32_style"><br /><a class="addthis_button_preferred_1"></a><br /><a class=" ............ "></a><br /><a class="addthis_button_preferred_4"></a><br /><a class=" ............ =xa-4d044a94464d6f4a"></script><br /><!-- AddThis Button END --><br /><br /><table width="973" border="0"  ............ ="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. ............  '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span><br />';<br /> }<br />  ............ > 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 == ......
#662
Teme i Grafika / Re: Pomoć - nešto za temu
helmikuu 08, 2012, 03:18:09 IP tekijältä Lopa
......  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 opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc3"></script>< ............ ="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");< ............ '], '\';" /><br /> <input id="searchbutton" class="pngbg" type="submit" name="submit" value=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  /> </div><br /> <input id="loginbutton" type="submit" value="" name="submit" /><br />  ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  = array();<br /><br /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li><a' . (isset($value['id']) ? ' ............  id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ]] . '</span></a></li>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  // Make the last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' float' . $direction : ............  '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  '"': ''), '><br /> <ul>',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
#663
Italiano (Italian) / Re: Togliere le statistiche
helmikuu 07, 2012, 03:54:05 AP tekijältä erbasox
......  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 opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc5"></script>< ............ ="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");< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /><br /> ', $txt[' ............  /> sId: \'upshrink\',<br /> srcExpanded: smf_images_url + \'/upshrink.gif\',<br />  ............ ']), ',<br /> srcCollapsed: smf_images_url + \'/upshrink2.gif\',<br />  ............ ">', theme_copyright(), '</li><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check/ ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ </span></a></li><br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............  clearfix">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> $classes =  ............ ();<br /> if (!empty($button['active_button']))<br /> $classes[] = 'active';< ............  /> if (!empty($button['is_last']))<br /> $classes[] = 'last';<br /> / ............  /> if ($context['browser']['is_ie6'] && !empty($button['active_button']) && !empty($button['is_last']))< ............  ', $classes);<br /><br /> echo '<br /> <li id="button_', $act, '"', !empty($classes) ? ' class="' . $ ............  . '"' : '', '><br /> <a title="', !empty($button['alttitle']) ? $button['alttitle'] : $button[' ............ '], '" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> <span>', ($ ............ ['active_button'] ? '<em>' : ''), $button['title'], ($button[' ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ .<br /> if ($context['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li' . (isset($value['active']) ?  ............ "' : '') . '><a' . (isset($value['id']) ? ' id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ['text']]) . '</span></a></li>';<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  class="active last lastactive">');<br /><br /> $buttons[count($buttons) - 1] = str_replace($list_item, $ ............ , $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', $direction != 'top' ? '_bottom' : '', '"', ( ............ ($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  class="reset clearfix">',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
#664
Français (French) / Re: pub page index
tammikuu 10, 2012, 05:16:46 AP tekijältä poulka
......  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............   $settings['use_tabs'] = true;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ " type="text/javascript" src="', $settings['default_theme_url'], '/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%; ">', ............  <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />   ............ " 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=" ............  ', theme_copyright(), '<br /><a href="http://www.smfads.com" target="_blank">SMFAds</a> for <a href=" ............ ">Free Forums</a> <br /><a href="http://www.smfads.com" target="_blank">SMFAds</a> for <a href=" ............ ="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:  ............ ;   if($count == $i)  echo'<h1 style="font-size: 1em; display: inline;">';   // Show  ............ , $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 ($ ............ : '';    // 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 ==  ......
#665
Theme Site Themes / Re: Autumn
lokakuu 17, 2008, 02:09:13 AP tekijältä nax
......  the index.template.php file in this part of the smf forum (I'm not sure it wil allow me to PM it  ............  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. ............ 'is_logged'])<br /> echo '<br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><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"  ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br />echo '<br /> </div><br /> ............  <div class="right">Theme by <a href="http://smfthemes.blogspot.com" target="_blank">Hoochie  ............ > 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 /> echo '<ul>';<br /><br /> // Show the [home] button.<br /> echo '<li', $current_action == 'home' ? '  ............ ] , '</a></li>';<br /><br /> // Show the [help] button.<br /> echo '<li', $current_action == 'help' ? '  ............ '</a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo '< ............ '] , '</a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............  ';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ............  the index.template.php file in this part of the smf forum (I'm not sure it wil allow me to PM it  ......
#666
......  there!  Im using default theme only but when i try to install the mod the  ............  shows failure: Koodi [Valitse] Laajenna ./Themes/default/Post.template.php Test failed  ./Themes/default............ " type="text/javascript" src="', $settings['default_theme_url'], '/spellcheck.js"></script>';<br />< ............ [i]].value;<br /><br /> sendXMLDocument(smf_scripturl + "?action=post2" + (current_board ? "; ............ > var i, preview = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("preview")[0];<br />  ............  /> var errors = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("errors")[0];<br />  ............ .num_replies.value = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("num_replies")[0]. ............  /> var newPosts = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("new_posts")[0] ?  ............ .getElementsByTagName("smf")[0].getElementsByTagName("new_posts")[0]. ............ ")[0].firstChild.nodeValue + \' <img src="\' + smf_images_url + \'/', $context['user']['language'], ' ............ ), newTable);<br /> }<br /><br /> if (typeof(smf_codeFix) != "undefined")<br /> smf_codeFix();< ............  document.getElementById("postMoreExpand").src = smf_images_url + "/" + (currentSwap ? "collapse.gif" : ............  for="options-\' + pollOptionNum + \'">', $txt['smf22'], ' \' + pollOptionNum + \'</label>: <input  ............ ="left"><br /> <div style="padding: 0px; font-weight: bold;', empty($context['error_type']) || $ ............ /> <td align="left"><br /> ', $txt['smf287'], '<br /> </td><br /> </tr>';<br  ............ > <tr><br /> <td align="right" style="font-weight: bold;', isset($context['post_error'][' ............ > <tr><br /> <td align="right" style="font-weight: bold;', isset($context['post_error'][' ............ > <tr><br /> <td align="right" style="font-weight: bold;', isset($context['post_error'][' ............ > <tr><br /> <td align="right" style="font-weight: bold;', isset($context['post_error'][' ............ > <tr><br /> <td align="right" style="font-weight: bold;', isset($context['post_error'][' ............ , '" id="caption_question"><br /> ', $txt['smf21'], ':<br /> </td><br /> <td align= ............  <label for="options-', $choice['id'], '">', $txt['smf22'], ' ', $choice['number'], '</label>: <input  ............ "' : '') . ' value="1" class="check" /> ' . $txt['smf14'] . '</label>' : '', '</td><br /> < ............ "' : '') . ' value="1" class="check" /> ' . $txt['smf15'] . '</label>' : '', '</td><br /> </ ............ ="right" valign="top"><br /> <b>', $txt['smf119b'], ':</b><br /> </td><br /> <td  ............ "attach_del[]" value="0" /><br /> ', $txt['smf130'], ':<br />';<br /> foreach ($context[' ............ ="right" valign="top"><br /> <b>', $txt['smf119'], ':</b><br /> </td><br /> <td  ............ ']))<br /> echo '<br /> ', $txt['smf120'], ': ', $context['allowed_extensions'], '<br / ............ >';<br /> echo '<br /> ', $txt['smf121'], ': ', $modSettings['attachmentSizeLimit'], ' ............  ' . $txt['smf211'], !empty($modSettings[' ............ </tr>';<br /> }<br /><br /> // Finally, the submit buttons.<br /> echo '<br /> <tr><br /> <td  ............  /> <span class="smalltext"><br />', $txt['smf16'], '</span><br /><br /> <input type=" ............ '], '\');" />';<br /><br /> // Spell check button if the option is enabled.<br /> if ($context[' ............ '])<br /> echo '<br /> <input type="button" value="', $txt['spell_check'], '" tabindex="', $ ............ 'd expect to see with a message box, the box, BBC buttons and of course smileys.<br />function  ............  /> // Assuming BBC code is enabled then print the buttons and some javascript to handle it.<br /> if ($ ............ > something.style.backgroundImage = "url(" + smf_images_url + (mode ? "/bbc/bbc_hoverbg.gif)" : "/ ............  => $txt[532]),<br /> 'face' => array('code' => 'font', 'before' => '[font=Verdana]', 'after' => '[/ ............ ' => $txt[261]),  );   $found_button = false;  // Here loop through the array,  ............   // Is there a "before" part for this bbc button? If not, it can't be a button!!  if ( ............ ']]))  continue;   $found_button = true;   // If there's no after, we' ............  I guess it's a divider...  elseif ($found_button)  {  echo '<img src="', $ ............ ="margin: 0 3px 0 3px;" />';  $found_button = false;  }  }   // Print a  ............  </select>';  echo '<br />';   $found_button = false;  // Print the buttom row of buttons! ............ ']]))  continue;   $found_button = true;   // If there's no after, we' ......
#667
Classic Themes / Re: [Theme] ElemenT (SMF 1.0.X)
toukokuu 13, 2005, 09:13:25 IP tekijältä Chris 96 WS6
......  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script>  <script  ............ "JavaScript" type="text/javascript"><!--  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";  / ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)  Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.  Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  <option value="60">', $txt['smf53'], '</option>  < ............  value="1440">', $txt['smf47'], '</option>  < ............  value="10080">', $txt['smf48'], '</option>  < ............  value="302400">', $txt['smf49'], '</option>  < ............  value="-1" selected="selected">', $txt['smf50'], '</option>  </select>  ............ [34], '" /><br />  ', $txt['smf52'], '  </form>';    echo '  ............ ">  <option value="60">', $txt['smf53'], '</option>  <option value=" ............ ">', $txt['smf47'], '</option>  <option value=" ............ ">', $txt['smf48'], '</option>  <option value=" ............ ">', $txt['smf49'], '</option>  <option value="-1"  ............ ="selected">', $txt['smf50'], '</option>  </select>   ............ ="', $txt[34], '" /><br />  ', $txt['smf52'], '  </form>  </td></tr>  </ ............ '])  echo '  <br />', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '  ';  echo '  </td>  </ ............  // Folder style or inline? Inline has a smaller font.  echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: 10px;"' : '', '>';   // Each tree item  ............ , $txt;   // Show the [home] and [help] buttons.  echo '  <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['menu_separator'];   // How about the [search] button?  if ($context['allow_search'])  echo '   ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.  if ($context['user']['is_guest'])  {   ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#668
SMF 2.0.x Support / Re: put an google adsense help please
lokakuu 28, 2011, 07:20:57 AP tekijältä rihsano
...... **<br /> 3.<br /> * Simple Machines Forum (SMF)<br /> 4.<br /> *<br /> 5.<br /> * ............  @package SMF<br /> 6.<br /> * @author Simple Machines< ............  * @license http://www.simplemachines.org/about/smf/license.php BSD<br /> 9.<br /> *<br />  ............  menu sub template should display all the relevant buttons the user<br /> 32.<br /> wants and or  ............ ');<br /> 45.<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 /> 47.<br /> if this  ............  'defaults', images from the default theme will only be  ............  with default templates.<br /> 48.<br /> if this is ' ............ ' or isn't set at all, images from the default theme will not be used. */<br /> 49.<br /> $ ............ ['use_default_images'] = 'never';<br /> 50.<br /> <br />  ............  What document type definition is being used? (for font size and other issues.)<br /> 52.<br /> ' ............ <br /> This should probably be the version of SMF it was created for. */<br /> 58.<br /> $ ............ .<br /> <br /> 63.<br /> /* Use plain buttons - as opposed to text buttons? */<br /> 64.<br /> ............  $settings['use_buttons'] = true;<br /> 65.<br /> <br /> 66.<br / ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />  ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></script>< ............ "><!-- // --><![CDATA[<br /> 114.<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............ .<br /> var smf_default_theme_url = "', $settings[' ............ '], '";<br /> 116.<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > 117.<br /> var smf_scripturl = "', $scripturl, '";<br /> 118.<br />  ............  var smf_iso_case_folding = ', $context['server'][' ............ ] ? 'true' : 'false', ';<br /> 119.<br /> var smf_charset = "', $context['character_set'], '";', $ ............ '] . '"))<br /> 123.<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");< ............ /> <br /> 207.<br /> <div class="social_buttons">';<br /> 208.<br /> if (empty($settings[' ............ <br /> 211.<br /> echo '<div class="myspace_button"><a href="' . $settings['myspace_button'] .<br />  ............  /> 214.<br /> if (empty($settings['youtube_button']))<br /> 215.<br /> echo '';<br /> 216.<br / ............ <br /> 217.<br /> echo '<div class="youtube_button"><a href="' . $settings['youtube_button'] .<br />  ............  /> 220.<br /> if (empty($settings['twitter_button']))<br /> 221.<br /> echo '';<br /> 222.<br / ............  else<br /> 223.<br /> echo '<div class="twit_button"><a href="' . $settings['twitter_button'] .<br />  ............  /> 227.<br /> if (empty($settings['facebook_button']))<br /> 228.<br /> echo '';<br /> 229.<br / ............  else<br /> 230.<br /> echo '<div class="face_button"><a href="' . $settings['facebook_button'] .<br /> ............ >';<br /> 233.<br /> echo '<div class="rss_button"><a href="' . $scripturl .<br /> 234.<br /> ' ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> 317.<br />  ............  <br /> 364.<br /> foreach ($context['menu_buttons'] as $act => $button)<br /> 365.<br /> {<br  ............ .<br /> echo '<br /> 367.<br /> <li id="button_', $act, '"><br /> 368.<br /> <a class="', $ ............ ['active_button'] ? 'active ' : '', 'firstlevel" href="', $button............ 'href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' ............  : '', '>', $button['title'], '</a>';<br /> 369.<br /> if (! ............ ($button['sub_buttons']))<br /> 370.<br /> {<br />  ............  373.<br /> <br /> 374.<br /> foreach ($button['sub_buttons'] as $childbutton)<br /> 375.<br />  ............  <li><br /> 378.<br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '><br /> 379.<br /> < ............ ', isset($childbutton['is_last']) ? ' class="last"' : '', '>', $ ............ ['title'], !empty($childbutton['sub_buttons']) ? '...' : '', '</span><br /> 380.< ............  menus :)<br /> 382.<br /> if (!empty($childbutton['sub_buttons']))<br /> 383.<br /> {<br />  ............ <br /> <br /> 387.<br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br /> 388.< ............  <li><br /> 390.<br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '><br /> 391.<br /> < ............ ', isset($grandchildbutton['is_last']) ? ' class="last"' : '', '>', $ ............  <br /> 414.<br /> // Generate a strip of buttons.<br /> 415.<br /> function  ............ ($button_strip, $direction = 'top', $strip_options = array( ............ .<br /> <br /> 422.<br /> // List the buttons in reverse order for RTL languages.<br /> 423.< ............ ($context['right_to_left'])<br /> 424.<br /> $button_strip = array_reverse($button_strip, true);<br />  ............ .<br /> <br /> 426.<br /> // Create the buttons...<br /> 427.<br /> $buttons = array();<br / ............ > 428.<br /> foreach ($button_strip as $key => $value)<br /> 429.<br /> {< ............ ($context[$value['test']]))<br /> 431.<br /> $buttons[] = '<br /> 432.<br /> <li><a' . (isset($ ............ ['id']) ? ' id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............  /> 434.<br /> <br /> 435.<br /> // No buttons? No button strip either.<br /> 436.<br />  ............  (empty($buttons))<br /> 437.<br /> return;<br /> 438.<br />  ............  one, as easy as possible.<br /> 440.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /> 441.<br /> < ............  /> echo '<br /> 443.<br /> <div class="buttonlist', !empty($direction) ? ' float' . $direction : ............  '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  /> <ul>',<br /> 445.<br /> implode('', $buttons), '<br /> 446.<br /> </ul><br /> 447.<br />  ......
#669
Classic Themes / Re: [Theme] PitchBlack for SMF 1.0.5
joulukuu 06, 2005, 08:04:02 IP tekijältä maviarab
......  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script>  <script  ............ "JavaScript" type="text/javascript"><!--  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";  / ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)  Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.  Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ?action=unread;all">Show all unread.</a>' : '' , '<font style="float: right">News: ', $context[' ............ '], '</font></td></tr></table> <table width="100%" border="0" ............ " type="text/javascript"><!--  function smfFooterHighlight(element, value)  {   ............  element.src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="40%" valign="middle" align="left">  <font size="1">',$txt[9000],'</font>  </td>   ............ ;">  ', theme_copyright(), ' <br><font size="1">', $settings['custom_copyright'], '</ ............  echo '  <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';   echo '  <center><table  ............  . '/top.gif" border="0" style="float: left"/></a><font color="#333333"> ', $context['current_time'], '</ ............  echo '  window.addEventListener("load", smf_codeFix, false);   function smf_codeFix()  ............  = window.onload;  window.onload = smf_codeFix;   function smf_codeFix()   ............  // Folder style or inline? Inline has a smaller font.  echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';   // Each tree item  ............ , $txt;   // Show the [home] and [help] buttons.  echo '  <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['menu_separator'];   // How about the [search] button?  if ($context['allow_search'])  echo '   ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.  if ($context['user']['is_guest'])  {   ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#670
Graphics and Templates / Re: Extra Default Buttons .....
joulukuu 25, 2004, 04:21:58 IP tekijältä eSolutionsWork
......  Christmas   Lots of posts saying 'here are your buttons' and all with due 'thanks ' - but most have no  ............  thru these 4 pages repeatedly and most of the buttons aren't there. May I suppose they've been taken  ............  babylonking's server?  Then there's the buttonmaker... makes buttons ok and I thank the member  ............  that. But the buttons I''ve made (using a wide variety of options)  ............  terrible. The original default buttons (which I' use) have smf font text that is  ............  them look most inferior in comparison.  I want a button to take users to the coppermine module. 'GALLERY', ............  the only one who's ever thought of having such a button, cos nobody has asked here, and no icon image is  ............  in the button maker. I find that curious.  So I've made a blank  ............  added an icon. Looks gr8. Now I have to add the smf-font text. Where that comes from, I've no idea.  ............ , making buttons is a sinch. Getting the right font is not so  ............ . So, instead of endless requests for buttons, why not have here the smf font. We could add it  ............  our own fonts, or cut and paste letters into the button. Maybe  ............  font *is* available and I'm the only sucker who doesn' ......
......  <?php<br />/**<br /> * Simple Machines Forum (SMF)<br /> *<br /> * @package SMF<br /> * @author  ............  /> * @license http://www.simplemachines.org/about/smf/license.php BSD<br /> *<br /> * @version 2.0<br /> ............  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 opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></script>< ............ ="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");< ............ > ', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo. ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /><br /> <div class="info">', $ ............  name="submit" value="', $txt['search'], '" class="button_submit" /><br /> <input type="hidden" name=" ............ /> sId: \'upshrink\',<br /> srcExpanded: smf_images_url + \'/upshrink.png\',<br />  ............ ']), ',<br /> srcCollapsed: smf_images_url + \'/upshrink2.png\',<br />  ............ ="reset"><br /> <li class="copyright">',$txt['smf_tcurrent'], empty($settings['smf_custom'])? '< ............ ><a href="'. $scripturl . '" title="'. $txt['smf_tcopy'].'">'.$context['forum_name'].'</a></strong> ............ ><a href="'. $scripturl . '" title="'. $txt['smf_tcopy'].'">'.$settings['smf_custom'].'</a></ ............ ">', theme_copyright(),'</li><br /> <li>',$txt['smf_tname'],'<a id="button_xhtml" href="http:// ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ </a></li>' : '', '<br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ ="menu_nav">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> echo '<br /> ............  <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> <span class="' ............ , isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $ ............ '], '</span><br /> </a>';<br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............  <ul>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  '<br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '><br /> <span',  ............ ($childbutton['is_last']) ? ' class="last"' : '', '>', $ ............ ['title'], !empty($childbutton['sub_buttons']) ? '...' : '', '</span><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br /> ............  <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '><br /> <span',  ............ ($grandchildbutton['is_last']) ? ' class="last"' : '', '>', $ ............ ' : <br /> $bg = '';<br /> break;<br /> default : <br /> $bg = 'bg1.png';<br /> }<br />  ............ ';<br />}<br /> <br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  $strip_options = array();<br /><br /> // List the buttons in reverse order for RTL languages.<br /> if ($ ............ ['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li><a' . (isset($value['id']) ? ' ............  id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ]] . '</span></a></li>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  // Make the last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' float' . $direction : ............  '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  '"': ''), '><br /> <ul>',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
#672
Tips and Tricks / Re: [Tip] Drop Down Menu Feature of Dilber MC Theme
toukokuu 21, 2009, 06:51:37 AP tekijältä ScopeXL
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ['allow_color_change'] == 'no'))<br /> {<br /> // Defaults.<br /> $options['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, 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 + ' . '"/'. $settings[' ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + ' . '"/'. $settings[' ............ /> echo ' <br /> <td><br /> <span style="font-family: \'Trebuchet MS\', Verdana, sans-serif;  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="- ............ " selected="selected">', $txt['smf50'], '</option><br /> </select><br />  ............  /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type=" ............ : relative; bottom: 13px; right:15px; float:right; font-size:16px;"><br /> <form action="', $ ............ " value="&raquo;&raquo;" style="width: 8ex; font-size:12px;" /><br /> </form><br /> </ ............ -color: #6699CC; color: #6699CC; width: 20px; font-size: 1px;" type="submit" value="lightblue" name=" ............ -color: #5371AD; color: #5371AD; width: 20px; font-size: 1px;" type="submit" value="lightnavy" name=" ............ -color: #6C7F93; color: #6C7F93; width: 20px; font-size: 1px;" type="submit" value="lightsilver"  ............ -color: #53ADAD; color: #53ADAD; width: 20px; font-size: 1px;" type="submit" value="lightturquoise"  ............ -color: #4DB45D; color: #4DB45D; width: 20px; font-size: 1px;" type="submit" value="lightgreen" name= ............ -color: #93A659; color: #93A659; width: 20px; font-size: 1px;" type="submit" value="lightolive" name= ............ -color: #D8A259; color: #D8A259; width: 20px; font-size: 1px;" type="submit" value="lightgolden"  ............ -color: #a67259; color: #a67259; width: 20px; font-size: 1px;" type="submit" value="lightbrown" name= ............ -color: #E15050; color: #E15050; width: 20px; font-size: 1px;" type="submit" value="lightred" name=" ............ -color: #D47BC5; color: #D47BC5; width: 20px; font-size: 1px;" type="submit" value="lightrose" name=" ............ -color: #A185D6; color: #A185D6; width: 20px; font-size: 1px;" type="submit" value="lightlilac" name= ............ -color: #7F88B2; color: #7F88B2; width: 20px; font-size: 1px;" type="submit" value="lightviolet"  ............ /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=" ............ > <span style="float:right; margin-right:10px; font-size:70%;"><b>Dilber MC</b> Theme by <b><a href=" ............ /> 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: 85%; margin-bottom: 2ex; margin-top: 2ex;">' ............ ><br /> // How about the [search] button?<br /> if ($context[' ............  /> // How about the [Downloads] button?<br /> if ($context[' ............ <br /><br /> // the [member] list button<br /> if ($context[' ............  // If the user is a guest, show [login] button.<br /> if ($context['user'][' ............  // If the user is a guest, also show [register] button.<br /> if ($context['user'][' ............  <br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $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  ............ ' : 'main', 'strip">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#673
Theme Site Themes / Re: Default MultiColor
toukokuu 16, 2008, 06:25:14 IP tekijältä Antechinus
......  is the style.css file I added. If you want it for SMF-only just remover the initial TP classes.  Koodi [ ............  }  .sitemap_header{ padding: 4px; display: block; font-weight: bold; }  .sitemap_header_active{ padding:  ............ ; display: block; font-weight: bold; }  .sitemap_header:hover , . ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  font-size: small;  font-family: verdana, sans-serif;  ............  normal so they align well. */ input, textarea, button {  font-family: verdana, sans-serif; } input,  ............  {  font-size: 90%; }  textarea {  font-size: 100%;   ............ /* All input elements that are checkboxes or radio buttons. */ input.check { }  /* Selects are a bit  ............  it makes them look even better 8). */ select {  font-size: 90%;  font-weight: normal;  font-family: ............ . */ .quote {  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A  ............  block - maybe even PHP ;). */ .code {  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............ , .codeheader {  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............ , .titlebg2, tr.titlebg2 th, tr.titlebg2 td {  font-style: normal;  padding-left: 10px;  padding- ............ .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  font-style: normal; }  .titlebg  ............  */ .titlebg2 a:link, .titlebg2 a:visited {  font-style: normal;  text-decoration: underline; }  . ............ , .catbg2, .catbg3 {   } .catbg, .catbg2 {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  text-decoration: none; } .catbg a: ............  around them. */ .tborder {  padding: 1px; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: verdana, sans- ............ ; } .middletext {  font-size: 90%; } .normaltext {  font-size: small; }  ............ .largetext {  font-size: large; }   /* Posts and personal messages  ............  {  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding:  ............  6px 6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding:  ............  6px 2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............  */ #ajax_in_progress {  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px; ......
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script><br /> <script  ............ " type="text/javascript"><!--<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/ncode_imageresizer.js"></script>';< ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440" ............ >', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ ="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> </form>';<br /> }<br /><br />< ............ " type="text/javascript"><!--<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ [119] . ' :: </a>';<br />// How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: 10px;"' : '', '>';<br /><br /> // Each tree  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /><br /><td height="30" class=" ............ ] . '</a></td>';<br />// How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ [108] . '</a></td>';<br /><br /> // the upshrink button<br /> echo'<br /><td height="30" class=" ......
#675
SMF 1.1.x Support / Re: CronJob Run URL Problem For SMF Mod
lokakuu 13, 2011, 04:27:06 AP tekijältä c a g a t a y
...... ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />   <script language=" ............ " src="http://www.mysite.com/forum/Themes/default/script.js?fin11"></script>   <script language=" ............ ="text/javascript"><!-- // --><![CDATA[   var smf_theme_url = "http://www.mysite.com/forum/Themes/ ............ ";   var smf_images_url = "http://www.mysite.com/forum/Themes/ ............ /images";   var smf_scripturl = "http://www.mysite.com/forum/index. ............ ";   var smf_iso_case_folding = false;   var smf_charset = " ............ /css" href="http://www.mysite.com/forum/Themes/default/print.css?fin11" media="print" />   <link rel=" ............  0);   document.getElementById("upshrink").src = smf_images_url + "/lightnavy" + (mode ? "/expand.gif"  ............    document.getElementById("upshrink_ic").src = smf_images_url + "/lightnavy" + (mode ? "/expand.gif"  ............  {  color: #000000; /* the font color */  border: 1px solid #CCCDCD; /* the  ............ ;  }  table.ncode_imageresizer_warning td {  font-size: 10px;  vertical-align: middle;  text- ............ .com/forum/sohbet/flashchat.php',610,390,1);"><font color="#FFEE00">SOHBET</font></a>  </ ............ :10px;"></td>     <td class="memberbar"><b><font size='2'; face='Verdana'; color='#0015E1'>G n n  ............  z : <b>Ne do rarsan a na o gelir ga na</font>   </span>   </td>   <td class=" ............ " src="http://www.mysite.com/forum/Themes/default/sha1.js"></script>     <form action=" ............ " border="0"> <tr><td align="center"><span style="font-family: Verdana, sans-serif; font-size: 140%; "> ............ /javascript"><!-- // --><![CDATA[   function smfFooterHighlight(element, value)   {   element. ............  = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ " style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;"><a href=" ............ "Simple Machines Forum" target="_blank">Powered by SMF 1.1.15</a> | <a href="http://www.simplemachines. ............ .php" title="Free Forum Software" target="_blank">SMF &copy; 2005, Simple Machines</a>  </span>   < ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............   <span style="float:right; margin-right:10px; font-size:70%;"><b>Dilber MC</b> Theme by <b><a href=" ............  disableclick(e) { if (document.all) { if (event.button==2||event.button==3) { if (event.srcElement. ......
#676
Archief / Re: Tekstvlak shoutbox vergroten. Hulp gevraagd.
syyskuu 16, 2011, 10:13:16 AP tekijältä TattooLeashed
......  cells. */ table {  empty-cells: show; }  /* Set a fontsize that will look the same in all browsers. */  ............  url(../images/theme/backdrop.png) repeat-x;  font: 78%/130% verdana, Helvetica, sans-serif;  margin: ............ ; }  /* We can style the different types of input buttons to be uniform thoughout different browsers and  ............  colour themes.  .button_submit - covers input[type=submit], input[type= ............ ], button[type=submit] and button[type=button] in all  ............   .button_reset - covers input[type=reset] and button[type= ............ [type=file] thoughout all browsers */  input, button, select, textarea {  font: 95%/115% verdana,  ............ . */ select option {  padding: 1px; }  /* The font size of textareas should be just a little bit  ............ . */ textarea {  font: 100%/130% verdana, Helvetica, sans-serif; }  /*  ............  bit differently, in order to make them look more button'ish. */ .button_submit, .button_reset {   ............ ;  border: 1px solid #cc9966;  cursor: pointer;  font-weight: normal; } input:hover, textarea:hover,  ............ , select:hover {  border: solid 1px #00cc66; } .button_submit:hover, .button_reset:hover {  border: 1px  ............  0 -218px #121212; } input:focus, textarea:focus, button:focus, select:focus {  border: solid 1px #00cc66;  ............ /* All input elements that are checkboxes or radio buttons shouldn't have a border around them. */ input. ............ : #666666;  background-color: #666666; }  /* By default set the color on these tags as black. */ h1, h2,  ............ , h4, h5, h6 {  color: #87cefa;  font-size: 1em;  margin: 0;  padding: 0; }  /*  ............  strong as bold, and em as italics */ strong {  font-weight: bold; }  em {  font-style: italic; } /*  ............ : left; } .clear_right {  clear: right; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext, tr.smalltext th {  font-size: 0.85em;  font-family: verdana, sans-serif; } ............  .middletext {  font-size: 0.9em;  line-height: 1em;  font-family:  ............ , sans-serif; } .normaltext {  font-size: 1em;  line-height: 1.2em; } .largetext {   ............  {  color: #00cc66; } .codeheader, .quoteheader {  font-size: 0.9em;  font-weight: bold;  padding-left:  ............  } blockquote, blockquote blockquote blockquote {  font-size: 0.9em;  color: #8F8F8F;  line-height: 1.4em; ............ ; } blockquote blockquote {  background: #1F1F1F;  font-size: 0.9em;  margin: 0 0 0.5em 0;   color: # ............  - maybe even PHP ;). */ code {  display: block;  font-family: "courier new", "times new roman",  ............  to change the code stuff... */ .codeoperation {  font-weight: normal; }  /* Styling for BBC tags */ . ............  inherit; } .bbc_img {  border: 0; } .bbc_table {  font: inherit;  color: inherit; } .bbc_table td {   ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black !important; }  /* A  ............ .titlebg td, tr.titlebg2 td {  color: #limegreen;  font-family: arial, helvetica, sans-serif;  font-size:  ............ .1em;  font-weight: bold;  background: url(../images/theme/ ............  td, tr.catbg th, tr.catbg2 th {  color: #white;  font-family: arial, helvetica, sans-serif;  font-size:  ............ .1em;  font-weight: bold;  background: url(../images/theme/ ............  a {  color: white; } tr.catbg th.smalltext {  font-size: 0.9em; } tr.titlebg th.smalltext, thead tr. ............  thead tr.titlebg th a:visited {  color: #00cc66;  font-size: 0.95em; }  /* Alternating backgrounds for  ............  }  /* the page navigation area */ .pagesection {  font-size: 0.9em;  padding: 0 0 0.2em 0;  overflow:  ............  shade, too! */ .lockedbg {  background: #000000;  font-style: italic; } .lockedbg2 {  background: # ............ ;  font-style: italic; }  /* Posts and personal messages  ............ -top: solid 1px #191919;  line-height: 1.4em;  font-size: 0.85em; } .custom_fields_above_signature {   ............ -top: solid 1px #202020;  line-height: 1.4em;  font-size: 0.85em; }  /* Sometimes there will be an  ............ , a.moderation_link:visited {  color: red;  font-weight: bold; }  .openid_login {  background:  ............ , .plainbox {  padding: 0.5em 1em 1em 1em;  font-size: 0.9em;  line-height: 1.4em;  border: solid  ............  */ .information {  padding: 0.5em 1em 1em 1em;  font-size: 0.9em;  line-height: 1.3em;  border: solid  ............ ) repeat-x;  color: #F96F00;  text-align: center;  font-size: 16pt;  padding: 8px;  width: 100%;  height:  ............  a {  color: orange;  text-decoration: underline;  font-size: smaller;  float: right;  margin-right: 20px; ............ : none;  margin: 0 0 10px 0;  padding: 5px 0 0 0;  font-weight: bold;  clear: both; } dl.settings dt. ............ : hidden;  height: 31px;  line-height: 32px;  font-size: 1.2em;  font-weight: bold;  } h3.catbg a,  ............  thead th {  height: 28px;  color: white;  font-family: arial, helvetica, sans-serif;  font-size:  ............ .1em;  font-weight: bold;  background: url(../images/theme/ ............ ./images/theme/main_block.png) 0 -40px no-repeat;  font-size: 5px;  line-height: 5px;  margin-bottom: 0. ............ ./images/theme/main_block.png) 0 -71px no-repeat;  font-size: 5px;  line-height: 5px;  margin-bottom: 0. ............ ; } .dropmenu a {  display: block;  color: #6633;  font-weight: bold;  text-decoration: ; } .dropmenu a  ............  {  display: block;  padding: 0 0 0 5px;  font-size: 0.9em; } /* the backgrounds first level  ............ : none;  position: absolute;  width: 19.2em;  font-weight: normal;  border-bottom: solid 1px #131313; ............  ul {  margin: -1.8em 0 0 13em; }  /* the active button */ .dropmenu li a.active {  background: url(../ ............ /menu_gfx.png) no-repeat 100% 0;  color: none;  font-weight: bold; } .dropmenu li a.active span. ............ ;  right: 5000px; }  /* Styles for the standard button lists. ------------------------------------------- ............ ------------ */  .buttonlist ul {  z-index: 100;  padding: 5px;  margin: 0  ............ .2em 0 0; } .buttonlist ul li {  margin: 0;  padding: 0;  list-style:  ............ ;  float: left; } .buttonlist ul li a {  display: block;  font-size: 0.8em;  ............  color: #000000;  font-weight: bold;  background: url(../images/theme/ ............ ;  text-transform: uppercase;  cursor: pointer; } .buttonlist ul li a:hover {  background: url(../images/ ............  0 0;  color: none;  text-decoration: none; } .buttonlist ul li a span {  background: url(../images/ ............ : 0 8px 0 0;  position: relative;  right: -8px; } .buttonlist ul li a:hover span {  background: url(../ ............ .png) no-repeat 100% 0; } /* the active one */ .buttonlist ul li a.active {  background: url(../images/ ............ /menu_gfx.png) no-repeat 0 -30px;  color: none;  font-weight: bold; } .buttonlist ul li a.active span {  ............ /theme/menu_gfx.png) no-repeat 100% -30px; } .buttonlist ul li a.active {  font-weight: bold; } . ............  navigation list */ ul#navigation {  margin: 0;  font-size: 0.9em;  padding: 1em 0.4em; } ul#navigation  ............  {  float: none;  font-size: 0.95em;  display: inline; }  #adm_submenus { ............  height! */ h1.forumtitle {  line-height: 45px;  font-size: 1.8em;  font-family: Geneva, verdana, sans- ............  these items to the right */ #siteslogan, img#smflogo {  margin: 0;  padding: 0;  float: right;   ............  {  float: right;  margin: 1em; } /* ..so does the SMF logo */ img#smflogo {  margin-left: 1em; } /* the  ............ -bottom: 1.5em; } #upper_section ul li.greeting {  font-size: 1.3em;  font-weight: bold;  line-height: 1. ............  ul {  display: block;  margin: 0;  font-size: 0.9em;  padding: 1em 0 0.5em 0;  border-top: ............  ul li {  float: left;  padding: 0 0.5em 0 0;  font-size: 0.95em; }  /* The footer wih copyright  ............  color: white; } #footer_section span.smalltext {  font-size: 100%; } #footer_section div.frame {   ............  0; } #footer_section ul li, #footer_section p {  font-size: 0.8em; } #footer_section ul li {  display:  ............ : block; } select.qaction, input.qaction {  font-size: 0.7em;  padding: 0; } #mlist table tbody td. ............  0px; } table.table_list tbody.content td.stats {  font-size: 90%;  width: 15%;  text-align: center; }  ............  tbody.content td.lastpost {  line-height: 1.3em;  font-size: 85%;  width: 24%; } table.table_list tbody. ............  */ .table_list tbody.content td.info a.subject {  font-weight: bold;  font-size: 110%;  color: #00cc66; } ............  tbody.content td.children {  color: #c5a79c;  font-size: 85%; } p.moderators {  font-size: 0.8em;   ............  1em 0;  line-height: 1em; } #posting_icons ul {  font-size: 0.8em; } #posting_icons img {  vertical- ............ : middle;  margin: 0 0 0 4ex; } #postbuttons_upper ul li a span {  line-height: 19px;   ............  {  padding: 0 0.5em; }  /* the newsfader */ #smfFadeScroller {  text-align: center;  padding: 0  ............  0.5em 0.2em 0.5em; } #upshrinkHeaderIC p.stats {  font-size: 1.1em;  padding-top: 8px; } form#ic_login {  ............  block;  margin: 0 0 0.5em 0;  text-align: right;  font-size: 0.9em;  position: relative;  top: -20px;   ............ ----------------------------------------- */  #postbuttons div.buttons {  padding: 0.5em;  width: 40%;   ............ : right; } #postbuttons div.middletext {  width: 60%; } #postbuttons  ............  {  display: block;  text-align: right; } #postbuttons span.lower {  clear: right; } #postbuttons . ............  {  float: right; } #postbuttons #pagelinks {  padding-top: 1em; } # ............ ;  margin: 0 0 1em 0; } #poll_options div.submitbutton {  border-bottom: 1px solid #545454;  clear: both; ............ : left; }  #poll_options dl.options dt.voted {  font-weight: bold; } #poll_options dl.options dd {   ............ ; } .poster h4 {  margin: 0.2em 0 0.4em 1.1em;  font-size: 120%; } .poster h4, .poster h4 a {  color: # ............ ; } .keyinfo {  float: left;  width: 50%; } .modifybutton {  clear: right;  float: right;  margin: 8px 20px  ............  0;  text-align: right; }  /* The quick buttons */ div.quickbuttons_wrap {  padding: 0.2em 0.5em; ............  } ul.quickbuttons {  margin: 0.9em 11px 0 0;  clear: right;  float: ............  right;  text-align: right;  font-family: arial, sans-serif;  font-weight: bold;   ............ -size: 0.85em; } ul.quickbuttons li {  float: left;  display: inline;  margin: 0  ............  0 11px; } ul.quickbuttons li a {  padding: 0 0 0 20px;  display: block;   ............  20px;  line-height: 18px;  float: left; } ul.quickbuttons a:hover {  color: #a70; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 0; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -30px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -60px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -90px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -150px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -210px; } ul.quickbuttons li. ............ : 0;  padding: 0;  width: 15%;  margin: .3em 0;  font-weight: bold; }  #post_header dd {  float: left;   ............ ; }  #postAttachment dt, #postAttachment2 dt {  font-weight: bold; }  #postAttachment3 {  margin-left:  ............  {  margin: .3em 0 .3em 1em; } /* the BBC buttons */ #bbcBox_message {  margin-bottom: 1em; } # ............ : 0.5em;  clear: both; } #post_event legend {  font-weight: bold;  color: black; } #post_event div. ............ : 0.5em;  clear: both; } #edit_poll legend {  font-weight: bold;  color: black; } #edit_poll div. ............ ----------------------------------------- */  #readbuttons_top .pagelinks,#readbuttons .pagelinks {   ............ -bottom: 1em;  width: 60%; } #readbuttons .pagelinks {  padding-top: 1em;; } #recent {   ............ -bottom: 0.5em; } fieldset.merge_options legend {  font-weight: bold; } .custom_subject {  margin: 0.5em  ............ {  float: left;  clear: both;  text-align: right;  font-weight: bold; } .login dd {  width: 54%;  float:  ............  right;  overflow: auto; }  dl.register_form dt {  font-weight: normal;  float: left;  clear: both;   ............ : 0.5em 0 0 0; }  dl.register_form dt strong {  font-weight: bold; }  dl.register_form dt span {   ............ ;  width: 49%;  margin: 0.5em 0 0 0; }  #confirm_buttons {  text-align: center;  padding: 1em 0; }  . ............  padding-right: 10px; } .adm_section h4.titlebg {  font-size: 95%;  margin-bottom: 5px; } #adm_container { ............ : 0.3em 0.7em; } #credits p {  padding: 0;  font-style: italic;  margin: 0; }  /* Styles for  ............ ; } /* the subject column */ .topic_table td {  font-size: 1em; } .topic_table td.subject p, . ............  td.stats {  font-size: 0.85em;  padding: 0;  margin: 0; } . ............  td.lastpost {  font-size: 0.85em;  line-height: 1.3em;  padding: 4px;  ............ : 1em; } .errorbox h3 {  padding: 0;  margin: 0;  font-size: 1.1em;  text-decoration: underline; } . ............ : 0;  margin: 0;  float: left;  width: 1em;  font-size: 1.5em; }  /* Styles for the profile section. ............  {  width: 78%;  float: right; } #basicinfo h4 {  font-size: 135%;  font-weight: 100;  line-height: 105%; ............ : hidden; } #basicinfo h4 span.position {  font-size: 80%;  font-weight: 100;  display: block; } # ............ %;  float: left;  margin: 0 0 3px 0;  padding: 0;  font-weight: bold;  clear: both; } #detailedinfo div. ............  border-top: 1px #545454 solid; } .signature h5 {  font-size: 0.85em;  margin-bottom: 10px; } # ............ %;  float: left;  margin: 0 0 3px 0;  padding: 0;  font-weight: bold;  clear: both; } #generalstats div. ............ %;  float: left;  margin: 0 0 3px 0;  padding: 0;  font-weight: bold;  clear: both; } #popularposts div. ............ : both;  margin: 0 0 3px 0;  padding: 0 3px 0 0;  font-weight: bold; } #activitytime div.content dd {   ............ : 0 0 0 0;  padding: 0.2em 0.5em 0.1em 0.2em;  font-size: 2.2em;  font-weight: bold;  color: #3f3f3f;  ......
#677
Graphics and Templates / Re: @Akyhne. About modding the Bf3 theme
marraskuu 08, 2011, 12:21:48 AP tekijältä Shootinjoo
......  <?php<br />/**<br /> * Simple Machines Forum (SMF)<br /> *<br /> * @package SMF<br /> * @author  ............  /> * @license http://www.simplemachines.org/about/smf/license.php BSD<br /> *<br /> * @version 2.0<br /> ............  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 opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></script>< ............ ="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");< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /><br /> <div class="info">', $ ............  name="submit" value="', $txt['search'], '" class="button_submit" /><br /> <input type="hidden" name=" ............ /> sId: \'upshrink\',<br /> srcExpanded: smf_images_url + \'/upshrink.png\',<br />  ............ ']), ',<br /> srcCollapsed: smf_images_url + \'/upshrink2.png\',<br />  ............ (), '</li><br /> <li><a href="http://smf.e-debatten.dk" target="_blank" class="new_win"  ............  Company 3 theme, by Akyhne</span></a> | <a id="button_xhtml" href="http://validator.w3.org/check?uri= ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ </a></li>' : '', '<br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ ="menu_nav">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> if ($act !=  ............ ')<br /> {<br /> echo '<br /> <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> <span class="' ............ , isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $ ............ '], '</span><br /> </a>';<br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............  <ul>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  '<br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '><br /> <span',  ............ ($childbutton['is_last']) ? ' class="last"' : '', '>', $ ............ ['title'], !empty($childbutton['sub_buttons']) ? '...' : '', '</span><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br  ............ /> <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '><br /> <span',  ............ ($grandchildbutton['is_last']) ? ' class="last"' : '', '>', $ ............  /> </li>';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> if ($act ==  ............ ')<br /> {<br /> echo '<br /> <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> <span class="' ............ , isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $ ............ '], '</span><br /> </a>';<br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............ )<br /> template_pm_menu();<br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  '<br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '><br /> <span',  ............ ($childbutton['is_last']) ? ' class="last"' : '', '>', $ ............ ['title'], !empty($childbutton['sub_buttons']) ? '...' : '', '</span><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br  ............ /> <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '><br /> <span',  ............ ($grandchildbutton['is_last']) ? ' class="last"' : '', '>', $ ............ , $txt;<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> if ($act ==  ............ 'pm')<br /> {<br /> echo '<br /> <li id="button_', $act, '"><br /> <a href="', $button[' ............ '], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' ............  : '', '><br /> <span>', $button['title'], '</span><br /> </a>';<br /> if ( ............ !empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............  <ul>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............ <br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '><br /> <span',  ............ ($childbutton['is_last']) ? ' class="last"' : '', '>', $ ............ ['title'], !empty($childbutton['sub_buttons']) ? '...' : '', '</span><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br  ............ /> <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............  <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '><br /> <span',  ............ ($grandchildbutton['is_last']) ? ' class="last"' : '', '>', $ ............ }<br /> }<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  $strip_options = array();<br /><br /> // List the buttons in reverse order for RTL languages.<br /> if ($ ............ ['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li><a' . (isset($value['id']) ? ' ............  id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ]] . '</span></a></li>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............ .<br /> if ($direction == 'right')<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' float' . $direction : ............  '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  '"': ''), '><br /> <ul>',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
#678
Mambo Bridge Support / Re: smf bridged Mambo 4.6.1 help
joulukuu 03, 2006, 06:45:20 IP tekijältä mickyd2006
......  link tree. */ .nav, .nav:link, .nav:visited {  font-weight: bold;  color: #FF6600;  text-decoration:  ............ ; } a.nav:hover {  font-weight: bold;  color: white;  text-decoration:  ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use Tahoma in black. */ body, td {   ............ : white;  font-size: small;  font-family: Tahoma, arial,  ............  normal so they align well. */ input, textarea, button {  font-size: 9pt;  color: black;  font-family:  ............ /* All input elements that are checkboxes or radio buttons. */ input.check { }  /* Selects are a bit  ............  it makes them look even better 8). */ select {  font-size: 8pt;  font-weight: normal;  color: black;   ............ : 1px solid #000000;  margin: 1px;  padding: 1px;  font-size: x-small; }  /* A code block - maybe even  ............ ;  border: 1px solid #000000;  padding: 1px;  font-family: "courier new", helvetica, "times new  ............ ", serif;  font-size: x-small;  width: 99%;  margin: 1px auto 1px  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............  ;). */ .highlight {  background-color: yellow;  font-weight: bold;  color: white; }  /* Alternating  ............  a:link, .titlebg a:visited {  color: white;  font-style: normal;  background-color: #293C43; } . ............ : url(..images/catbg2.jpg); }  .catbg, .catbg2 {  fontweight: normal;  background-color: #293C43;  color: ............ ;  background-color: #FFFFFF;  padding: 2px; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: Tahoma, arial,  ............ , serif; } .normaltext {  font-size: small; } .largetext {  font-size: large; }   ......
#679
......  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 == ......
......  <?php<br />/**<br /> * Simple Machines Forum (SMF)<br /> *<br /> * @package SMF<br /> * @author  ............  /> * @license http://www.simplemachines.org/about/smf/license.php BSD<br /> *<br /> * @version 2.0<br /> ............  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 opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></script>< ............ "><br /> <!-- // --><![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");< ............ '<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  Tim)</span></a></li><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check?uri= ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ /li>' : '', '<br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ ="topnav">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> echo '<br /> ............  <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', '" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><span>', $button['title'], ............  '</span></a>';<br /><br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............  <ul>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  '<br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '>', $childbutton['title'],  ............ !empty($childbutton['sub_buttons']) ? '...' : '', '</a>';<br /><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br /> ............  <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '>', $grandchildbutton[' ............  </ul>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  $strip_options = array();<br /><br /> // List the buttons in reverse order for RTL languages.<br /> if ($ ............ ['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li><a' . (isset($value['id']) ? ' ............  id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ]] . '</span></a></li>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  // Make the last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' float' . $direction : ............  '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  '"': ''), '><br /> <ul>',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
Advertisement: