Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
#861
Scripting Help / Re: Problem with a button
helmikuu 21, 2008, 12:38:54 AP tekijältä GMCbris
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" media="print" />';< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  />echo '<img src="', $settings['images_url'], '/smflogo.gif" width="100%" alt="', $context[' ............ ']))<br /> echo '<br /> <span style="font-family: Georgia, sans-serif; font-size: xx-large;" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ ="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> <input type="hidden" name=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> </ ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440">', $ ............ ['smf47'], '</option><br /> <option value="10080">', $ ............ ['smf48'], '</option><br /> <option value="302400">',  ............ $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br /> <input  ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a><br /> <input type="hidden" name= ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ ;&nbsp;&nbsp;';<br /><br /> // Show the [home] button.<br /> echo '<table><tr><td>',($settings[' ............ ="top">';<br /> <br /> //Show the [help] button.<br /> echo '<table><tr><td>',($settings[' ............ </a></td>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ <td>',($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/ ............ '])<br /> echo '<td>',($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/ ............  the user is a guest, show [login] and [register] buttons.<br /> if (!$context['user']['is_guest'])<br /> { ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=help">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '</a>';<br />}<br /><br />// Generate a strip of buttons, out of buttons.<br />function  ............ ($button_strip, $direction = 'top', $force_reset = false, $ ............  = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> if ( ............ ($button_strip))<br /> return '';<br /><br /> // Create  ............  buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ >' : $txt[$value['text']]) . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>';<br />}<br /><br />?>   ......
......  the default theme, with a bunch of mods installed and some  ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* 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>', ............ /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:  ............ /> echo '</div>';<br />}<br /><br />// Show WebsiteButton<br />function show_websiteButton()<br />{<br />  ............ "><br /> <a href="', isset($modSettings['websiteButton_url']) ? $modSettings['websiteButton_url'] : ' ............ /www.roadrunner.cx', '" alt="', isset($txt['websiteButtonAlt_txt']) ? $txt['websiteButtonAlt_txt'] : ' ............ , '"target="_blank">',<br /> isset($txt['websiteButton_txt']) ? $txt['websiteButton_txt'] : 'Website', '< ............  , '">&nbsp;</td>';<br /><br />// Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ . $last . '">&nbsp;</td>' : '';<br /><br />// the [SMF Gallery] button<br /> if ($context[' ............  href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu'] , '</a><br /> </td>' , $ ............ ">&nbsp;</td>' : '';<br /><br />// Show the [help] button.<br /> echo ($current_action == 'help' || $ ............  . '">&nbsp;</td>' : '';<br /><br />// the [links] button<br /> if ($context['allow_view_smflinks'])<br />  ............  <a href="', $scripturl, '?action=links">' , $txt['smflinks_menu'] , '</a><br /> </td>' , $ ............ &nbsp;</td>' : '';<br /><br />// the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ </td>' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............ &nbsp;</td>' : '';<br /><br /> // the [staff list] button<br /> if ($context['allow_view_stafflist'])<br />  ............  <a href="', $scripturl, '?action=staff">' , $txt['smfstaff_stafflist'] , '</a><br /> </td>' , $ ............  /><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 == ......
#863
Graphics and Templates / Re: custom theme issue HELP
heinäkuu 22, 2007, 07:48:58 AP tekijältä joebrickell
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and lock  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select></td><br /> ............  settings.<br /> echo '<br /> <div id="smfFadeScroller" style="width: 90%; padding: 2px;"><b> ............  /> // The fading delay (in ms.)<br /> var smfFadeDelay = ', empty($settings['newsfader_time']) ? ............  color? To which background color?<br /> var smfFadeFrom = {"r": 0, "g": 0, "b": 0}, smfFadeTo = {" ............  each item with... anything special?<br /> var smfFadeBefore = "<b>", smfFadeAfter = "</b>";<br />< ............  /><br /> if (typeof(document.getElementById(\'smfFadeScroller\').currentStyle) != "undefined")<br /> ............ {<br /> foreColor = document.getElementById(\'smfFadeScroller\').currentStyle.color.match(/#([\da-f] ............ -f])([\da-f][\da-f])([\da-f][\da-f])/);<br /> smfFadeFrom = {"r": parseInt(foreColor[1]), "g":  ............  /><br /> backEl = document.getElementById(\'smfFadeScroller\');<br /> while (backEl. ............ -f])([\da-f][\da-f])([\da-f][\da-f])/);<br /> smfFadeTo = {"r": eval("0x" + backColor[1]), "g":  ............ (window.opera) == "undefined" && typeof(document.defaultView) != "undefined")<br /> {<br />  ............  = document.defaultView.getComputedStyle(document.getElementById(\' ............ .match(/rgb\((\d+), (\d+), (\d+)\)/);<br /> smfFadeFrom = {"r": parseInt(foreColor[1]), "g":  ............  /><br /> backEl = document.getElementById(\'smfFadeScroller\');<br /> while (document. ............ .parentNode;<br /><br /> backColor = document.defaultView.getComputedStyle(backEl, null). ............ .match(/rgb\((\d+), (\d+), (\d+)\)/);<br /> smfFadeTo = {"r": parseInt(backColor[1]), "g":  ............  the lines of the news for display.<br /> var smfFadeContent = new Array(<br /> "', implode('", ............ " type="text/javascript" src="', $settings['default_theme_url'], '/fader.js"></script><br /> </td>< ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ > <a href="http://www.geebotravel.com/" style="font-size:10px;">Home</a>&nbsp;|&nbsp;<a href="http:// ............ .geebotravel.com/" style="font-size:10px;">About</a>&nbsp;|&nbsp;<a href="http:// ............ .geebotravel.com" style="font-size:10px;">Contact</a>&nbsp;|&nbsp;<a href="http: ............ //www.geebotravel.com" style="font-size:10px;">Sitemap</a><br /> </td><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-tree" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav-tree" style="font............  // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav-tree">';<br / ............ <br /> <tr>';<br /><br /> // Show the [Home] button.<br /> echo '<br /> <td align="center" valign=" ............ ';<br /> <br /> // Show the [Destination Guide] button.<br /> echo '<br /> <td align="center" valign=" ............ >';<br /> <br /> // How about the [forums] button?<br /><br /> echo '<br /> <td align="center"  ............ <tr><br /> </table><br /><div align="right" style="font-size:10px;"><a style="color:#000000;" href="#"  ............ ><br /> </td>';<br /><br /> // Show the [help] button.<br /> echo '<br /> <td align="center" valign=" ............ '</a></td>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ /tr><br /> </table><br /><div align="right" style="font-size:10px;"><a style="color:#000000;" href="#"  ............ '] , '</a></td>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<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 style="color:#000000;" href="#"  ............ >';<br /><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 />// Generate a  ............  of buttons.<br />function TEXTLINKS_template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ 'mirror', 'tab_back">', implode(' &nbsp;&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#864
SMF 1.1.x Support / Re: Verification process not working
joulukuu 24, 2006, 01:19:07 IP tekijältä Chipfryer
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  TYPE="VOTE/css"><br /><!--<br />.vote { <br />font-family: Verdana, Arial, Helvetica, sans-serif; < ............  />font-size: 9px; <br />color: #000000; <br />text-align: ............  /><!--<br />.chromestyle{<br />width: 800;<br />font-weight: bold;<br />}<br /><br />.chromestyle: ............  CHANGE HERE*/<br />border-bottom-width: 0;<br />font:normal 12px Verdana;<br />line-height:18px;<br /> ............ />padding: 2px 0;<br />text-decoration: none;<br />font-weight: bold: color:#cc0000<br />color: black;<br  ............  {color: #CC0000}<br />.style5 {color: #CC0000; font-weight: bold; }<br />--><br /></STYLE><br /><br /> ............ .bbc.co.uk/sport1/hi/football/teams/n/nottm_site/default.stm"><img src="images/ball.gif" alt="Ball" border= ............ /sport1/hi/football/teams/n/nottm_site/live_text/default.stm"><img src="images/ball.gif" alt="Ball" border= ............ ['header_logo_url'] : $settings['images_url'] . '/smflogo.gif', '" alt="" /></td><br /> <td valign=" ............ " class="tborder" style="border-width: 1px 0 0 0; font-size: smaller;">';<br /><br /> // Show the menu  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br /> < ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440">',  ............ $txt['smf47'], '</option><br /> <option value="10080">', ............  $txt['smf48'], '</option><br /> <option value="43200">', ............  $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br /> < ............  value="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> <input type="hidden" name=" ............  align="center" class="smalltext"><br /> ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '<br /> </div>';<br /><br /> // The  ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> <a href="http://www. ............ .com/">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ .com/mysiteworld/">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=help">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ .php?action=gallery">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ .com/mysiteworld/fl.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ /mysiteworld/talk.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '</a>';<br />}<br /><br />// Generate a strip of buttons, out of buttons.<br />function  ............ ($button_strip, $direction = 'top', $force_reset = false, $ ............  = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> if ( ............ ($button_strip))<br /> return '';<br /><br /> // Create  ............  buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ >' : $txt[$value['text']]) . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>';<br />}<br /><br />?>  Your lay- ............  really needed to be within SMF's template functions.   ......
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ '];<br />}<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and lock  ............ , $modSettings;<br /><br /> $csect_cookie = 'SMF_user_' . $context['user']['id'] . '_CSect';<br />  ............  = $options['theme_color'];<br />else{<br /> // Defaults.<br /> $options['theme_color'] = isset($ ............ ['theme_default_color']) ? $settings['theme_default_color'] : ' ............ '] == 'no'){<br /> // Set user back to default theme if "personal theme option" is disabled<br /> ............  $options['theme_color'] = isset($settings['theme_default_color']) ? $settings['theme_default_color'] : ' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc3"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc3" media="print" /><br  ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ']))<br /> echo '<br /><div style="font-family: Georgia, sans-serif; font-size: 30px;  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440" ............ >', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ ="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> <input type="hidden" name=" ............  '<br /> <span style="text-transform: uppercase; font-weight: bold;">', $txt[102], '</span> : ', $ ............ =search;advanced" class="searchb" title="', $txt['smf298'], '"><img src="', $settings['images_url'], '/ ............ .gif" border="0" alt="', $txt['smf298'], '" /></a></td><br /> <td valign="middle"  ............ ']))<br />{<br /> if ($forum_version != 'SMF 1.1 RC3')<br /> echo '<br /> <div style="margin:  ............ ;"><br /> <div style="float: left; width: 2ex; font-size: 2em; color: red;">!!</div><br /> <b style= ............  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 style= ............ ['show_load_time'])<br /> echo '<br /> ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '';<br /><br /> echo '<br /> <!-- area_tc - ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ " style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ " style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ " style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ " style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ ="0"><br /> <tr>';<br /><br /> // the [EXTRA] button<br /> echo '<br /> <td class="maintab_off_first"> ............ ">&nbsp;</td>';<br /> <br /> // Show the [home] button.<br /> if (!empty($settings['wow_forum_button']))< ............ "><br /> <a href="', $settings['wow_forum_button'], '">' , $txt[103] , '</a><br /> </td><br /> < ............ /td>';<br /><br /> if (!empty($settings['wow_forum_button']))<br /> {<br /> // Show the [home] button.<br /> ............  <a href="', $scripturl, '">' , $txt['wow_forum_button_forum'] , '</a><br /> </td>' , $current_action  ............  /> }<br /> else<br /> {<br /> // Show the [forum] button.<br /> echo ($current_action=='home' || $context[' ............ . '">&nbsp;</td>';<br /><br /> // Show the [forum] button.<br /> echo ($current_action=='forum' || $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 ( ......
#866
Arşiv / Re: Su Alana Reklam Nasil Koyabilirim Arkadaslar Yardim.
maaliskuu 26, 2006, 04:09:26 IP tekijältä Narcotic
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" media="print" />';< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 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. ............ ="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';<br /><br / ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440" ............ >', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ ="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> <input type="hidden" name=" ............ /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 /> echo '<br /> </div> ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '</a>';<br />}<br /><br />// Generate a strip of buttons, out of buttons.<br />function  ............ ($button_strip, $direction = 'top')<br />{<br /> global $ ............ , $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]))<br /> $buttons[$key] = '<a href="' . $ ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ >' : $txt[$value['text']]) . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  /> <td>', implode($context['menu_separator'], $button_strip) , '</td>';<br /><br />}<br /><br />?>   ............  </script></p> <p align="left">&nbsp;&nbsp;&nbsp; <font face="Verdana" style="font-size: 8pt" color="# ............ ">&nbsp;&nbsp;  ÇANAKKALE GEÇİLMEZ!&nbsp;&nbsp; </font> <img border="0" src="http://www.sevdamiz.com/ ......
#867
Arşiv / Re: Buralara Resim Koymak
maaliskuu 04, 2006, 01:23:50 IP tekijältä Harzem
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?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 == ......
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc4" media="print" /> ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc4"></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'], '/sha1.js"></script><br /> </ul>';< ............ ><b>Crip</b></span></a></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 /> return;<br /> ............  /> <ul>';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> echo '<br /> ............  <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', '" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><span>', $button['title'], ............  '</span></a>';<br /><br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............  <ul>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  '<br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '>', $childbutton['title'],  ............ !empty($childbutton['sub_buttons']) ? '...' : '', '</a>';<br /><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br /> ............  <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '>', $grandchildbutton[' ............ " />';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ .<br /> if ($context['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<li' . (isset($value['active']) ? ' 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($ ............  class="reset clearfix"><br /> ', implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
#869
Archief / Re: Knop toevoegen in forum navigatie balk
joulukuu 23, 2010, 11:04:53 AP tekijältä Robert.
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br /> ............  $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for  ............  /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />  ............ /javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br />  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ > else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ="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 />  ............  <option value="60">', $txt['smf53'], '</option><br />  ............  <option value="1440">', $txt['smf47'], '</option><br />  ............  <option value="10080">', $txt['smf48'], '</option><br />  ............  <option value="43200">', $txt['smf49'], '</option><br />  ............  <option value="-1" selected="selected">', $txt['smf50'], '</option><br />  ............  <span class="middletext">', $txt['smf52'], '</span><br />  ............ "><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {< ............  /> 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=" ............  '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function  ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '"> </td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $ ............ '"> </td>' : '';<br /><br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ "> </td>' : '';<br /><br /> // Show the [radio] button.<br /> echo ($current_action=='radio' || $ ............ '; <br /><br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............ > </td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ ' . $last . '"> </td>' : ''; <br /> // the [SMF Gallery] button<br /> if ($context[' ............  href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu'] , '</a><br /> </td>' ............ ><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............  // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ ['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br />  ............  }<br /> elseif (!isset($buttons[$key]) || $force_reset)<br /> $ ............ $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br  ............ /> if (empty($button_strip))<br /> return '<td> </td>';<br />< ............ 'main' : 'mirror', 'tab_back">', implode(' | ', $button_strip) , '</td><br /> <td class="', $ ......
#870
Arquivo / Re: Dúvidas sobre MODS
helmikuu 17, 2009, 07:52:59 AP tekijältä margarett
......  parser encontras:  Lainaa./Themes/default/index.template.php Find:  Koodi [Valitse]  ............ "msg" tabindex="1" maxlength="120" value="" style="font-weight: normal;color: ' . $HP_settings['shoutBox'] ............ ['textColor'] . ';font-style: normal;text-decoration: none;width: ' . $ ............  false);" src="' . $settings['images_url'] . '/bbc/fontcolor.gif" width="23" height="22" alt="' . $txt[' ............ .msg.focus(); HP_shoutBox_shFace();" style="font-family: inherit; display: block; padding: 2px;"  ............ .msg.focus(); HP_shoutBox_shFace();" style="font-family: ' . $face . ', sans-serif; display: block; ............ " class="smalltext" /><br />  <input type="button" value="' . $txt['hs_sb_58'] . '" style="padding:  ............ (true);" class="smalltext" /> <input type="button" value="' . $txt['hs_sb_64'] . '" style="padding:  ............ "><a href="http://www.hackspark.com/scripts/smf-colorpicker_10.0.html" title="Hack's Park  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/style.css" />\n\t</head>\');   ............ "><a href="http://www.hackspark.com/scripts/smf-shoutbox_7.0.html" title="Hack's Park shoutBox"  ............  linguagem para evitar erros no log Lainaa/Themes/default/languages/Modifications.english.php Find (at the  ......
#871
Arşiv / Re: Kendi Temamıza Reklam
helmikuu 05, 2009, 03:35:32 AP tekijältä cinema35
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* 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. ............  class="smalltext">', theme_copyright(), '<br /><font color="#757575">Theme </font><font color="#858585" ............ ><b>Extreme6 By</b></font> <a href="http://www.fussilet.com" target="_blank" ............ <p align="center"><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span></p>';<br /><br /> // This is 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:  ............ ="kwicks">';<br /><br /> // Show the [home] button.<br /> echo '<li><a href="', $scripturl, '"  ............ ="kwick opt1">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ <br /> <br /> // Show the [help] button.<br /> echo '<li><a href="', $scripturl, '? ............ " class="kwick opt2" >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............ " class="kwick opt3">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ " class="kwick opt4">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ " class="kwick opt5">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =pm" class="kwick opt6">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ="margin: 0px 0;" border="0" /><span>' : $txt['smf199']), '</span></a></li>';<br /><br /> // The [ ............ " class="kwick opt7">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ /a></li>';<br /> <br /> // The [member] list button :)<br /> if ($context['allow_memberlist'])<br / ............ " class="kwick opt8">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  <br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest']) < ............ " class="kwick opt9">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  /> // If the user is a guest, show [register] button.<br /> if ($context['user']['is_guest']) <br /> ............ " class="kwick opt10">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ], '" class="kwick opt11">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td> </td>';<br /><br />  ............ 'main' : 'mirror', 'tab_back">', implode(' | ', $button_strip) , '</td><br /> <td class="', $direction == ......
......  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. ............ ="right">';<br /><br /> // this is the upshrink button for the user info section<br /> echo '<br /> < ............ ])<br /> {<br /> echo '<br /> <span style="font-size: 130%;"><b> ', $txt['hello_member_ndt'], ' ', ............ " 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 == ............  board i was in , instead i have to either back button or click home and find the board i was in. did  ......
#873
Install and Upgrade Help / Re: no object
elokuu 01, 2008, 09:11:54 AP tekijältä allymcbeal
......  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'] = ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc1"></script><br /><br / ............ ="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 />  ............  to display */<br />}<br /><br />#yshout {<br />font-size: 13px;<br />overflow: hidden;<br /><br />}< ............ : 1,5;<br />}<br />#yshout .shout-timestamp {<br />font-style: normal;<br />font-weight: normal;<br /> ............ >}<br />#yshout .shout-adminlinks { /* del and ban buttons */<br />font-size: 4pt;<br />color: #cd26b7;<br / ............  />margin-right: 5px;<br />}<br />#yshout #shout-button {<br />width: 50px;<br />}<br />#yshout .shout- ............ (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 />  ............ ']))<br /> {<br /> if ($forum_version != 'SMF 1.1.5')<br /> echo '<br /> <div style="margin:  ............ -color: #ffb76f;"><br /> <div style="width: 2ex; font-size: 2em; color: red;">!!</div><br /> <b style= ............  This theme doesn\'t correspond to the version of SMF that you are using. <u>This theme is made for SMF  ............ - configuration - current theme (above the save button)<br /> </div><br /> </div>';<br /> }<br /> if ( ............ -color: #ffb76f;"><br /> <div style="width: 2ex; font-size: 2em; color: red;">!!</div><br /> <b style=" ............ / If link set in admin interface show extra [home] button .<br /> if (!empty($settings['pdx_forum_button'])) ............ <br /> echo '<li><a href="', $settings['pdx_forum_button'], '">' , $txt[103] , '</a></li>';<br /><br /> if  ............ (!empty($settings['pdx_forum_button']))<br /> {<br /> // Show the extra [forum]  ............ <li><a href="', $scripturl, '">' , $txt['pdx_forum_button_forum'] , '</a></li>';<br /> }<br /> else<br />  ............ {<br /> // Show the default [home] button.<br /> echo '<li><a href="', $ ............ ></li>';<br /> }<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 == ............  showcase()<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 /><br /> if ($ ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a><br /> <input type="hidden" name= ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ......
#874
SMF 1.1.x Support / Re: Custom Header Wont Cover SMF Logo
maaliskuu 19, 2008, 05:32:59 IP tekijältä Jed C
......  <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /> but  ............  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 == ......
#875
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ ';<br /> <br /> if (empty($settings['default_theme_color']))<br /> {<br /> echo 'orange';<br / ............  else<br /> {<br /> echo $settings['default_theme_color'];<br /> }<br /> echo '. ............ ="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 /> if (empty($settings['default_theme_color']))<br /> {<br />  ............ /> {<br /> echo $settings['default_theme_color'];<br /> }<br />  ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............  /> <td>', implode($context['menu_separator'], $button_strip) , '</td>';<br />Echo'<center><a href="http: ............ //www.tmac1.net/forum/sitemap"><font color="#FFFFFF">Sitemap</font></a><font color="# ............ "> | <br /></font> <a href="http://www.tmac1.net/forum/arsiv.php">< ............  color="#FFFFFF">Archive</font></a></center>';<br /> <br />  ............  <br /><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br />  ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav">';<br /><br /> //  ............  '<br /> <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 /> echo ' ............  /><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, out of buttons.<br />function  ............ ($button_strip, $direction = 'top')<br />{<br /> global $ ............ , $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]))<br /> $buttons[$key] = '<a href="' . $ ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ >' : $txt[$value['text']]) . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />} ......
#876
Arquivo / Re: banner no topo do forum
kesäkuu 23, 2006, 06:21:25 IP tekijältä xxxx
......  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............  $settings['use_tabs'] = false;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2p"></script>  < ............ ="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";   ............  var smf_scripturl = "', $scripturl, '";  // ]]></script> ............ ="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...)  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 '  window.addEventListener("load", smf_codeFix, false);   function smf_codeFix()  ............  = window.onload;  window.onload = smf_codeFix;   function smf_codeFix()   ............  '<br />  <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';   echo '</td>  <td>< ............ , $options;   echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ , $first , '">&nbsp;</td>';   // Show the [home] button.  echo ($current_action=='home' || $context[' ............  . '">&nbsp;</td>' : '';   // Show the [help] button.  echo ($current_action == 'help' || $context[' ............ ">&nbsp;</td>' : '';   // How about the [search] button?  if ($context['allow_search'])  echo ($ ............  . '">&nbsp;</td>' : '';   // the [member] list button  if ($context['allow_memberlist'])  echo ($ ............ : '';    // 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 ==  ............ ="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';   if( ............  <option value="60">', $txt['smf53'], '</option>   ............  <option value="1440">', $txt['smf47'], '</option>   ............  <option value="10080">', $txt['smf48'], '</option>   ............  <option value="302400">', $txt['smf49'], '</option>   ............  <option value="-1" selected="selected">', $txt['smf50'], '</option>   ............  ', $txt['smf52'], '   ............ ['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a></span>  <input  ......
#877
SMF 1.1.x Support / Re: how do i make my board background "fixed"?
lokakuu 14, 2004, 10:59:53 IP tekijältä nave
...... . i inherited the board, then modified it for smf, from yabbse.  Koodi [Valitse] Laajenna /*  ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use Tahoma in black. */ body, td {   ............ : #ffffff;  font-size: small;  font-family: Verdana, arial,  ............  normal so they align well. */ input, textarea, button {  font-size: 9pt;  border: 1px solid #077324;   ............  color: #ffffff;  background-color: #000000;  font-family: verdana, arial, helvetica, serif; }  /*  ............  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: # ............ ;  font-family: verdana, arial, helvetica, serif; }  /*  ............  #077324;  margin: 1px;  padding: 1px;  font-size: x-small; }  /* A code block - maybe even  ............   border: 1px solid #077324;  padding: 1px;  font-family: "courier new", helvetica, "times new  ............ ", serif;  font-size: x-small;  width: 99%;  margin: 1px auto  ............  {  color: silver;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: ............ ). */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............  a:link, .titlebg a:visited {  color: white;  font-style: normal;  background-color: ; } .titlebg  ............  several other areas in the forum. */ .catbg {  font-weight: bold;  background-color: ;  color: # ............ : url(images/catbg2.jpg); }  .catbg, .catbg2 {  font-weight: bold;  background-color: ;  color: # ............  ;  background-color: ;  padding: 1px; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: verdana, arial,  ............ , serif; } .normaltext {  font-size: small; } .largetext {  font-size: large; }   ......
#878
Archief / Re: SMF Gallery 2.2
kesäkuu 06, 2010, 10:51:07 AP tekijältä Pearl1978
......  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 '  <div id="smflogo">  ';  echo '  <div id="hg">'; ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>  <form  ............ ="hash_passwrd" value="" />  </form>', $txt['smf52'], '<br /><br /></div>';  }    echo '   ............ "><!-- // --><![CDATA[  function smfFooterHighlight(element, value)  {   ............  element.src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="16" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="16" 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:  ............  <ul>';     // Show the [home] button.  echo '<li><a' , $current_action=='home'  ............ ] , '</span></a></li>';   // Show the [help] button.  echo '<li><a' , $current_action=='help' ............ /span></a></li>';   // How about the [search] button?  if ($context['allow_search'])   ............  , '</span></a></li>';   // the [member] list button  if ($context['allow_memberlist'])   ............ >';   // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])   ............  // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])   ............  '  </ul> </div>';  } // Generate a strip of buttons. function template_button_strip($button_strip, $ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   // Create the  ............ ...  foreach ($button_strip as $key => $value)  {  if (isset($ ............ $context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }   ............  (!isset($buttons[$key]) || $force_reset)  $buttons[$key] = ............ '') . '>' . $txt[$value['text']] . '</a>';   $button_strip[$key] = $buttons[$key];  }   if (empty($ ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td>  <td class="', $direction ==  ......
......  foro un botton Nuevo Q se diriga A "FACEBOOK"  SMF: SMF RC3  y Mi Index Es   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 ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ <br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />  ............ /javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> < ............ .w3.org/check/referer" target="_blank" style="font-size:10px;">XHTML</a>&nbsp; | ', theme_copyright() ............ <br /> <br /><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span></div>';<br /><br /> // This is  ............  '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix( ............ ;<br /><br /> echo '<span class="nav" style="font-size: 12px; margin-bottom: 2ex; margin-left: 2ex;  ............ "nav-bar">';<br /><br /> // How about the [home] button?<br /> echo '<li' , $current_action=='home' ? ............ /a></li>';<br /> <br /> // How about the [forum] button?<br /> echo '<li' , $current_action=='forum' ............ ><a href="', $scripturl, '?action=forum" >', $txt['smf82'], '</a></li>'<br /><br /> // How about the [ ............ ] button?<br /> echo '<li' , $current_action=='help'  ............ /a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............ ></a></li>';<br /> <br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ ['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> } ............ <br /> elseif (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$ ............ . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br / ............ > if (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /> ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $ ............  <ul id="nav-bar">';   // How about the [home] button?  echo '<li' , $current_action=='home' ? '  ............ ].'</b></a></li>';       // How about the [help] button?  echo '<li' , $current_action=='help' ? '  ............ [119], '</a></li>';   // How about the [search] button?  if ($context['allow_search'])  echo '<li' ............  , '</span></a></li>';    // the [member] list button  if ($context['allow_memberlist'])  echo '< ............  the user is a guest, show [login] and [register] buttons.  if ($context['user']['is_guest'])  {   ......
#880
Español (Spanish) / Re: sobre el copyright de abajo del smf
syyskuu 23, 2009, 05:20:18 IP tekijältä Cola-Coca
...... : 12px 25px 0 0;  text-align: right;  font-size: 1.0em;  color: #ddd;  font-family:  ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  color: #000000;  font-size: small;  font-family: verdana, sans-serif; }  ............  normal so they align well. */ input, textarea, button {  color: #000000;  font-family: verdana, sans- ............ ; } input, button {  font-size: 90%; }  textarea {  font-size: 100%; ............   color: #000000;  font-family: verdana, sans-serif; }  /* All input  ............  that are checkboxes or radio buttons. */ input.check { }  /* Selects are a bit  ............  it makes them look even better 8). */ select {  font-size: 90%;  font-weight: normal;  color: #000000;  ............  font-family: verdana, sans-serif; }  /* Standard  ............ : 1px solid #000000;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A code  ............  {  color: #000000;  background-color: #dddddd;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; } /* This is used  ............  1px #dddddd; } .windowbg3 {  color: #000;  font-style: italic;  background-color: #f8f8f8;   ............ , tr.titlebg2 th, tr.titlebg2 td {  color: black;  font-style: normal;  background:#FFFFFF;  border- ............ } .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: black;  font-style: normal;  ............  a:link, .titlebg2 a:visited {  color: black;  font-style: normal;  text-decoration: underline; }  . ............ -bottom: solid 1px #375576; } .catbg, .catbg2 {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  color: white;  text-decoration: none;  ............  a:hover, .catbg3 a:hover {  color: #e0e0ff; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: verdana, sans-serif;  ............ } .middletext {  font-size: 90%; } .normaltext {  font-size: small; } . ............  {  font-size: large; }   /* Posts and personal messages  ............  {  color: #ffffff;  text-decoration: none;  font-size: 12px;  font-family: tahoma, sans-serif;   ............  {  color: #757575;  text-decoration: none;  font-weight: bold; } .maintab_active_back a:link, . ............  {  color: #ffffff;  text-decoration: none;  font-weight: bold; } .maintab_back a:hover, . ............ : #32CD32;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px;   ............  a {  text-decoration: none;  cursor: pointer;  font-weight: bold; }  #menu li.on li.on a {  text- ......
Advertisement: