Uutiset:

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

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
#321
Graphics and Templates / Remove Search Box next to Logo.
syyskuu 08, 2008, 03:55:46 AP tekijältä Lo0kBeHiNdU
......  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 />  ............ (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><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. ............ ="http://www.mysql.com/" target="_blank" style="font-size:10px;">MySQL</a>&nbsp;|&nbsp;<a href="http:// ............ .php.net/" target="_blank" style="font-size:10px;">PHP</a>&nbsp;|&nbsp;<a href="http:// ............ .w3.org/check/referer" target="_blank" style="font-size:10px;">XHTML</a>&nbsp;|&nbsp;<a href="http:// ............ -validator/check/referer" target="_blank" style="font-size:10px;">CSS</a><br /> </td><br /> </tr>< ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /><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-tree" style="font............  // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav-tree">';<br / ............ "><br /> <tr>';<br /><br /> // Show the [home] button.<br /> echo '<br /> <td class="mainnav"><a  ............ ] , '</a></td>';<br /><br /> // Show the [help] button.<br /> echo '<br /> <td class="mainnav"><a  ............ '] , '</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 /> {< ............ >';<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  ............  '<br /> <td class="maintab_back">', implode('', $button_strip) , '</td>';<br />}<br /><br />?>  I try to  ......
#322
SMF 1.1.x Support / Inserting shoutbox - phpnoob :(
syyskuu 01, 2008, 11:12:21 AP tekijältä kjaonline
......  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 />  ............ ="text/css"><br /> #yshout {<br /> font-size: 10px;<br /> overflow: hidden;<br />  ............  /> #yshout .shout-timestamp {<br /> font-style: normal;<br /> font-weight: normal;< ............ /> #yshout .shout-adminlinks { /* del and ban buttons */<br /> font-size: 6pt;<br />  ............ : 5px;<br /> }<br /> #yshout #shout-button {<br /> width: 55px;<br /> }<br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <form  ............ "><br /> <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=" ............  /> echo '<br /> <div class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</div>';<br /><br /> echo '<br /> </div></ ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; padding: 0 0 10px 10px;">';<br />< ............  : '' , '</span></a></li>';<br /><br /> // add the buttons<br /> for($what=0;$what<6;$what++)<br /> {<br />  ............  // extra button 1<br /> if(isset($context['sitemenu'][$what]))< ............ >';<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 == ......
#323
......  been able to embed latex (mimetex) support on SMF 2.0bp3.1, and have created a button to insert  ............  the selected code; I mean that I don't want SMF to process any tag. It's just some kind of " ............  all. Exactly like when you select a number from "font size" select box: it is automatically inserted  ............  on the editor's window, using this code:  Themes\default\GenericControls.template.php, around line 82   ............ " id="latex_code" style="margin-bottom: 1ex; font-size: x-small;">  <option value="" selected= ............ \approx">&asymp;</option>  </select>'; Themes\default\GenericControls.template.php, around line 220 ( ............  anything on it, it won't behave as, for example, font size drop down list, inserting dinamically tags  ......
...... |^|TP_0983.zip|^|bloc:tinyportal|^|0.983 SMF Shoutbox|^|sbox_v1.16.zip|^|Deep:SMF_Shoutbox|^|1. ............  BBC Tag|^|miniclip.zip|^|AlanS:Miniclip|^|0.1 SMF Links|^|Links1.6.5.zip|^|vbgamer45:SMFLinks|^|1.6. ............ .3.zip|^|MAVE:GooglevideoBBCTag|^|1.3 SMF Gallery Lite|^|Gallery1.8.zip|^|vbgamer45: ............ -0_Final.zip|^|jaybachatero:ga|^|1.0 SMF Arcade|^|SMF_Arcade_2.0.9.zip|^|Niko:Arcade|^|2.0. ............ |^|ssiTopic_0-1.zip|^|Daniel15:SSITopic|^|0.1 SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update|^|smf_patch_1.0. ............ .1.4_2.0.b1.1.tar.gz|^|smf:smf-1.0.12-1.1.4-2.0.b1.1|^|1.0 Mp3Tube BBCode|^| ............ .zip|^|snork13:MessagePreviewOnHover|^|1.5 SMF Staff Page|^|SMFStaff.zip|^|vbgamer45:SMFStaff|^| ............ .PedersenAkaCarceri:UsersOnlineTodayMod|^|1.4.0 SMF Trader System|^|Trader.zip|^|vbgamer45: ............ |^|1.1 Default Avatar|^|Default_Avatar.zip|^|Dragooon: ............ |^|1.0 default signature - firma por defecto|^|NOsignature.zip|^ ............ |Bigo:DefaultSignature-FirmaPorDefecto|^|1.0 Download Button|^| ............ .zip|^|jake1981:crbutton|^|1.1.4 Integrated Chat|^|integratedchat-2_9.zip|^ ............  Birthday|^|TodaysBirthday.zip|^|JB:TB|^|0.1 SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update|^|smf_patch_1.0. ............ .1.5_2.0-b3.1.tar.gz|^|smf:smf-1.0.13-1.1.5-2.0.b3.1|^|1.0 cbi, 1.0|^|cbi-1a. ............ : forum error logHacking attempt... UPDATE smf_settings SET `value` = 'UBLIC "-//W3C//DTD XHTML  ............  own chat for your webpage, use the 'Add Chat' button.  If you'd just like to join in, click the 'Chat  ............ ' button to be sent straight into the free chat. </div>  < ............  visit with your visitors!</p><div id="addchat-button"><a href="addachat.php">Add Chat</a></div></div> < ............  meeting new people right now!</p><div id="chatnow-button"><a href="chatnow.php">Chat Now</a></div></div> < ............  now includes the /ignore command, on the fly font selection, new themes, and a whole lot more.</p> < ......
#325
Scripting Help / Another template parse eoor
elokuu 14, 2008, 11:15:38 AP tekijältä TheDisturbedOne
......  menu sub template should display all the relevant buttons the user<br />wants and or needs.<br /><br />For  ............ , $options, $txt;<br /><br />/* Use images from default theme when using templates from the default theme? ............ <br />if this is 'always', images from the default theme will be used.<br />if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br />$settings[' ............  What document type definition is being used? (for font size and other issues.)<br />'xhtml' for an XHTML  ............  for.<br />This should probably be the version of SMF it was created for. */<br />$settings[' ............ ['use_tabs'] = true;<br /><br />/* Use plain buttons - as oppossed to text buttons? */<br />$settings[ ............ 'use_buttons'] = true;<br /><br />/* Show sticky and lock  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />< ............ ="text/javascript"><!-- // --><![CDATA[<br />var smf_theme_url = "', $settings['theme_url'], '";<br /> ............  smf_images_url = "', $settings['images_url'], '";<br / ............ >var smf_scripturl = "', $scripturl, '";<br />var  ............ '] ? 'true' : 'false', ';<br />var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br />Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br />Note that this  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />/ ............ =" + (mode ? 1 : 0);';<br />else<br />echo '<br />smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ <br />document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><form  ............  /><td><input type="text" class="bginput" style="font-size: 11px" name="user" size="10" value="', $txt[ ............ ><td><input type="password" class="bginput" style="font-size: 11px" name="passwrd" size="10" /></td><br /> ............ <td><input type="submit" class="button" value="', $txt[34], '" /></td><br /></tr><br /></ ............ ">kreativfantasy.com</a>&nbsp;|&nbsp;Ported to SMF by <a href="http://Www.genclup.net/" target=" ............ ['show_load_time'])<br />echo '<br />', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];<br />echo '<br /></div><br/><br /><div  ............ )<br />echo '<br />window.addEventListener("load", smf_codeFix, false);<br /><br />function smf_codeFix() ............ )<br />echo '<br />window.addEventListener("load", smf_codeFix, false);<br />function smf_codeFix()<br /> ............  = window.onload;<br />window.onload = smf_codeFix;<br /><br />function smf_codeFix()<br />{< ............  />// Folder style or inline? Inline has a smaller font.<br />echo '<div class="navbar" style="font-size: ............ , $scripturl, $txt;<br /><br />// Show the [home] button.<br />echo '<br /><td class="meny_nav"><a href="', ............ [103] , '</a></td>';<br /><br />// Show the [help] button.<br />echo '<br /><td class="meny_nav"><a href="', ............  '</a></td>';<br /><br />// How about the [search] button?<br />if ($context['allow_search'])<br />echo '< ............ '] , '</a></td>';<br /><br />// the [member] list button<br />if ($context['allow_memberlist'])<br />echo ' ............  /><br />// If the user is a guest, show [login] button.<br />if ($context['user']['is_guest'])<br />echo  ............  />// If the user is a guest, also show [register] button.<br />if ($context['user']['is_guest'])<br />echo  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br />global $settings, $buttons, $context, $txt, $scripturl;<br /><br />//  ............  the buttons...<br />foreach ($button_strip as $key => $value) ............ ($context[$value['test']]))<br />{<br />unset($button_strip[$key]);<br />continue;<br />}<br />elseif (! ............ ($buttons[$key]) || $force_reset)<br />$buttons[$key] = '< ............ . '>' . $txt[$value['text']] . '</a>';<br /><br />$button_strip[$key] = $buttons[$key];<br />}<br /><br /> ............  (empty($button_strip))<br />return '<td>&nbsp;</td>';<br /><br /> ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /><td class="', $direction == ' ......
#326
SMF Coding Discussion / ads not working
heinäkuu 23, 2008, 09:44:58 IP tekijältä shadowravenhawk
......  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>', ............ '], '</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 == ......
#327
SMF 1.1.x Support / Ads Below the menu HELP!
heinäkuu 12, 2008, 04:15:39 IP tekijältä LOADING...
......  my menu, but the ad it self is touching my menu buttons, how can i make space between them?  check it  ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br />< ............ , $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............  if this is 'always', images from the default theme will be used.<br /> if this  ............  'defaults', images from the default theme will only be  ............  with default templates.<br /> if this is 'never' ............  or isn't set at all, images from the default theme will not be used. */<br /> $settings[ ............ 'use_default_images'] = 'never';<br /><br /> /* What  ............  type definition is being used? (for font size and other issues.)<br /> ' ............  This should probably be the version of SMF it was created for. */<br /> $settings[' ............ '] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />  ............ "><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br />  ............  var smf_iso_case_folding = ', $context['server'][' ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br />  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br />  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............  <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /><br />  ............  <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ >';<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=" ............ /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is  ............  window.addEventListener("load", smf_codeFix, false);<br /><br />  ............  function smf_codeFix()<br /> {<br />  ............  window.addEventListener("load", smf_codeFix, false);<br />  ............  smf_codeFix()<br /> {<br />  ............ ;<br /> window.onload = smf_codeFix;<br /><br />  ............  smf_codeFix()<br /> {<br />  ......
#328
Español (Spanish) / Diseño con errores
kesäkuu 30, 2008, 12:30:22 IP tekijältä camaronero
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2p"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" media="print" />';< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  echo '<br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  echo '<br /> smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (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. ............ ['show_load_time'])<br /> echo '<br />'. $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];<br /><br /> echo '<br /> </div><br />< ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ <br /> <ul>';<br /> <br /> // Show the [home] button.<br /> echo '<li><a href="', $scripturl, '">' , $ ............ ']!='boardindex')<br /> // Show the [forum] button. <br /> echo '<li><a href="', $ ............  . '">&nbsp;</td>' : '';// How about the [search] button?<br /> <br /> // Edit Profile... [profile]<br />  ............ ']. '</a></li>';<br /> <br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............  </ul>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#329
Graphics and Templates / Move Welcome Guest/User PMs Under Banner
toukokuu 22, 2008, 02:26:25 AP tekijältä Slushie
......  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 />//  ............ ";</script> <style type="text/css"> #yshout { font-size: 10px; } #yshout p { margin: 0 0 0; /*  ............  fieldset { border: none; } #yshout em { font-style: normal; } #yshout p { line-height: 1;  ............ : hidden; } #yshout .shout-timestamp { font-weight: normal; color: #000; } #yshout . ............  { font-size: 6pt; color: #141414; } #forum-name, # ............ -text, #shout-button { font-size: 9px; margin: 0; padding: 0; }  ............ : 310px; margin-right: 5px; } #yshout #shout-button { width: 55px; } </style>'; // YSHOUT END<br /> ............ ['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  ............ > echo '</span>';<br />}<br /><br />// Show WebsiteButton<br />function show_websiteButton()<br />{<br />  ............  <a href="', isset($modSettings['websiteButton_url']) ? $modSettings['websiteButton_url'] : ' ............ /www.roadrunner.cx', '" alt="', isset($txt['websiteButtonAlt_txt']) ? $txt['websiteButtonAlt_txt'] : ' ............ ', '">', $settings['use_image_buttons'] ? ' <img src="' . $settings['images_url'] . '/' ............  . $context['user']['language'] . '/websiteButton.gif" alt="' . (isset($txt['websiteButtonAlt_txt']) ............  ? $txt['websiteButtonAlt_txt'] : 'Website') . '" style="margin: 2px 0;"  ............ ="0" />' : (isset($txt['websiteButton_txt']) ? $txt['websiteButton_txt'] : 'Website') .  ............ , $txt;<br /><br /> // Show the [website] button.<br /><br /> show_websiteButton();<br />// Show  ............  [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 />?> ......
#330
Français (French) / Problème d'affichage du thème
toukokuu 05, 2008, 02:48:55 IP tekijältä DanySC
......  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............   $settings['use_tabs'] = true;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>  < ............ ="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";   ............  var smf_scripturl = "', $scripturl, '";  var  ............ '] ? 'true' : 'false', ';  var smf_charset = "', $context['character_set'], '";  // ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)  Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.  Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............  + (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))  echo '  <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ " height="32">  <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';   // this is the upshrink button for the user info section  echo '   ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>    ............  <option value="60">', $txt['smf53'], '</option>  < ............  value="1440">', $txt['smf47'], '</option>  < ............  value="10080">', $txt['smf48'], '</option>  < ............  value="43200">', $txt['smf49'], '</option>  < ............  value="-1" selected="selected">', $txt['smf50'], '</option>  </ ............  <span class="middletext">', $txt['smf52'], '</span>  <input  ............ "><!-- // --><![CDATA[  function smfFooterHighlight(element, value)  {   ............  element.src = smf_images_url + "/" + (value ? "h_" : "") + hxxp: ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  echo '  <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';   // This is an interesting  ............  echo '  window.addEventListener("load", smf_codeFix, false);   function smf_codeFix()  ............  echo '  window.addEventListener("load", smf_codeFix, false);  function smf_codeFix()   ............  = window.onload;  window.onload = smf_codeFix;   function smf_codeFix()   ............ , $options;   echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ , $first , '">&nbsp;</td>';   // Show the [home] button.  echo ($current_action=='home' || $context[' ............  . '">&nbsp;</td>' : '';   // Show the [help] button.  echo ($current_action == 'help' || $context[' ............ ">&nbsp;</td>' : '';   // How about the [search] button?  if ($context['allow_search'])  echo ($ ............  . '">&nbsp;</td>' : '';   // the [member] list button  if ($context['allow_memberlist'])  echo ($ ............ : '';    // 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 ( ............  à la ligne 600 :   // 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 ==  ......
#331
SMF Coding Discussion / Unexpected character in input:
helmikuu 16, 2008, 12:23:50 IP tekijältä anX
......  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 />  ............  echo '<br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  echo '<br /> smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (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 /> <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 / ............ > // 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'] . '/'  ............ , '?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 />?> and here  ............ : 0px; display: inline;} img {border: 0px;}  /*Default link properties*/ a:link, a:visited, a:active { ............ ;}  /*Basic table properties*/ table, tr, td  {  font-size: 10px;  font-weight: normal;  color: #a5a5a5; ............   font-family: Verdana; }  th {  font-weight: bold;   ............  select, input, textarea {  background: #333333;   font-family: Verdana;  font-size: 10px;  color: # ............  #777777; }   option {  background: #333333;   font-family: Verdana;  font-size: 10px;  color: # ............  7px;  width: 124px;  height: 16px; }  input.loginbutton {  background: none;  border: 0px;  padding: 0px;  ............ : 1px solid #444444;  margin: 2px;  padding: 2px;  font-size: 9px;  line-height: 1.4em; }  /* A code  ............  {  color: #000000;  background-color: #a5a5a5;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #a5a5a5;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size:  ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............ } .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: #a5a5a5; }  .titlebg a: ............  a:link, .titlebg2 a:visited {  color: #000000;  font-style: normal;  text-decoration: underline; }  . ............ , .catbg3 {border-bottom: solid 1px #1b78b3; font-weight: bold;}  .catbg3, tr.catbg3 td, .catbg3 a: ............  solid #444444;  background-color: #000000; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: 9px;  font-family: verdana, sans-serif; } . ............  {  font-size: 10px; } .normaltext {  font-size: 10px; } . ............  {  font-size: 11px; }   /* Posts and personal messages  ............ , .maintab_back, .maintab_last {  color: #a5a5a5;  font-family: verdana;  font-size: 9px;  vertical-align: ............  {  color: #a5a5a5;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding: 2px  ............  6px 6px;  font-family: verdana; }  /* how links behave in main  ............  , .maintab_back a:visited {  color: #a5a5a5;  font-size: 9px;  font-family: verdana;  text- ............ ; }  .maintab_back a:hover {  color: #25a8f7;  font-size: 9px;  font-family: verdana;  text- ............ , .mirrortab_last {  color: #a5a5a5;  font-family: verdana;  font-size: 9px;  vertical-align: ............  {  color: #a5a5a5;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding: 6px  ............  2px 6px;  font-family: verdana; }  /* how links behave in mirror  ............  , .mirrortab_back a:visited {  color: #a5a5a5;  font-size: 9px;  font-family: verdana;  text- ............ ; }  .mirrortab_back a:hover {  color: #25a8f7;  font-size: 9px;  font-family: verdana;  text- ......
...... , I have a SMF that I'm trying to add a rollover image menu to  ............  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 />  ............ /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 /> ............ '] == 'no'))<br /> {<br /> // Defaults.<br /> $options['theme_color'] = isset($ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  echo '<br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  echo '<br /> smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  /> // ]]></script><br /> <!--pre load header buttons --><br /> <script type="text/javascript"><br /> ............ ">';<br /> // Show the logo. It'll be either the default image, or one you set in the Theme Settings. The  ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br />  ............ -right:10px; padding-top:0px; padding-bottom:0px;font-weight:bold"><br /> ' , $ ............  </table><br /> </div><div align="center">buttons are going here</div>'; <br /><br /> // Show that  ............ :#6C7F93;color:#6C7F93;width:20px;height:20px;font-size:1px" type="submit" value="black" name=" ............ :#6699CC;color:#6699CC;width:20px;height:20px;font-size:1px" type="submit" value="blue" name=" ............ :#4DB45D;color:#4DB45D;width:20px;height:20px;font-size:1px" type="submit" value="green" name=" ............ :#A185D6;color:#A185D6;width:20px;height:20px;font-size:1px" type="submit" value="purple" name=" ............ :#E15050;color:#E15050;width:20px;height:20px;font-size:1px" type="submit" value="red" name="options[ ............ > 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 / ............ <div id="bg_nav_links">';<br /> // TinyPortal left button<br /> if($context['TPortal']['leftbar'])<br />  ............ :14px" /></a>&nbsp;|';<br /> // Show the [home] button.<br /> echo '<br /> <a href="', $scripturl, '" ............ [103] , '</a>&nbsp;|';<br /> // Show the [forum] button.<br /> if($settings['TPortal_front_type']!=' ............ -forum'] , '</a>&nbsp;|';<br /> // Show the [help] button.<br /> echo '<br /> <a href="', $scripturl, '? ............ ] , '</a>&nbsp;|';<br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo '< ............ '] , '</a>&nbsp;|'; <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 />  ............ >' , $txt[108] , '</a>';<br /> // TinyPortal right button<br /> if($context['TPortal']['rightbar'])<br />  ............  <br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ' : 'main', 'strip">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#333
Graphics and Templates / One more issue with theme redesigning.
tammikuu 30, 2008, 06:43:51 IP tekijältä borisz
......  menu sub template should display all the relevant buttons the user<br /><br /> wants and or needs.<br />< ............ , $txt;<br /><br /><br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /><br /> if this is 'always', images from the default theme will be used.<br /><br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /><br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /><br /> 'xhtml' for  ............  /><br /> This should probably be the version of SMF it was created for. */<br /><br /> $settings[' ............ '] = false;<br /><br /><br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /><br /> $ ............ ['use_buttons'] = false;<br /><br /><br /><br /> /* Show  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />< ............ /javascript"><!-- // --><![CDATA[<br /><br /> var smf_theme_url = "', $settings['theme_url'], '";<br />< ............  /> var smf_images_url = "', $settings['images_url'], '";<br / ............ ><br /> var smf_scripturl = "', $scripturl, '";<br /><br /> var  ............ '] ? 'true' : 'false', ';<br /><br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /><br />  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /><br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />< ............  /> <td height="80px"><div style="color:#FFFF99; font-size: 12px; margin-right:5px; float: right; width: ............  href="../misc/rss_table.html"><img src="../images/button5.gif" alt="Software Tips and tricks rss" width=" ............ ="center" class="smalltext"><br /><br /> ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '<br /><br /> </div>';<br /><br /><br />< ............ > // Folder style or inline? Inline has a smaller font.<br /><br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /><br /><br / ............ /><br /><br /><br /> // Show the [home] and [help] buttons.<br /><br /> echo '<br /><br /> <a href="', $ ............ <br /><br /><br /><br /> // How about the [search] button?<br /><br /> if ($context['allow_search'])<br />< ............  the user is a guest, show [login] and [register] buttons.<br /><br /> if ($context['user']['is_guest'])< ............  />}<br /><br /><br /><br />// Generate a strip of buttons, out of buttons.<br /><br />function  ............ ($button_strip, $direction = 'top', $force_reset = false, $ ............  = '')<br /><br />{<br /><br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /><br />< ............  /> if (empty($button_strip))<br /><br /> return '';<br /><br /><br />< ............  /> // Create the buttons...<br /><br /> foreach ($button_strip as $key =>  ............ ['test']]))<br /><br /> {<br /><br /> unset($button_strip[$key]);<br /><br /> continue;<br /><br />  ............  }<br /><br /> elseif (!isset($buttons[$key]) || $force_reset)<br /><br /> $buttons[$ ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['text']]) . '</a>';<br /><br /><br /><br /> $button_strip[$key] = $buttons[$key];<br /><br /> }<br />< ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>';<br /><br />}<br /><br /><br />< ............ "http://www.softwaretipspalace.com/images/index/navbutton.jpg"><a href="http://www.softwaretipspalace.com"  ............ "http://www.softwaretipspalace.com/images/index/navbutton.jpg"><a href="http://download.softwaretipspalace. ............ "http://www.softwaretipspalace.com/images/index/navbutton.jpg"><a href="http://www.softwaretipspalace.com/ ............ "http://www.softwaretipspalace.com/images/index/navbutton.jpg"><a href="http://www.softwaretipspalace.com/ ............ "http://www.softwaretipspalace.com/images/index/navbutton.jpg"><a href="http://www.softwaretipspalace.com/ ............ "http://www.softwaretipspalace.com/images/index/navbutton.jpg"><a href="http://mail.softwaretipspalace.com"  ......
#334
Graphics and Templates / Need help with the forums linktree coloring
joulukuu 07, 2007, 10:34:10 AP tekijältä wjodrey
...... )?  http://brotherhoodofthesacredshadows.com/SMF/index.php?board=1.0 [nofollow]  my current css is  ............  {  color: #d6a56c;  text-decoration: none;  font-weight: ; } a:visited {  color: #d6a56c;   ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  color: #f3eee1;  font-size: small;  font-family: verdana, sans-serif;  ............  normal so they align well. */ input, textarea, button {  color: #000000;  background-color: #f6f1ea; ............   font-family: verdana, sans-serif; } input, button {   ............ %; }  textarea {  background-color: #f6f1ea;  font-size: 100%;  color: #000000;  font-family:  ............ /* All input elements that are checkboxes or radio buttons. */ input.check { }  /* Selects are a bit  ............  it makes them look even better 8). */ select {  font-size: 90%;  font-weight: normal;  color: # ............ ;  font-family: verdana, sans-serif; }  /* Standard  ............  #f6f1ea;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A  ............  color: #ffffff;  background-color: #8b5801;  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: ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............  th, tr.titlebg2 td {  color: #ffffff;  font-style: normal;  background: url(images/ ............ .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: white;  font-style:  ............ :link, .titlebg2 a:visited {  color: #e00f00;  font-style: normal;  text-decoration: underline; }  . ............ -bottom: solid 1px #000000; } .catbg, .catbg2 {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  color: white;  text-decoration:  ............  #93130d;  background-color: #6d3a00; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: verdana, sans- ............ ; } .middletext {  font-size: 90%; } .normaltext {  font-size: small; }  ............ .largetext {  font-size: large; }   /* Posts and personal messages  ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding:  ............  6px 6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding:  ............  6px 2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............ ;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px; ............   can anyone help? the template is base of the SMF  ......
#335
......  menu that will be on top of my Forum menu  I have SMF Version 1.1.2  hxxp:www.pleasantviewbaptistchurch. ............  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. ............ ="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 /><br /> //Show the  ............ > 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' || $ ............  : '';<br /> <br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............  $last . '">&nbsp;</td>' : '';<br /><br /> // the [SMF Gallery] button<br /> if ($context[' ............  href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu'] , '</a><br /> </td>' , $ ............ ;</td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ . '">&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>' , $ ............ ;</td>' : '';<br /><br /> <br /> // the [links] button<br /> if ($context['allow_view_smflinks'])<br />  ............  <a href="', $scripturl, '?action=links">' , $txt['smflinks_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($ ............ , $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 == ......
#336
Temas y Diseño (Themes) / Ayuda pless
marraskuu 12, 2007, 01:55:12 IP tekijältä carlosarcx
......  os dare un manual de como modificar themes de smf o Temas a su gusto, basado en otro manual en  ............  ( las imágenes ).  Abrimos el Style.css del theme default:  Links visitados y no visitados:  Lainaa/*  ............ : #000000; text-decoration: none; } a.nav:hover { font-weight: bold; color: #cc3333; text-decoration:  ............  normal so they align well. */ input, textarea, button { font-size: 9pt; color: #000000; font-family:  ............  it makes them look even better . */ select { font-size: 8pt; font-weight: normal; color: #000000;  ............ : 1px solid #000000; margin: 1px; padding: 1px; font-size: x-small; }   El tag [ code ]  Lainaa/* A  ............  #cccccc; border: 1px solid #000000; padding: 1px; font-family: "courier new", helvetica, "times new  ............ ", serif; font-size: x-small; width: 99%; margin: 1px auto 1px  ............  { color: #000000; text-decoration: none; font-style: normal; font-weight: bold; font-size: x- ............ . */ .highlight { background-color: yellow; font-weight: bold; color: black; }   Los fondos de los  ............  a:link, .titlebg a:visited { color: white; font-style: normal; background-color: #6B8EAE; } . ............  is used for "new" posts. */ .catbg, .catbg2 { font-weight: bold; background-color: silver; color: # ......
#337
......  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?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. ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............ ['show_load_time'])  echo '<br />'. $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];   echo '  </div>';  echo '  </div>  ............ , $options;   echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ .   echo '  <ul>';    // Show the [home] button.  echo '<li><a href="', $scripturl, '">' , $ ............ [103] , '</a></li>';    // Show the [help] button.  echo '<li><a href="', $scripturl, '?action= ............ [119] , '</a></li>';   // How about the [search] button?  if ($context['allow_search'])  echo '<li> ............ '] , '</a></li>';   // 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 ' ............ >';   echo '</ul>';   }  // Generate a strip of buttons. function template_button_strip($button_strip, $ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   // Create the  ............ ...  foreach ($button_strip as $key => $value)  {  if (isset($ ............ $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 ==  ......
......  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 />  ............ " 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  ............ =com_frontpage&Itemid=1">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  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'] . '/'  ............ , '?action=arcade">', ($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 /><br />?> ......
#339
SMF 1.1.x Support / Syntax Error
joulukuu 27, 2006, 02:27:09 IP tekijältä whita
...... SMF Version: SMF 1.1 I downloaded a custom World of  ............  up.    pty($context[$value['test']])) { unset($button_strip[$key]); continue; } elseif (!isset($buttons[ ............ $key]) || $force_reset) $buttons[$key] = ' '; } ?>ecessary_to_translate'] = ' ............ ']['theme_color']; }   /* 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[' ............ , $language, $modSettings;   $csect_cookie = 'SMF_user_' . $context['user']['id'] . '_CSect';     ............  $mycolor = $options['theme_color']; else{  // Defaults.  $options['theme_color'] = isset($settings[' ............ ']) ? $settings['theme_default_color'] : 'default_orc';  $mycolor=$options[' ............ '] == 'no'){  // Set user back to default theme if "personal theme option" is disabled  $ ............ ['theme_color'] = isset($settings['theme_default_color']) ? $settings['theme_default_color'] : ' ............ ="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" : "/ ............ ['header_logo_url']))  echo ' <div style="font-family: Georgia, sans-serif; font-size: 30px;  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>    ............  <option value="60">', $txt['smf53'], '</option>  < ............  value="1440">', $txt['smf47'], '</option>  < ............  value="10080">', $txt['smf48'], '</option>  < ............  value="43200">', $txt['smf49'], '</option>  < ............  value="-1" selected="selected">', $txt['smf50'], '</option>  </select>  ............ [34], '" /><br />  ', $txt['smf52'], '  <input type=" ............  '  <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>  <td valign="middle"  ............ '])) {  if ($forum_version != 'SMF 1.1')  echo '  <div style="margin: 2ex;  ............ ;">  <div style="float: left; width: 2ex; font-size: 2em; color: red;">!!</div>  <b  ............  This theme doesn\'t correspond to the version of SMF that you are using. This theme is made for SMF 1. ............ ;">  <div style="float: left; width: 2ex; font-size: 2em; color: red;">!!</div>  <b  ............ ['show_load_time'])  echo '  ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '';   echo '  <!-- area_tc --></td>   ............ "><!-- // --><![CDATA[  function smfFooterHighlight(element, value)  {   ............  element.src = smf_images_url + "/" + (value ? "h_" : "") + hxxp: ............ " 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 '  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()   ............  // Folder style or inline? Inline has a smaller font.  echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';   // Each tree item  ............ ="0">  <tr>';   // Show the [home] button.  if (!empty($settings['wow_forum_button']))   ............ ">  <a href="', $settings['wow_forum_button'], '">' , $txt[103] , '</a>  </td>  <td  ............ >&nbsp;</td>';   if (!empty($settings['wow_forum_button']))  {  // Show the [home] button.  echo ($ ............  <a href="', $scripturl, '">' , $txt['wow_forum_button_forum'] , '</a>  </td>' , $ ............ ;</td>';   }  else  {  // Show the [forum] 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 ($ ............  $last . '">&nbsp;</td>';   // the [member] list button  if (!empty($settings['member_list_button']))   ............  {  if($settings['member_list_button'])  {  if ($context['allow_memberlist'])   ............    }   // 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 ==  ......
#340
Graphics and Templates / Need Help ! TinyPortal for this theme
marraskuu 19, 2006, 06:34:02 IP tekijältä sleepingstar
......  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'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /> $settings['use_image_buttons'] ............ '] = true;<br /><br /> //load font style<br /> if (isset($_SESSION['font-style']))  ............ {<br /> $options['fontstyle'] = $_SESSION['font-style'];<br /> }  ............  (isset($_COOKIE['font-style'])) {<br /> $options['fontstyle'] = $ ............ ['font-style'];<br /> }<br /><br /> //load width  ............ , '/', false);<br /> }<br /> if (isset($_GET['fontstyle'])) {<br /> $options['fontstyle'] = $ ............ ['fontstyle'];<br /> $_SESSION['font-style'] = $ ............ ['fontstyle'];<br /> setcookie ('font-style', $ ............ ['fontstyle'], time()+31536000, '/', false);<br /> }< ............  for joomla integration<br /> global $wrapped, $jsmfConfig, $header_style , $toolbar_style , $ ............ ['joomla_wrapped']=false;<br /> elseif(isset($jsmfConfig) && $jsmfConfig->wrapped)<br /> $ ............ ['joomla_wrapped']=true;<br /> elseif(isset($jsmfConfig) && !$jsmfConfig->wrapped)<br /> $ ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2p"></script><br />< ............ " type="text/javascript"><br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> </script>< ............  it wrongly.<br /><br /> if(!empty($options['fontstyle']))<br /> $fontstyle=$options[' ............ '];<br /> else<br /> $fontstyle='f-default';<br /><br /> if(!empty($ ............ ="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, ............  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. ............ <br /><body id="page_bg" class="'.$widthstyle.' '.$fontstyle.' header-'.$header_style.' toolbar-'.$ ............  id="selectors"><br /> <span class="font-selector">&nbsp;</span><br /> <span  ............ <br /> </div><br /> <div id="buttons"><br /> <a href="',$scripturl,'? ............ " title="fluid width" class="fluid"><span class="button">&nbsp;</span></a><br /> <a href="', ............ " title="wide width" class="wide"><span class="button">&nbsp;</span></a><br /> <a href="', ............ " title="thin width" class="thin"><span class="button">&nbsp;</span></a><br /> <a href="', ............ $scripturl,'?fontstyle=f-larger" title="Increase size" class="lrg">< ............  class="button">&nbsp;</span></a><br /> <a href="', ............ $scripturl,'?fontstyle=f-default" title="Default size" class="med">< ............  class="button">&nbsp;</span></a><br /> <a href="', ............ $scripturl,'?fontstyle=f-smaller" title="Decrease size" class="sml"> ............ <span class="button">&nbsp;</span></a><br /> </div><br />  ............ ="titlebg" style="overflow: hidden;"><div id="smf_menu">',template_menu2(),'</div></div>';<br /><br  ............ /> <ul>';<br /><br /><br /> // Show the [home] button.<br /> echo '<li><a href="', $scripturl, '">'  ............ ] , '</a></li>';<br /><br /> // Show the [help] button.<br /> echo '<li><a href="', $scripturl, '? ............ /a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............ '] , '</a></li>';<br /> // Show the [home] button.<br /> echo '<li><a href="', $scripturl, '? ............ ' , '</a></li>';<br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............  // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> <ul>';<br /><br /><br /> // Show the [home] button.<br /> echo '<li><a href="', $scripturl, '">'  ............ , ' | </a></li>';<br /><br /> // Show the [help] button.<br /> echo '<li><a href="', $scripturl, '? ............ /a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............ ' | </a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............  // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br /><br />}<br />// Generate a strip of buttons.<br />function template_button_strip($ ............ $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ ['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="', $ ............ ">&nbsp;</td>';<br />}<br />// Generate a strip of buttons.<br />function template_button_strip_mill($ ............ $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ ['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> } ............ <br /> elseif (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$ ............ /'.$custom_td.'>' : '') .'</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br / ............ > if (empty($button_strip))<br /> return '&nbsp;';<br /><br />  ............  implode(' &nbsp;|&nbsp; ', $button_strip);<br />}<br />function leftmenu()<br />{<br  ............ /> global $settings, $buttons, $context, $txt, $scripturl;<br /> // personal  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............  <option value="60">', $txt['smf53'], '</option><br />  ............  <option value="1440">', $txt['smf47'], '</option><br />  ............  <option value="10080">', $txt['smf48'], '</option><br />  ............  <option value="302400">', $txt['smf49'], '</option><br />  ............  <option value="-1" selected="selected">', $txt['smf50'], '</option><br /> </ ............ " value="" /><br /> </form>', $txt['smf52'], '<br /><br />';<br /> }<br /> if (!empty( ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a><br /> <input type= ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ......
Advertisement: