Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
#721
Arşiv / Re: tiny mi siple mi?
syyskuu 27, 2009, 07:25:33 AP tekijältä ameno
......  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. ............ $context['user']['avatar']))<br /> echo '<div id="smf-avatar" class="clearfix">'.$context['user'][' ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>';<br /> }<br />< ............  '<br /> <br /><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  '<br /><br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /> function smf_codeFix()<br /> {< ............  id="menu"><ul>';<br /><br /> // Show the [home] button.<br /> echo '<li><a' , $current_action=='home' ? ' ............  , '</a></li>';<br /> <br /> // Show the [help] button.<br /> echo '<li><a' , $current_action=='help' ? ' ............ </a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............  , '</a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ > // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<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' : 'mirror', 'tab_back">', implode('', $button_strip) , '</td>';<br />}<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 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 /> color: #000000; /* the font color */<br /> border: 1px solid #CCCDCD; /* the  ............  /> table.ncode_imageresizer_warning td {<br /> font-size: 10px;<br /> vertical-align: middle;<br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_shoutbox", mode ? 1 : 0,  ............  /> document.getElementById("upshrinkSB").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ']))<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=" ............ "http://www.2by2host.com/services/simplemachines/">SMF customization services</a> by <a href="http://www. ............ " style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;">';<br />  ............ ="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 />  ............ ['xlinks']))<br /> foreach($context['xlinks'] as $button)<br /> {<br /> echo '<br /> <td valign="top" ............  class="maintab_back"><br /> <a href="'.$button['href'].'" style="'.$button['style'].'" title="'.$ ............ ['title'].'"'.(($button['in_new'])?' target="_blank"':'').'>'.$button[' ............ >';<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 == ......
#723
Modifications and Packages / Re: Reply To
heinäkuu 08, 2005, 01:16:34 AP tekijältä Ryan F
...... ? - heinäkuu 06, 2005, 01:52:05 IP...The button appears on the SMF Default theme but not the  ............ ="bottom" height="20" nowrap="nowrap" style="font-size: smaller;">';   // Can they reply? Have  ............ ="bottom" height="20" nowrap="nowrap" style="font-size: smaller;">';  else   echo '  <td  ............ ="bottom" height="20" nowrap="nowrap" style="font-size: smaller;">';  // Can they reply? Have  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#724
SMF Coding Discussion / Re: Help with Spacing in header
kesäkuu 07, 2011, 01:30:58 AP tekijältä zer0cach3
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br />  ............ ;<br /> <br /> /* Use images from default theme when using templates from the default theme? ............  /> if this is 'always', images from the default theme will be used.<br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[ ............ 'use_default_images'] = 'never';<br /> <br /> /*  ............  document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for  ............  /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ '] = true;<br /> <br /> /* Use plain buttons - as opposed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /> <br /> /* Show  ............ ="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?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");< ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /> <input type="hidden"  ............  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= ............ /li>' : '', '<br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br />  ............  /> <br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br />  ............  echo '<br /> <li id="button_', $act, '"><br /> <a class="', $ ............ ['active_button'] ? 'active ' : '', '" href="', $button['href'], ' ............ "', isset($button['target']) ? ' target="' . $button['target'] . '"' ............  : '', '>', $button['title'], '</a>';<br /> <br />  ............  if (!empty($button['sub_buttons']))<br /> {<br />  ............  /> <br /> foreach ($button['sub_buttons'] as $childbutton)<br />  ............  <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '>', $childbutton['title'],  ............ !empty($childbutton['sub_buttons']) ? '...' : '', '</a>';<br />  ............  :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br />  ............  <br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............  /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '>', $grandchildbutton[' ............  /> }<br /> <br /> // Generate a strip of buttons.<br /> function template_button_strip($ ............  array();<br /> <br /> // Create the buttons...<br /> $buttons = array();<br />  ............  ($button_strip as $key => $value)<br /> {<br />  ............ ($context[$value['test']]))<br /> $buttons[] = '<a ' . (isset($value['active']) ? 'class=" ............ ';<br /> }<br /> <br /> // No buttons? No button strip either.<br /> if (empty($ ............  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) ? ' align_' . $direction  ............ : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  <ul><br /> <li>', implode('</li><li>', $buttons), '</li><br /> </ul><br /> </div>';<br /> ......
#725
SMF Coding Discussion / Re: BBC Options for News?
syyskuu 25, 2009, 10:15:52 IP tekijältä gbsothere
...... . The News Fader, for as long as I've been using SMF, both 1.x and 2.x versions, has been notorious  ............ .template.php):  Find:  Koodi [Valitse] Laajenna smfNewsFadeToggle.addToggleImage("newsupshrink", "/ ............ .gif", "/expand.gif");  smfNewsFadeToggle.addTogglePanel("smfNewsFader");  / ............ "> Replace with:  Koodi [Valitse] Laajenna smfNewsFadeToggle.addToggleImage("newsupshrink", "/ ............ .gif", "/expand.gif");  smfNewsFadeToggle.addTogglePanel("smfNewsFader");  / ............ , very wise advice. And thank you, jeza (of SMF Arcade fame) for working out all the kinks and  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/editor.js"></script>';    ............   something.style.backgroundImage = "url(" smf_images_url (mode ? "/bbc/bbc_hoverbg.gif)" : "/ ............ : 1px 2px 1px 1px;" /></a>';  }    // Begin font dropdown  echo '  <select onchange=" ............ ('[font=' this.options[this.selectedIndex].value. ............ () ']', '[/font]', eval(box)); this.selectedIndex = 0; eval(box). ............  <option value="" selected="selected">', $txt['font_face'], '</option>  <option value="courier"> ............  <option value="" selected="selected">', $txt['font_size'], '</option>  <option value="1">8pt</ ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/editor.js"></script>';    ............   something.style.backgroundImage = "url(" smf_images_url (mode ? "/bbc/bbc_hoverbg.gif)" : "/ ............ : 1px 2px 1px 1px;" /></a>';  }    // Begin font dropdown  echo '  <select onchange=" ............ ('[font=' this.options[this.selectedIndex].value. ............ () ']', '[/font]', eval(box)); this.selectedIndex = 0; eval(box). ............  <option value="" selected="selected">', $txt['font_face'], '</option>  <option value="courier"> ............  <option value="" selected="selected">', $txt['font_size'], '</option>  <option value="1">8pt</ ............ , I went ahead and added this to 1.1.0's Themes/default/languages/Post.english.php  Find:  Koodi [Valitse] ............ ] Laajenna // Strings for News Dropdown $txt['font_size'] = 'Font Size'; $txt['font_face'] = 'Font  ............  cursor is in the new box before clicking a BBCode button......
#726
SMF Coding Discussion / Re: Rotating logos
maaliskuu 18, 2011, 07:23:39 IP tekijältä beast44
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ <br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc3" media="print" /> ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc3"></script>< ............ /javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ '] . '"))<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");< ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;< ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;< ............  = true;<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  /> if ($context['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ | !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li' . (isset($value[' ............ "' : '') . '><a' . (isset($value['id']) ? ' id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ']]) . '</span></a></li>';<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............ ">', '<li class="active last">');<br /><br /> $buttons[count($buttons) - 1] = str_replace($list_item, $ ............ , $buttons[count($buttons) - 1]);<br /><br /> echo '<br /> ............  <div class="buttonlist', $direction != 'top' ? '_bottom' : '', '"', ( ............ ($buttons) ? ' style="display: none;"' : ''), (!empty($ ............ ="reset clearfix">',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br /> ......
#727
Arşiv / Re: Sabit konular ve normal konular
kesäkuu 19, 2006, 10:10:43 AP tekijältä ByGeCe
...... : tvgozde - syyskuu 22, 2005, 08:57:19 IPThemes/Default klasöründe MessageIndex.template.php dosyasında  ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2p"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" media="print" />';< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))<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  ............  = 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 == ......
#728
Graphics and Templates / Re: Banner to the LEFT ... Where ?
toukokuu 09, 2011, 03:01:07 IP tekijältä azarober
......  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 == ......
......  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 /> {<br /> if ($forum_version != 'SMF 1.1.5')<br /> echo '<br /> <div style=" ............ ;"><br /> <div style="float: left; width: 2ex; font-size: 2em; color: red;">!!</div><br /> <b  ............  This theme doesn\'t correspond to the version of SMF that you are using. This theme is made for SMF 1. ............ ;"><br /> <div style="float: left; width: 2ex; font-size: 2em; color: red;">!!</div><br /> <b  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ><!--no content--></div>';<br />// Show the [home] button.<br /> if (!empty($settings['cs_forum_button']))< ............ "><br /> <a href="', $settings['cs_forum_button'], '">' , $txt[103] , '</a><br /> </div><br /> < ............ /div>';<br /><br /> if (!empty($settings['cs_forum_button']))<br /> {<br />// Show the [home] button.<br />  ............  <a href="', $scripturl, '">' , $txt['cs_forum_button_forum'] , '</a><br /> </div>' , $ ............  /> }<br /> else<br /> {<br />// Show the [forum] button.<br /> echo ($current_action=='home' || $context[' ............ >';<br /><br /> }<br /><br />// Show the [forum] button. <br /><br />echo ($current_action == 'forum' || $ ............ --></div>';<br /><br /><br />// Show the [help] button. <br />echo ($current_action == 'help' || $ ............ --></div>';<br /><br />// How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............ --></div>';<br /><br />// the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ </div>';<br /><br />// How about the [quick links] button?<br /> if ($context['user']['is_logged'])<br />  ............ /tr><br /> </table><br /><div align="right" style="font-size:10px;"><a href="#" onClick="overlayclose(\' ............  />// If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............  /><br />// If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............  section.<br />}<br /><br />// Generate a strip of buttons, out of buttons.<br />function  ............ ($button_strip, $direction = 'top', $force_reset = false, $ ............  = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> if ( ............ ($button_strip))<br /> return '';<br /><br /> // Create  ............  buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ >' : $txt[$value['text']]) . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>';<br />}<br /><br />?>   It  ............  tested it and it will surely show the forum button  Goodluck to your site   Hello i am having the  ............  as him. I put your code in, but the text in the button will not show. Can someone help me out please   ......
#730
Modifications and Packages / Re: Quick Register
syyskuu 21, 2006, 06:58:30 IP tekijältä HHwarriors
...... ://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/"> <id>vbgamer45: ............  menu sub template should display all the relevant buttons the user<br /><br /> wants and or needs.<br />< ............ , $txt;<br /><br /><br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /><br /> if this is 'always', images from the default theme will be used.<br /><br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /><br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /><br /> 'xhtml' for  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script><br /><br /> < ............ " type="text/javascript"><!--<br /><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 /><br />  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /><br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />< ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ "><br /><br /> <option value="60">', $txt['smf53'], '</option><br /><br /> <option value= ............ "1440">', $txt['smf47'], '</option><br /><br /> <option value= ............ "10080">', $txt['smf48'], '</option><br /><br /> <option value= ............ "302400">', $txt['smf49'], '</option><br /><br /> <option value= ............ "-1" selected="selected">', $txt['smf50'], '</option><br /><br /> </select><br /> ............  $txt[34], '" /><br /><br /><br /> ', $txt['smf52'], '<br /><br /> </form>';<br /><br /> }< ............ ="text/javascript"><!--<br /><br /> function smfFooterHighlight(element, value)<br /><br /> {<br  ............ /><br /> element.src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  '<br /><br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /><br /><br /> echo '< ............  '<br /><br /> window.addEventListener("load", smf_codeFix, false);<br /><br /><br /><br />  ............  smf_codeFix()<br /><br /> {<br /><br /> var  ............  = window.onload;<br /><br /> window.onload = smf_codeFix;<br /><br /><br /><br /> function  ............ . ' :: </a>';<br /><br />// How about the [search] button?<br /><br /> if ($context['allow_search'])<br />< ............  the user is a guest, show [login] and [register] buttons.<br /><br /> if ($context['user']['is_guest'])< ............ > // Folder style or inline? Inline has a smaller font.<br /><br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: 10px;"' : '', '>';<br /><br /><br /><br /> / ............ /><br /><br /><br /> // Show the [home] and [help] buttons.<br /><br /> echo '<br /><br /><br /><br /><td  ............  '</a></td>';<br /><br />// How about the [search] button?<br /><br /> if ($context['allow_search'])<br />< ............  the user is a guest, show [login] and [register] buttons.<br /><br /> if ($context['user']['is_guest'])< ............ /a></td>';<br /><br /><br /><br /> // the upshrink button<br /><br /> echo'<br /><br /><td height="30"  ......
#731
Graphics and Templates / Re: [Theme] Aqua Slate [SMF 1.1 RC2]
huhtikuu 18, 2006, 11:19:28 AP tekijältä L.G.S
...... ] Laajenna /* Little Image Boarvder Fix, for SMF 1.1 RC2 */ img{  border: 0; } /* Normal, standard  ............  { text-decortext-align: center;ation: underline; font-weight:normal; color: #CAE5FF } a:visited, a: ............  {  color: #9FB5C1;  font-weight:normal;  text-decoration: underline; }  /*  ............  #C0C0C0;  text-decoration: none; } a.nav:hover {  font-weight: bold;  color: #808080  text-decoration:  ............  cells. */ table {  empty-cells: show; }  /* By default (td) use Tahoma in black. */ td {  color: #98ADB9; ............   font-size: small;  font-family: Tahoma, arial,  ............ ;  margin: 0px;  padding: 0px;  color: #FFFFFF;  font-size: small;  font-family: Tahoma, arial,  ............  normal so they align well. */ input, textarea, button {  font-size: 9pt;  color: #000000;  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: #000000;  ............  font-family: Tahoma, arial, helvetica, serif; }  /*  ............  7px solid #1D3D57;  padding: 0px 20px 10px 20px;  font-size: 8.5pt; } .quote .quote {  background-color:  ............  0 20px;  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size:  ............ ;  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: #FFFFFF;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............  ;). */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............  a:link, .titlebg a:visited {  color: #CAE5FF;  font-style: normal; } .titlebg a:hover {  color: # ............  a:link, .catbg2 a:visited { text-align: center;  font-weight: bold;  color: #BEC4C8; }  /* This is used  ............ {  border: 1px solid #121A1F;  padding: 0px; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: Tahoma, arial,  ............ , serif;  color: #9FB5C1; } .normaltext {  font-size: small;  color: #FFFFFF; } .largetext {   ............ : bottom; }    /* Little Image Boarvder Fix, for SMF 1.1 RC2 */ img{  border: 0; } /* Normal, standard  ............  { text-decortext-align: center;ation: underline; font-weight:normal; color: #CAE5FF } a:visited, a: ............  {  color: #9FB5C1;  font-weight:normal;  text-decoration: underline; }  /*  ............  #C0C0C0;  text-decoration: none; } a.nav:hover {  font-weight: bold;  color: #808080  text-decoration:  ............  cells. */ table {  empty-cells: show; }  /* By default (td) use Tahoma in black. */ td {  color: #98ADB9; ............   font-size: small;  font-family: Tahoma, arial,  ............ ;  margin: 0px;  padding: 0px;  color: #FFFFFF;  font-size: small;  font-family: Tahoma, arial,  ............  normal so they align well. */ input, textarea, button {  font-size: 9pt;  color: #000000;  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: #000000;  ............  font-family: Tahoma, arial, helvetica, serif; }  /*  ............  7px solid #1D3D57;  padding: 0px 20px 10px 20px;  font-size: 8.5pt; } .quote .quote {  background-color:  ............  0 20px;  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size:  ............ ;  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: #FFFFFF;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............  ;). */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............  a:link, .titlebg a:visited {  color: #CAE5FF;  font-style: normal; } .titlebg a:hover {  color: # ............  a:link, .catbg2 a:visited { text-align: center;  font-weight: bold;  color: #BEC4C8; }  /* This is used  ............ {  border: 1px solid #121A1F;  padding: 0px; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: Tahoma, arial,  ............ , serif;  color: #9FB5C1; } .normaltext {  font-size: small;  color: #FFFFFF; } .largetext {   ............ : bottom; }     /* Little Image Boarvder Fix, for SMF 1.1 RC2 */ img{  border: 0; } /* Normal, standard  ............  { text-decortext-align: center;ation: underline; font-weight:normal; color: #CAE5FF } a:visited, a: ............  {  color: #9FB5C1;  font-weight:normal;  text-decoration: underline; }  /*  ............  #C0C0C0;  text-decoration: none; } a.nav:hover {  font-weight: bold;  color: #808080  text-decoration:  ............  cells. */ table {  empty-cells: show; }  /* By default (td) use Tahoma in black. */ td {  color: #98ADB9; ............   font-size: small;  font-family: Tahoma, arial,  ............ ;  margin: 0px;  padding: 0px;  color: #FFFFFF;  font-size: small;  font-family: Tahoma, arial,  ............  normal so they align well. */ input, textarea, button {  font-size: 9pt;  color: #000000;  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: #000000;  ............  font-family: Tahoma, arial, helvetica, serif; }  /*  ............  7px solid #1D3D57;  padding: 0px 20px 10px 20px;  font-size: 8.5pt; } .quote .quote {  background-color:  ............  0 20px;  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size:  ............ ;  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: #FFFFFF;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............  ;). */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............  a:link, .titlebg a:visited {  color: #CAE5FF;  font-style: normal; } .titlebg a:hover {  color: # ............  a:link, .catbg2 a:visited { text-align: center;  font-weight: bold;  color: #BEC4C8; }  /* This is used  ............ {  border: 1px solid #121A1F;  padding: 0px; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: Tahoma, arial,  ............ , serif;  color: #9FB5C1; } .normaltext {  font-size: small;  color: #FFFFFF; } .largetext {   ......
#732
Modifications and Packages / Re: Reflection Img BBC
maaliskuu 16, 2009, 04:59:19 IP tekijältä DeviDarkL
......  M-DVD  I instaled this mod and in the default template works fine but in a custom template it  ............  template so I think the template is using the default post.template.  Here is the Index.template.php  ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?b4"></script><br  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/theme.js?b4"></script><br / ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?b4" media="print" />' ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ie7.css" />';<br /> // ..and  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ie6.css" />';<br /><br /> //  ............  */<br /> }<br /> #yshout {<br /> font-size: 10px;<br /> overflow: hidden;<br />  ............  /> #yshout .shout-timestamp {<br /> font-style: normal;<br /> font-weight: normal;< ............ /> #yshout .shout-adminlinks { /* del and ban buttons */<br /> font-size: 6pt;<br />  ............ : 5px;<br /> }<br /> #yshout #shout-button {<br /> width: 55px;<br /> }<br />  ............  main header object.<br /> var mainHeader = new smfToggle("upshrink", ', empty($options[' ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/reflection.js?b4"></script> ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............  '<br /> <ul>';<br /> foreach ($context['menu_buttons'] as $act => $button)<br /> echo '<li><a ', $ ............ ['active_button'] ? ' class="current"' : '' , ' href="', $button[' ............ '], '"><span>', $button['title'], '</span></a></li>';<br /><br /> echo '< ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $txt, $scripturl;<br /><br /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<a href="' . $value['url'] . '" ' . (isset($ ............ ]] . '</span></a>';<br /> }<br /><br /> if (empty($buttons))<br /> return '';<br /><br /> // Make the last  ............ , as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', $direction != 'top' ? '_bottom' : '', '">< ............ ="clearfix"><br /> <li>', implode('</li><li>', $buttons), '</li><br /> </ul><br /> </div>';<br /><br / ......
......  theme, it's default (I guess that's a theme, lol) with my slight  ............  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............   $settings['use_tabs'] = true;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>  < ............ ="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";   ............  var smf_scripturl = "', $scripturl, '";  var  ............ '] ? 'true' : 'false', ';  var smf_charset = "', $context['character_set'], '";  // ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)  Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.  Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............  + (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))  echo '  <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............  <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=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  echo '  <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';   // This is an interesting  ............  echo '  window.addEventListener("load", smf_codeFix, false);   function smf_codeFix()  ............  echo '  window.addEventListener("load", smf_codeFix, false);  function smf_codeFix()   ............  = window.onload;  window.onload = smf_codeFix;   function smf_codeFix()   ............ , $options;   echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ , $first , '">&nbsp;</td>';   // Show the [home] button.  echo ($current_action == 'main' || $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 ==  ......
#734
Bridges and Integrations / Re: getting the forums to sync with my e107
toukokuu 30, 2008, 06:10:57 IP tekijältä Orstio
......  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 the optional logo at the top. It can be the default one or your own.<br />echo '<br /> <div style=" ............ ="titlebg2" height="32"><br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';<br /><br /> // this is the upshrink button for the user info section<br /> echo '<br /> < ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type="hidden"  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ 'linktree']) - 1)<br /> echo '&nbsp;<span style="font-weight:bold;color:#789e2c;">/</span>&nbsp;';<br /> ............ ;"><br /> <tr>';<br /><br /> // Show the [home] button.<br /> echo '<br /> <td valign="middle" class=" ............ ><br /> </td>';<br /><br /> // Show the [help] button.<br /> echo '<br /> <td valign="middle" class=" ............ > </td>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ <br /> </td>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............  '<br /> <td class="maintab_back">', implode('', $button_strip) , '</td>';<br />}<br />?> ......
#735
SMF Coding Discussion / Re: BBC Bar?
huhtikuu 22, 2010, 10:45:46 IP tekijältä Senkusha
......  of every POST variable after I press the Submit button.  LainaaKey: myth_chapter_title Value: chapter2  ............ ="anime, role playing, tenchi, goddess, forum, smf, chat, friends, fun, girls, BESM, big eyes small  ............  type="text/css" href="http://www.ayeka.net/Themes/default/css/index.css?rc3" />  <link rel="stylesheet"  ............ ="text/css" href="http://www.ayeka.net/Themes/default/css/print.css?rc3" media="print" />  <link rel=" ............ "text/javascript" src="http://www.ayeka.net/Themes/default/scripts/script.js?rc3"></script>  <script type=" ............ /javascript" src="http://www.ayeka.net/Themes/default/scripts/theme.js?rc3"></script>  <script type=" ............ /javascript"><!-- // --><![CDATA[  var smf_theme_url = "http://www.ayeka.net/Themes/default"; ............   var smf_default_theme_url = "http://www.ayeka.net/Themes/ ............ ";  var smf_images_url = "http://www.ayeka.net/Themes/default............ ";  var smf_scripturl = "http://www.ayeka.net/index.php";   ............  var smf_iso_case_folding = false;  var smf_charset =  ............  id="portal_css" href="http://www.ayeka.net/Themes/default/css/portal.css" />  <script type="text/ ............ " src="http://www.ayeka.net/Themes/default/scripts/portal.js"></script>  <script language=" ............  var sp_images_url = "http://www.ayeka.net/Themes/default/images/sp";  function sp_collapseBlock(id)   ............ " + id).style.display == "" ? 0 : 1;  smf_setThemeOption("sp_block_" + id, mode ? 0 : 1,  ............ .getElementById("sp_collapse_" + id).src = smf_images_url + (mode ? "/collapse.gif" : "/expand. ............ [id]).style.display == "" ? 0 : 1;  smf_setThemeOption(sp_sides[id], mode ? 0 : 1, null, " ............  id="editor_css" href="http://www.ayeka.net/Themes/default/css/editor.css" />  <script type="text/ ............ "><!-- // --><![CDATA[  var smf_smileys_url = 'http://www.ayeka.net/Smileys/Anime' ............ "text/javascript" src="http://www.ayeka.net/Themes/default/scripts/editor.js?rc3"></script> </head> <body>   ............  id="upshrink" src="http://www.ayeka.net/Themes/default/images/upshrink.png" alt="*" title="Shrink or  ............  type="submit" name="submit" value="Search" class="button_submit" />  <input type="hidden"  ............  sId: 'upshrink',  srcExpanded: smf_images_url + '/upshrink.png',   ............  the header.',  srcCollapsed: smf_images_url + '/upshrink2.png',   ............ ="dropmenu" id="menu_nav">  <li id="button_home">  <a class="firstlevel" href=" ............  </a>  </li>  <li id="button_forum">  <a class="firstlevel" href= ............  </a>  </li>  <li id="button_help">  <a class="firstlevel" href=" ............  </a>  </li>  <li id="button_search">  <a class="firstlevel"  ............  </a>  </li>  <li id="button_admin">  <a class="firstlevel" href= ............  </ul>  </li>  <li id="button_moderate">  <a class="firstlevel"  ............  </ul>  </li>  <li id="button_myth">  <a class="active firstlevel" ............  </a>  </li>  <li id="button_helpdesk">  <a class="firstlevel"  ............  </ul>  </li>  <li id="button_profile">  <a class="firstlevel"  ............  </ul>  </li>  <li id="button_pm">  <a class="firstlevel" href=" ............  </ul>  </li>  <li id="button_calendar">  <a class="firstlevel"  ............  </ul>  </li>  <li id="button_media">  <a class="firstlevel" href= ............  </ul>  </li>  <li id="button_mlist">  <a class="firstlevel" href= ............  </ul>  </li>  <li id="button_logout">  <a class="firstlevel"  ............ -align: middle;" src="http://www.ayeka.net/Themes/default/images/admin/change_menu2.png" alt="!" /></a>   ............  var oBBCBox_myth_chapter_body = new smc_BBCButtonBox({  sUniqueId: ' ............  sContainerDiv: 'bbcBox_message',  sButtonClickHandler: 'oEditorHandle_myth_chapter_body. ............ .handleSelectChange',  aButtonRows: [  [  {  ............  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/bold.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/italicize.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/underline.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/strike.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/pre.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/left.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/center.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/right.gif',   ............  oOptions: {  '': 'Font Face',  'courier': ' ............  oOptions: {  '': 'Font Size',  '1': '8pt',   ............  {  sType: 'button',  bEnabled: false,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/flash.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/img.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/url.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/email.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/ftp.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/glow.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/shadow.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/move.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/sup.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/sub.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/tele.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/table.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/code.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/quote.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/list.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/orderlist.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/hr.gif',  sCode: ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/unformat.gif',   ............  {  sType: 'button',  bEnabled: true,   ............  sImage: 'http://www.ayeka.net/Themes/default/images/bbc/toggle.gif',   ............  ]  ],  sButtonTemplate: '\n\t\t\t\t\t\t<img id="%buttonId%" src=" ............ %buttonSrc%" align="bottom" width="23" height="22" alt="% ............ ' +'ption%" title="%buttonDescri' +'ption%" />\n\t\t\t\t\t',   ............ : 'http://www.ayeka.net/Themes/default/images/bbc/bbc_bg.gif',   ............ : 'http://www.ayeka.net/Themes/default/images/bbc/bbc_hoverbg.gif',   ............ : 'http://www.ayeka.net/Themes/default/images/bbc/bbc_hoverbg.gif',   ............ \t\t\t\t\t\t<img src="http://www.ayeka.net/Themes/default/images/bbc/divider.gif" alt="|" style="margin: 0  ............ %" id="%selectId%" style="margin-bottom: 1ex; font-size: x-small;">\n\t\t\t\t\t\t\t%selectOptions%\n\ ............ \t\t\t<' + '/select>\n\t\t\t\t\t',  sButtonRowTemplate: '\n\t\t\t\t\t\t<div>%buttonRow%<' + '/ ............   });  smf_editorArray[smf_editorArray.length] =  ............ " style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;"><a href=" ............  Forum" target="_blank" class="new_win">Powered by SMF 2.0 RC3</a> |  <a href="http://www.simplemachines. ............  Forum Software" target="_blank" class="new_win">SMF &copy; 2006&ndash;2010, Simple Machines LLC</a>< ............ </a>  </span></li>  <li><a id="button_xhtml" href="http://validator.w3.org/check/ ............ !"><span>XHTML</span></a></li>  <li><a id="button_rss" href="http://www.ayeka.net/index.php?action=. ............ </span></a></li>  <li class="last"><a id="button_wap2" href="http://www.ayeka.net/index.php?wap2"  ......
#736
Español (Spanish) / Re: Redireccion a mi Web y viceversa.
maaliskuu 14, 2011, 06:39:13 IP tekijältä Princesa1
......  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 == ......
#737
......   Koodi [Valitse] Laajenna // Generate a strip of buttons. function template_button_strip($button_strip, $ ............  = '', $newstrip = false) {  global $settings, $buttons, $context, $txt, $scripturl;  if($newstrip)  ............ ="0" cellspacing="0"><tr><td><img src="/smf/themes/star/images/rb950x200(1600).jpg" align=" ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?b21"></script>< ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/theme.js?b21"></script><br  ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?b21" media="print" /> ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/fonts-compat.css" />';<br />< ............  main header object.<br /> var mainHeader = new smfToggle("upshrink", ', empty($options[' ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <form  ............  '<br /> <br /><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ ;<br /><br /> echo '<div class="nav" style="font-size: 11px; margin-bottom: 2ex;">';<br /><br /> // ............ ">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> echo '<li><a ', $ ............ ['active_button'] ? ' class="chosen"' : '' , ' href="', $button[' ............ '], '">', $button['title'], '</a></li>';<br /><br /> // The end of  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  = false)<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /> if($ ............ ="0" cellspacing="0"><tr><td><img src="/smf/themes/star/images/rb950x200(1600).jpg" align=" ............ " alt="" /></td>';<br /> <br /> // Create the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td> </td>';<br /><br />  ............ ">', implode('</td><td class="maintab_back">', $button_strip) , '</td>';<br /><br /> if($newstrip)<br />  ......
#738
SMF 1.1.x Support / Re: Remove forum stats for everyone but admins
tammikuu 17, 2007, 08:15:34 IP tekijältä Davey D.
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /> $settings['use_image_buttons'] = ............ 'seperate_sticky_lock'] = true;<br /><br /> //load font style<br /> if (isset($_SESSION['v2-font-style'])) ............  {<br /> $options['fontstyle'] = $_SESSION['v2-font-style'];<br /> }  ............  (isset($_COOKIE['v2-font-style'])) {<br /> $options['fontstyle'] = $ ............ ['v2-font-style'];<br /> }<br /><br /> //load width style< ............ , '/', false);<br /> }<br /> if (isset($_GET['fontstyle'])) {<br /> $options['fontstyle'] = $_GET[' ............ '];<br /> $_SESSION['v2-font-style'] = $options['fontstyle'];<br /> setcookie  ............ ('v2-font-style', $options['fontstyle'], time()+31536000, '/ ............  for joomla integration<br /> global $wrapped, $jsmfConfig, $header_style , $toolbar_style , $ ............ ;<br /><br /> $context['jsmf_wrapped']=false;<br /><br /> if(isset($wrapped) && ............ ['joomla_wrapped']=false;<br /> elseif(isset($jsmfConfig) && $jsmfConfig->wrapped) {<br /> $context[ ............ 'joomla_wrapped']=true;<br /> $context['jsmf_wrapped']=true;<br /> } elseif(isset($jsmfConfig)  ............ && !$jsmfConfig->wrapped)<br /> $context['joomla_wrapped']= ............  /> if (!$context['joomla_wrapped'] || $context['jsmf_wrapped']) {<br /> <br /> if (!$context[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2p"></script><br /> < ............ ="JavaScript" type="text/javascript"><br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> </script>< ............  cache it wrongly.<br /><br /> if(!empty($options['fontstyle']))<br /> $fontstyle=$options['fontstyle'];< ............  /> else<br /> $fontstyle='f-default';<br /><br /> if(!empty($options[' ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" media="print" />';< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  /> </script><br /></head>';<br />if (!$context['jsmf_wrapped']) {<br /> echo '<br /><body id="page_bg"  ............ ="'.$widthstyle.' '.$fontstyle.'"><br /><br /> <div id="mainbg"><br /> < ............  /> <div id="selectors"><br /> <span class="font-selector">&nbsp;</span><br /> <span class=" ............ ">&nbsp;</span><br /> </div><br /> <div id="buttons"><br /> <a href="',$scripturl,'?widthstyle=w- ............ " title="fluid width" class="fluid"><span class="button">&nbsp;</span></a><br /> <a href="',$scripturl, ............ " title="wide width" class="wide"><span class="button">&nbsp;</span></a><br /> <a href="',$scripturl, ............ " title="thin width" class="thin"><span class="button">&nbsp;</span></a><br /> <a href="',$scripturl, ............ '?fontstyle=f-larger" title="Increase size" class="lrg">< ............  class="button">&nbsp;</span></a><br /> <a href="',$scripturl, ............ '?fontstyle=f-default" title="Default size" class="med">< ............  class="button">&nbsp;</span></a><br /> <a href="',$scripturl, ............ '?fontstyle=f-smaller" title="Decrease size" class="sml"> ............ <span class="button">&nbsp;</span></a><br /> </div><br /> </div>< ............ ="titlebg" style="overflow: hidden;"><div id="smf_menu">',template_menu2(),'</div></div>';<br /><br  ............ (),'<br /><br />Design by <a href="http://smf.rockettheme.com">RocketTheme</a><br /></div></div> ............  '<br /> <ul>';<br /><br /> // Show the [help] button.<br /> echo '<li><a href="http://graphicsla.com/ ............ ] , '</a></li>';<br /> <br /> // Show the [home] button.<br /> echo '<li><a href="', $scripturl, '" title= ............ '</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 /> <ul>';<br /><br /><br /> // Show the [home] button.<br /> echo '<li><a href="', $scripturl, '">' , $ ............ ] , ' | </a></li>';<br /><br /> // Show the [help] button.<br /> echo '<li><a href="', $scripturl, '?action= ............  </a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , ' | </a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............  /><br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ............ ">&nbsp;</td>';<br />}<br />// Generate a strip of buttons.<br />function template_button_strip_mill($ ............ , $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] =  ............ ? '</'.$custom_td.'>' : '') .'</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '&nbsp;';<br /><br /> echo  ............ (' &nbsp;|&nbsp; ', $button_strip);<br />}<br />function leftmenu()<br />{<br  ............ /> global $settings, $buttons, $context, $txt, $scripturl;<br /> // personal  ............ " 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 />  ............ " value="" /><br /> </form>', $txt['smf52'], '<br /><br />';<br /> }<br /> if (!empty($ ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a><br /> <input type="hidden" name= ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ......
#739
Tips and Tricks / Re: [TIP] Loadingscreen
kesäkuu 25, 2009, 12:35:12 IP tekijältä Joe N
......  my index.template.php (Won't let me)  I am using smf 1.1.9 so I used ttuu's guide  Koodi [Valitse]  ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="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_pmi", mode ? 1 :  ............ > document.getElementById("upshrink_pmi").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))<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"  ............ ();<br /><br /> //The PM Informer is closed by default.<br /> $options['collapse_header_pmi'] = 1;<br />< ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ /> 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[' ............ ']!='boardindex')<br /> // Show the [forum] button.<br /> echo ($current_action=='forum' || $context[ ............ ">&nbsp;</td>' : '';<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 />// Show the [downloads] button.<br /> echo ($current_action == 'dlmanager' || $ ............ ;</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 == ......
#740
Español (Spanish) / Re: Efecto Copos de nieve
joulukuu 04, 2008, 01:09:21 IP tekijältä remixeados
......  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 />  ............  <script language="JavaScript" src="', $settings['default_theme_url'], '/nieve.js"></script><br /> <script  ............ ="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. ............ ['header_logo_url']))<br /> echo '<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ ="titlebg2" height="32"><br /> <span style="font-size: 130%;"> ', $txt['hello_member'], ' <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=" ............  /> <td valign="middle" align="center" style="font-size: smaller; white-space: nowrap;"><br /> ', ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" <br /><br /> ............ ="smfFooterHighlight(this, false);" /></a><br /> </ ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '">&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 == ......
Advertisement: