Uutiset:

Join the Facebook Fan Page.

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
...... SMF Version: SMF 1.1 RC2  I just installed "Quick  ............  " from SMFhacks.com It said there were no errors so silly me  ............  Error! There was a problem loading the /Themes/default/index.template.php template or language file.  ............  may want to try to refresh this page or use the default theme. parse error, unexpected T_STRING  My whole  ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2p"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" media="print" />';< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  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. ............ ']))<br /> echo '<br /> <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ <br /> <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /><br /> < ............ ="titlebg2" height="32"><br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';<br /><br /> // this is the upshrink button for the user info section<br /> echo '<br /> < ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type="hidden"  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  'pick' ? 'profile' : 'admin';<br /><br /> //Begin SMFShop 2.0 (Build 8) MOD code<br /> if ($context[' ............ ')<br /> $current_action = 'shop';<br /> //END SMFShop MOD code<br /><br /> // Are we using right-to- ............  , '">&nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ ']!='boardindex')<br /> // Show the [forum] button.<br /> echo ($current_action=='forum' || $context[ ............ ">&nbsp;</td>' : '';<br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ </td>' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............ >&nbsp;</td>' : '';<br /><br /> // Show the [chat] button.<br /> if ($context['user']['is_logged'])<br />  ............  $last . '">&nbsp;</td>' : '';<br /><br /> //Begin SMFShop 2.0 (Build 8) MOD code<br /> //loadLanguage(" ............ ' . $last . '">&nbsp;</td>' : '';<br /> //END SMFShop MOD code<br /> // The [arcade]!<br />  ............ /td>' : '';<br /><br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ &nbsp;</td>' : '';<br /><br /> // the [staff list] button<br /> if ($context['allow_view_stafflist'])<br />  ............  <a href="', $scripturl, '?action=staff">' , $txt['smfstaff_stafflist'] , '</a><br /> </td>' , $ ............ ' : '';<br /><br /> <br />// the [Links] 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 == ......
#402
Graphics and Templates / Make some code
marraskuu 04, 2006, 05:53:48 AP tekijältä kansy
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ '];<br />}<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and lock  ............ , $modSettings;<br /><br /> $csect_cookie = 'SMF_user_' . $context['user']['id'] . '_CSect';<br />  ............  = $options['theme_color'];<br />else{<br /> // Defaults.<br /> $options['theme_color'] = isset($ ............ ['theme_default_color']) ? $settings['theme_default_color'] : ' ............ '] == 'no'){<br /> // Set user back to default theme if "personal theme option" is disabled<br /> ............  $options['theme_color'] = isset($settings['theme_default_color']) ? $settings['theme_default_color'] : ' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc3"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc3" media="print" /><br  ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ']))<br /> echo '<br /><div style="font-family: Georgia, sans-serif; font-size: 30px;  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440" ............ >', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ ="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> <input type="hidden" name=" ............  '<br /> <span style="text-transform: uppercase; font-weight: bold;">', $txt[102], '</span> : ', $ ............ =search;advanced" class="searchb" title="', $txt['smf298'], '"><img src="', $settings['images_url'], '/ ............ .gif" border="0" alt="', $txt['smf298'], '" /></a></td><br /> <td valign="middle"  ............ ']))<br />{<br /> if ($forum_version != 'SMF 1.1 RC3')<br /> echo '<br /> <div style="margin:  ............ ;"><br /> <div style="float: left; width: 2ex; font-size: 2em; color: red;">!!</div><br /> <b style= ............  This theme doesn\'t correspond to the version of SMF that you are using. This theme is made for SMF 1. ............ ;"><br /> <div style="float: left; width: 2ex; font-size: 2em; color: red;">!!</div><br /> <b style= ............ ['show_load_time'])<br /> echo '<br /> ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '';<br /><br /> echo '<br /> <!-- area_tc - ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ " style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ " style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ " style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ " style="margin: 0px 5px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ "><br /> <tr>';<br /><br /> // Show the [home] button.<br /> if (!empty($settings['wow_forum_button']))< ............ "><br /> <a href="', $settings['wow_forum_button'], '">' , $txt[103] , '</a><br /> </td><br /> < ............ /td>';<br /><br /> if (!empty($settings['wow_forum_button']))<br /> {<br /> // Show the [home] button.<br /> ............  <a href="', $scripturl, '">' , $txt['wow_forum_button_forum'] , '</a><br /> </td>' , $current_action  ............  /> }<br /> else<br /> {<br /> // Show the [forum] button.<br /> echo ($current_action=='home' || $context[' ............  /><br /> }<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............  '">&nbsp;</td>';<br /><br /> // the [member] list button<br /> if (!empty($settings['member_list_button'])) ............ <br /> {<br /> if($settings['member_list_button'])<br /> {<br /> if ($context['allow_memberlist']) ............  /><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 == ............ ;</td>';<br />}<br /><br /><br />?>   I want 5 buttons more One that says Roster and it takes to you  ......
#403
SMF 1.1.x Support / google ad sense
lokakuu 21, 2006, 06:50:21 IP tekijältä mimbo
......  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script>  <script  ............ "JavaScript" type="text/javascript"><!--  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";  / ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)  Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.  Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............ " class="tborder" style="border-width: 1px 0 0 0; font-size: smaller;">';   // Show the menu here,  ............ , $txt;   echo ' ';if (function_exists('smfshout')) smfshout();echo '  </td></tr>  </ ............ ">  <option value="60">', $txt['smf53'], '</option>  <option value=" ............ ">', $txt['smf47'], '</option>  <option value=" ............ ">', $txt['smf48'], '</option>  <option value=" ............ ">', $txt['smf49'], '</option>  <option value="-1"  ............ ="selected">', $txt['smf50'], '</option>  </select>   ............ ="', $txt[34], '" /><br />  ', $txt['smf52'], '  </form>  </td></tr>  </ ............ -realm.net/index.php?action=downloads&amp;cat=smf">SMF Theme</a> by Gaia. <a href="https://www. ............ .com">SMF Mod</a> by Finexe.    </td>   ............  align="center" class="smalltext">  ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '  </div>';   // And then we're done!   ............  // Folder style or inline? Inline has a smaller font.  echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';   // Each tree item  ............ , $txt;   // Show the [home] and [help] buttons.  echo '  <div class="normaltext">[ ............ ">Help</a> ::';   // How about the [search] button?  if ($context['allow_search'])  echo '   ............  the user is a guest, show [login] and [register] buttons.  if ($context['user']['is_guest'])  {   ......
#404
Graphics and Templates / Centering the layout
elokuu 19, 2006, 05:05:44 IP tekijältä Tumain
...... . I'm a beginner to using SMF. I've designed a forum layout to match my website, ............  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  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script><br /> < ............ " type="text/javascript"><!--<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" /><br /> ', $ ............ ="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';<br /><br / ............  <option value="60">', $txt['smf53'], '</option><br /> < ............  value="1440">', $txt['smf47'], '</option><br /> < ............  value="10080">', $txt['smf48'], '</option><br /> < ............  value="302400">', $txt['smf49'], '</option><br /> < ............  value="-1" selected="selected">', $txt['smf50'], '</option><br /> </ ............  '" /><br /><br /> ', $txt['smf52'], '<br /> </form>';<br />  ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a><br /> <input type=" ............ ['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', ............ ="text/javascript"><!--<br /> function smfFooterHighlight(element, value)<br /> {<br  ............ /> element.src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br />  ............  '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix( ............  // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /><br /> // ............  $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> <a href="', $ ............ , '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............ , '?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'] . '/'  ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use Tahoma in black. */ body, td {   ............  color: #FFFFFF;  font-size: small;  font-family: Verdana, Arial,  ............  normal so they align well. */ input, textarea, button {  font-size: 9pt;  color: #000000;  font............ /* 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: 9pt;  font-weight: normal;  color: # ............ ;  font-family: Verdana, Arial, Helvetica, sans-serif; }   ............  1px #D42B2D;  margin: 1px;  padding: 1px;  font-size: x-small; }  /* A code block - maybe even  ............ ;  border: 1px #D42B2D;  padding: 1px;  font-family: "courier new", helvetica, "times new  ............ ", serif;  font-size: x-small;  width: 100%;  margin: 1px  ............  {  color: #FFFFFF;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: ............ . */ .highlight {  background-color: #990000;  font-weight: bold;  color: white; }  /* Alternating  ............  a:link, .titlebg a:visited {  color: white;  font-style: normal;  background-color: #B70000; } . ............ : url(images/catbg2.jpg); }  .catbg, .catbg2 {  font-weight: bold;  background-color: #B70000;   ............  background-color: #B70000;  padding: 1px; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: Verdana, Arial,  ............ , sans-serif; } .normaltext {  font-size: small; } .largetext {  font-size: large; } ............  registration yet, but I'm just using it to test SMF.  These are the header.php and footer.php codes.   ............ </title> <style type="text/css"> <!-- .style1 { font-family: Verdana, Arial, Helvetica, sans-serif;   ......
#405
Arquivo / meter link de mensagens nao lidas etc..
kesäkuu 19, 2006, 12:51:07 IP tekijältä xxxx
......  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script>  <script  ............ "JavaScript" type="text/javascript"><!--  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";  / ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)  Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.  Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............ ="left"><img src="', $settings['images_url'], '/smflogo.gif" alt="" /></td>  <td valign=" ............ " class="tborder" style="border-width: 1px 0 0 0; font-size: smaller;">';   // Show the menu here,  ............ ">  <option value="60">', $txt['smf53'], '</option>  <option value=" ............ ">', $txt['smf47'], '</option>  <option value=" ............ ">', $txt['smf48'], '</option>  <option value=" ............ ">', $txt['smf49'], '</option>  <option value="-1"  ............ ="selected">', $txt['smf50'], '</option>  </select>   ............ ="', $txt[34], '" /><br />  ', $txt['smf52'], '  </form>  </td></tr>  </ ............  align="center" class="smalltext">  ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '  </div>';   // And then we're done!   ............  // Folder style or inline? Inline has a smaller font.  echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';   // Each tree item  ............ , $txt;   // Show the [home] and [help] buttons.  echo '  <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['menu_separator'];   // How about the [search] button?  if ($context['allow_search'])  echo '   ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =chat" target="_blank">', ($settings['use_image_buttons'] ? ' <img src="' . $settings['images_url'] . '/' ............  the user is a guest, show [login] and [register] buttons.  if ($context['user']['is_guest'])  {   ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#406
Arşiv / Benim Bazı yerlerim saydam olsun
kesäkuu 17, 2006, 10:27:06 AP tekijältä Malik
......  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use Tahoma in black. */ body, td {   ............ : #000000;  font-size: small;  font-family: Tahoma, arial,  ............  normal so they align well. */ input, textarea, button {  font-size: 9pt;  color: #000000;  font-family:  ............ /* All input elements that are checkboxes or radio buttons. */ input.check { }  /* Selects are a bit  ............  it makes them look even better 8). */ select {  font-size: 8pt;  font-weight: normal;  color: #000000;  ............  font-family: Tahoma, arial, helvetica, serif; }  /*  ............ : 1px solid #000000;  margin: 1px;  padding: 1px;  font-size: x-small; }  /* A code block - maybe even  ............ ;  border: 1px solid #000000;  padding: 1px;  font-family: "courier new", helvetica, "times new  ............ ", serif;  font-size: x-small;  width: 99%;  margin: 1px auto 1px  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............  ;). */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............  a:link, .titlebg a:visited {  color: white;  font-style: normal;  background-color: #6B8EAE; } . ............ : url(images/catbg2.jpg); }  .catbg, .catbg2 {  font-weight: bold;  background-color: silver;  color: # ............ ;  background-color: #FFFFFF;  padding: 2px; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: Tahoma, arial,  ............ , serif; } .normaltext {  font-size: small; } .largetext {  font-size: large; }   ............ .css kodu - Kullandığım Tema Defaolt - Sürüm 1.0.7 Smf - Link : sehirhamami. ......
#407
Arşiv / 2-3 Modifikasyonda Sorun !
toukokuu 28, 2006, 04:33:27 IP tekijältä Oğulcan
......  verim ;  Site Adresi : www.turkiyeoyun.com Tema : default Kurulu modlar ; Member Color Link, CAPTCHA, Board  ............  Characters/Words Per Post, Enhanced Quick Reply, SMFShop, Hide Tag, Ad Managment, Custom Profile Field  ............ , Password Protect Boards, SMF Arcade.  Kurmaya Çalıştığım Ama Hata Çıkan Modlar  ............  settings.   echo '   <div id="smfFadeScroller" style="width: 90%; padding: 2px;"><b> ............  // The fading delay (in ms.)   var smfFadeDelay = ', empty($settings['newsfader_time']) ? ............ ? To which background color?   var smfFadeFrom = {"r": 0, "g": 0, "b": 0}, smfFadeTo = {" ............  with... anything special?   var smfFadeBefore = "<b>", smfFadeAfter = "</b>";      ............  if (typeof(document.getElementById(\'smfFadeScroller\').currentStyle) != "undefined")    ............  foreColor = document.getElementById(\'smfFadeScroller\').currentStyle.color.match(/#([\da-f] ............ -f][\da-f])([\da-f][\da-f])/);   smfFadeFrom = {"r": parseInt(foreColor[1]), "g":  ............  backEl = document.getElementById(\'smfFadeScroller\');   while (backEl. ............ -f][\da-f])([\da-f][\da-f])/);   smfFadeTo = {"r": eval("0x" + backColor[1]), "g":  ............ (window.opera) == "undefined" && typeof(document.defaultView) != "undefined")   {    ............  foreColor = document.defaultView.getComputedStyle(document.getElementById(\' ............ (/rgb\((\d+), (\d+), (\d+)\)/);   smfFadeFrom = {"r": parseInt(foreColor[1]), "g":  ............  backEl = document.getElementById(\'smfFadeScroller\');   while ( ............ .defaultView.getComputedStyle(backEl, null). ............ ;     backColor = document.defaultView.getComputedStyle(backEl, null). ............ (/rgb\((\d+), (\d+), (\d+)\)/);   smfFadeTo = {"r": parseInt(backColor[1]), "g":  ............  of the news for display.   var smfFadeContent = new Array(   "',  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/fader.js"></script>   </td> ............ --by GenÇTürK   $fpt_icon = "Themes/default/icon.txt"; // path to icon log file      ............ ']['link'] , '<br />   ', $txt['smf88'], ' ', $board['last_post']['link'], '<br />    ............ '] ? 'right' : 'left', '">';     // Mark read button.   $mark_read_button = array('markread' =>  ............ ']));     // Show the mark all as read button?   if ($settings['show_mark_read'])    ............  <tr>   ', template_button_strip($mark_read_button, 'top'), '    ............ $member['id'], '">', (!empty($member['color']) ? '<font color="'.$member['color'].'">' : ''), $member[' ............ ['age'] . ')' : '', (!empty($member['color']) ? '</font>' : ''), '</a>', $member['is_last'] ? '' : ', ';   ............ ']['total_posts'], ' ', $txt[95], ' ', $txt['smf88'], ' ', $context['common_stats']['total_topics'] ............  href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '   </span>   ............  href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '   </div>    ............  href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '   </div>   </ ............ ="catbg"><span class="smalltext"><strong style="font-size: 12px">Dost Siteler<br /></strong></td>   ............ .com"> <img src="http://www.webbil.net/toplist/button.php?id=616" border="0" /> </a><script language=" ............ .info/"> <img src="http://www.mktoplist.info/button.php?u=ogulcan" alt="MKPortal Top List V 2.0"  ............ ="_blank"> <img src="http://www.sanalalan.com/button.php?u=ogulcan" alt="Sanal Alan PR6 Toplist"  ............ .com/"> <img src="http://www.favorisiteler.com/button.php?u=ogulcan" alt="Favori Siteler iyi siteler  ............ /"> <img src="http://www.sitebirligi.com/toplist/button.php?u=ogulcan" alt="SiteBirligi Topsites List"  ......
#408
Graphics and Templates / How to remove my fixed width at main screen?
helmikuu 24, 2006, 01:10:13 IP tekijältä Ingman
...... SMF Version: SMF 1.1 RC2 I'm not sure why, but it  ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?jrc2p"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" media="print" />';< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))<br /> echo '<br /> <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ <br /> <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /><br /> < ............ ="titlebg2" height="32"><br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';<br /><br /> // this is the upshrink button for the user info section<br /> echo '<br /> < ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type="hidden"  ............ .sinoeuro.net/forum/index.php?language=english"><font color="#0099FF"><strong>English Forum</strong>< ............ .net/forum/index.php?language=chinese-simplified"><font color ="#FF0000"><strong>中文论坛</strong><font></a>< ............  <p><img src="http://www.sinoeuro.net/forum/Themes/default/images/side2.gif" /></p><br /> </center><br /> < ............  /> <img src="http://www.sinoeuro.net/forum/Themes/default/images/forumbanner.gif" alt="forumbanner" /><br>< ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '">&nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ >&nbsp;</td>' : '';<br /><br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ </td>' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............ ;</td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  color: #000000;  font-size: normal;  font-family: verdana, sans-serif; } ............  normal so they align well. */ input, textarea, button {  color: #000000;  font-family: verdana, sans- ............ ; } input, button {  font-size: 90%; }  textarea {  font-size: 100%; ............   color: #000000;  font-family: verdana, sans-serif; }  /* All input  ............  that are checkboxes or radio buttons. */ input.check { }  /* Selects are a bit  ............  it makes them look even better 8). */ select {  font-size: 90%;  font-weight: normal;  color: #000000;  ............  font-family: verdana, sans-serif; }  /* Standard  ............ : 1px solid #000000;  margin: 1px;  padding: 1px;  font-size: normal;  line-height: 1.4em; }  /* A code  ............  {  color: #000000;  background-color: #dddddd;  font-family: "courier new", "times new roman",  ............ ;  font-size: normal;  line-height: 1.3em;  /* Put a nice  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size:  ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............ , tr.titlebg2 th, tr.titlebg2 td {  color: black;  font-style: small;  background-color: #E9F0F6;   ............ } .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: black;  font-style: normal;  ............  a:link, .titlebg2 a:visited {  color: black;  font-style: small;  text-decoration: underline; }  . ............  background-repeat: repeat-x; } .catbg, .catbg2 {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  color: white;  text-decoration: none;  ............  solid #696969;  background-color: #FFFFFF; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: verdana, sans-serif;  ............ } .middletext {  font-size: 90%; } .normaltext {  font-size: normal; } . ............  {  font-size: large; }   /* Posts and personal messages  ............  {  color: white;  text-decoration: none;  font-size: 12px;  vertical-align: top;  padding: 2px  ............  6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding: 6px  ............  2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............ -align: left; }  /* fmBen.com CSS ¶¨ÒåÎļþ£¬Ö»ÓÃÓÚ smf.cn ÂÛ̳°æ±¾ÀïÃæ£¬±¾Îļþ¿¼Âǵ½IE¼°Netscape¼æÈÝÐÔ */ ............ ¬*/ /*¶¨ÒåËùÓÐÎÄ×Ö´óС*/ body,p,table,td,div,span {font-size:12px;} .smalltext {font-size:12px;} . ............  {font-size: 12px;} Koodi [Valitse] Laajenna // The main  ............ .sinoeuro.net/forum/index.php?language=english"><font color="#0099FF"><strong>English Forum</strong>< ............ .net/forum/index.php?language=chinese-simplified"><font color ="#FF0000"><strong>中文论坛</strong><font></a>< ............  <p><img src="http://www.sinoeuro.net/forum/Themes/default/images/side2.gif" /></p>  </center>    <br>    <!- ............ ">  <img src="http://www.sinoeuro.net/forum/Themes/default/images/forumbanner.gif" alt="forumbanner" /><br>   ......
#409
SMF Coding Discussion / Quick help with header
helmikuu 04, 2006, 01:04:02 IP tekijältä GPMotorsports
......  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  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br />   <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script><br />   < ............ " type="text/javascript"><!--<br />      var smf_theme_url = "', $settings['theme_url'], '";<br />  ............      var smf_images_url = "', $settings['images_url'], '";<br / ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br />      Thus, ............  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 />  ............          document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............            <img src="', $settings['images_url'], '/smflogo.jpg"  alt="align="center" /><br />             ............ ="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';<br /><br / ............                        <option value="60">', $txt['smf53'], '</option><br />                           < ............  value="1440">', $txt['smf47'], '</option><br />                           < ............  value="10080">', $txt['smf48'], '</option><br />                           < ............  value="302400">', $txt['smf49'], '</option><br />                           < ............  value="-1" selected="selected">', $txt['smf50'], '</option><br />                        </ ............  '" /><br /><br />                        ', $txt['smf52'], '<br />                     </form>';<br />   ............ ['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', ............  '?action=search;advanced"><span id="adv">', $txt['smf298'], '</span></a><br />                  <input  ............ ="text/javascript"><!--<br />         function smfFooterHighlight(element, value)<br />         {<br  ............ />            element.src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  '<br />      <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /><br />   // This is  ............  '<br />         window.addEventListener("load", smf_codeFix, false);<br /><br />         function  ............  = window.onload;<br />         window.onload = smf_codeFix;<br /><br />         function smf_codeFix( ............   // 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="', $ ............ , '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br />   // How about the [search] button?<br />   if ($context['allow_search'])<br />       ............ , '?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'] . '/'  ......
......  was:  "We investigated this. It seems that the SMF forum requires that PHP is built with pspell  ............  in this forum found a reference for "pspell for SMF". i found it at:  hxxp:www.master-technology.com/ ............ . The most difficult part is modifying: Themes/default/Post.template.php. It looked like I could just  ............  and paste the code. Unfortunately, I am using SMF 1.1 RC 2 and the instructions were written for an  ............ , don't know how to increase the size using the font size tool)  Koodi [Valitse] Laajenna 1. Open up  ............  Themes/default/Post.template.php  2. [ FIND around line 503 ]---- ............ -----   <span class="smalltext"><br />', $txt['smf16'], '</span><br />  <input type="submit"  ............  ADD THIS ]---------------   <input type="button" class="" value="Spell Check" onclick="openspell() ............ >  <span class="smalltext"><br />', $txt['smf16'], '</span><br />  <input type="submit"  ............ ;" accesskey="p" tabindex="4" />  <input type="button" class="button" name="spellcheck" value=" ............ ---------------  I found the corresponding code in SMF 1.1 RC 2 - Themes/default/Post.template.php.  ............ ] Laajenna <span class="smalltext"><br />', $txt['smf16'], '</span><br /> <input type="submit" name=" ............ 't know where to stop.   I realize "pspell for SMF" would probably not be welcomed either by my host  ............  don't.   So, does anyone know if the new code in SMF 1.1 RC 2 can be modified in work with "pspell for  ......
#411
SMF 1.1.x Support / Clicksor Ad's with smf
joulukuu 18, 2005, 10:18:47 IP tekijältä someguy22
......  i am trying to integrate my SMF with clicksor but dont know how. Can anyone help  ............     <script type='text/javascript'> <!--    //default banner house ad url clicksor_default_url = '';   ............ '#000FFF';  clicksor_enable_text_link = true;    //default pop-under house ad url durl = '';  ............  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[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc1"></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  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc1" 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" : "/ ............ "><br /><td width="50%" align="left" colspan="2"><font size="1">User Info</font></td><br /><td width="50% ............ " align="left"><font size="1">News</font></td><br /></tr><br /><tr><br  ............  cellspacing="0"><tr><br /><td align="left"><br /><font size="1"><br /><br />Logged in as <b>',$context[' ............ ;sesc=', $context['session_id'], '">[Logout]</a></font><br/><br />';<br /><br /> // Only tell them  ............ "><br /><a href="', $scripturl, '?action=unread"><font size="1">Unread Posts</font></a><br/><br /><a  ............ ="', $scripturl, '?action=unreadreplies"><font size="1">Unread Replies</font></a></td></tr></ ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> ' , $ ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#412
SMF 1.1.x Support / A challenge, who can find the mysterious ONE?
syyskuu 26, 2005, 01:32:22 IP tekijältä Proenski
......  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[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc1"></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  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc1" 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" : "/ ............  />// <img src="', $settings['images_url'], '/smflogo.gif" style="width: 250px; float: ', !$context[ ............ ']))<br />// echo '<br />// <span style="font-family: Georgia, sans-serif; font-size: xx-large;" ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a><br />// <input type="hidden"  ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............ " type="text/javascript"><!--<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline?  Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#413
Parham's PHP Tutorials / header changes center point in IE
heinäkuu 14, 2005, 09:22:01 IP tekijältä ksteele
......  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script>  <script  ............ "JavaScript" type="text/javascript"><!--  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";  / ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)  Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.  Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ .com/ [nonactive]" target="_blank" span style="font-family: Georgia, sans-serif; font-size: large;">', ............ ="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';   // If  ............  <option value="60">', $txt['smf53'], '</option>  < ............  value="1440">', $txt['smf47'], '</option>  < ............  value="10080">', $txt['smf48'], '</option>  < ............  value="302400">', $txt['smf49'], '</option>  < ............  value="-1" selected="selected">', $txt['smf50'], '</option>  </select>  ............ [34], '" /><br />  ', $txt['smf52'], '  </form>';  }    ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a>  <input type="hidden" ............ ['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', ............ " type="text/javascript"><!--  function smfFooterHighlight(element, value)  {   ............  element.src = smf_images_url + "/" + (value ? "h_" : "") + hxxp: ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  echo '  <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';   echo '  </div>';   // ............  echo '  window.addEventListener("load", smf_codeFix, false);   function smf_codeFix()  ............  = window.onload;  window.onload = smf_codeFix;   function smf_codeFix()   ............  // Folder style or inline? Inline has a smaller font.  echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';   // Each tree item  ............ , $txt;   // Show the [home] and [help] buttons.  echo '  <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['menu_separator'];   // How about the [search] button?  if ($context['allow_search'])  echo '   ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.  if ($context['user']['is_guest'])  {   ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#414
Graphics and Templates / Font size problem
syyskuu 30, 2004, 11:12:30 IP tekijältä ThatFratGuy
......  so I upgraded to SMF RC1 Beta and my fonts went wacky. The main font  ............ ;  text-decoration: none; } a.nav:hover {  font-weight: bold;  color: #DAA520;  text- ............ , .copyright a:visited {  color : gray;   }  /* By default (td, body..) use Tahoma in white. */ body, td {   ............  color: #FFFFFF;  font-size: small;  font-family: Tahoma, arial,  ............  normal so they align well. */ input, textarea, button {  font-size: 9pt;  color: #000000;  font............  it makes them look even better 8). */ select {  font-size: 8pt;  font-weight: normal;  color: # ............ ;  font-family: Tahoma, arial, helvetica, serif; }  /*  ............  #000000;  margin: 1px;  padding: 1px;  font-size: x-small; }  /* A code block - maybe even  ............   border: 1px solid #000000;  padding: 1px;  font-family: "courier new", helvetica, "times new  ............ ", serif;  font-size: x-small;  width: 99%;  margin: 1px auto  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............  a:link, .titlebg a:visited {  color: white;  font-style: normal;  background-color: #DAA520; } . ............  is used for "new" posts. */ .catbg, .catbg2 {  font-weight: bold;  background-color: #DAA520;   ............  background-color: #DAA520;  padding: 2px; }  /* Default font sizes. */ .smalltext {  font-size:8pt;   ............ , arial, helvetica, serif; } .normaltext {  font-size:10pt; } .largetext { font-size:12pt; }  /*  ......
#415
SMF 1.1.x Support / Theme generator button error?
joulukuu 25, 2010, 03:00:15 AP tekijältä bulletflame
......  and it worked but i had a lil problem the home button doesnt display? check it out on my site ----  ............  code:   Koodi [Valitse] Laajenna /* Generated by SMF Theme Generator http://www.smfhacks.com */ /*  ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  color: #FFFFFF;  font-size: small;  font-family: verdana, sans-serif; }  ............  normal so they align well. */ input, textarea, button {  background-color: ;  color: #000000;  font............ : verdana, sans-serif; } input, button {  font-size: 90%; }  textarea {  font-size: 100%; ............   color: #000000;  font-family: verdana, sans-serif; }  /* All input  ............  that are checkboxes or radio buttons. */ input.check { }  /* Selects are a bit  ............  it makes them look even better 8). */ select {  font-size: 90%;  font-weight: normal;  color: #000000;  ............  font-family: verdana, sans-serif; }  /* Standard  ............ : 1px solid #000000;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A code  ............  {  color: #000000;  background-color: #dddddd;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............ , tr.titlebg2 th, tr.titlebg2 td {  color: black;  font-style: normal;  background: url(images/titlebg. ............ } .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: black;  font-style: normal;  ............  a:link, .titlebg2 a:visited {  color: black;  font-style: normal;  text-decoration: underline; }  . ............ -bottom: solid 1px #375576; } .catbg, .catbg2 {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  color: white;  text-decoration: none;  ............  solid #696969;  background-color: #FF0000; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: verdana, sans-serif;  ............ } .middletext {  font-size: 90%; } .normaltext {  font-size: small; } . ............  {  font-size: large; }   /* Posts and personal messages  ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding: 2px  ............  6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............ : 8px; } .maintab_active_first {  background: url(default/images/maintab_active_first.gif) left bottom no- ............ : 6px; } .maintab_active_back {  background: url(default/images/maintab_active_back.gif) left bottom  ............ -x; } .maintab_active_last {  background: url(default/images/maintab_active_last.gif) left bottom no- ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding: 6px  ............  2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............ : #32CD32;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px;   ......
#416
Özelleştirme / silent wave temasıyla ilgili problem (logo)
marraskuu 19, 2010, 07:04:18 AP tekijältä esof
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ['show_load_time'])<br /> echo '<br />'. $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];<br /><br /> echo '<br /> </div><br /> </ ............ ; BORDER-TOP: black 2px solid; PADDING-LEFT: 4px; FONT-SIZE: 11px; Z-INDEX: 100; LEFT: 0px; VISIBILITY:  ............  PADDING-TOP: 4px; BORDER-BOTTOM: black 2px solid; FONT-FAMILY: Tahoma Verdana Arial Helvetica sans-serif; ............ ;<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, '">' ,  ............ ] , '</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 => $ ............ $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 == ......
#417
Graphics and Templates / Help to center the menu
lokakuu 29, 2010, 02:24:22 IP tekijältä muffin89
......  i can get, really need to center it :/  I got SMF RC3   The index.css [code]/* Styles for the  ............ . */ table {  empty-cells: show; }  /* Set a fontsize that will look the same in all browsers. */  ............  {  background:#18334d;  color: #2a3847;  font: 9pt arial, helvetica, sans-serif;  margin:0;   ............ ; }  /* We can style the different types of input buttons to be uniform throughout different browsers and  ............  color themes.  .button_submit - covers input[type=submit], input[type= ............ ], button[type=submit] and button[type=button] in all  ............   .button_reset - covers input[type=reset] and button[type= ............ [type=file] throughout all browsers */  input, button, select, textarea {  font: 95%/115% verdana,  ............ . */ select option {  padding: 1px; }  /* The font size of textareas should be just a little bit  ............ . */ textarea {  font: 100%/130% verdana, Helvetica, sans-serif; }  /*  ............  bit differently, in order to make them look more button'ish. */ .button_submit, .button_reset {   ............   border: 1px solid #aaa;  cursor: pointer;  font-weight: normal; } input:hover, textarea:hover,  ............ , select:hover {  border: 1px solid #454545; } .button_submit:hover, .button_reset:hover {  border:  ............  0 -140px #cde7ff; } input:focus, textarea:focus, button:focus, select:focus {  border: 1px solid # ............ /* All input elements that are checkboxes or radio buttons shouldn't have a border around them. */ input. ............ : #bbb;  background-color: #bababa; }  /* By default set the color on these tags as #000. */ h1, h2,  ............ , h4, h5, h6 {  color: #000;  font-size: 1em;  margin: 0;  padding: 0; }  /*  ............  strong as bold, and em as italics */ strong {  font-weight: bold; }  em {  font-style: italic; } /*  ............ : left; } .clear_right {  clear: right; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext, tr.smalltext th {  font-size: 11px;  font-family: tahoma, sans-serif; }  ............ .middletext {  font-size: 11px;  line-height: 1em;  font-family:  ............ , sans-serif; } .normaltext {  font-size: 16px;  line-height: 1.2em; } .largetext {  ............  font-size: 18px; } .centertext {  margin: 0 auto;   ............ :blockquote.bbc [nonactive]_alternate_quote {  font-size: x-small;  color: #4a4a4a;  line-height:  ............ :code.bbc [nonactive]_code {  display: block;  font-family: "dejavu sans mono", "monaco", "lucida  ............ ", "courier new", monospace;  font-size: x-small;  background: #f5f5f5;  border- ............  */ .codeheader, .quoteheader {  color: #666;  font-size: x-small;  font-weight: bold;  padding:  ............  change the code stuff... */ .codeoperation {  font-weight: normal; }  /* Styling for BBC tags */ . ............ ; } .bbc_img {  border: 0; } .bbc_table {  font: inherit;  color: inherit; } .bbc_table td {   ............ ; } .bbc_list {  margin: 0 auto; } .bbc_tt {  font-family: "dejavu sans mono", "monaco", "lucida  ............ . */ .highlight {  background-color: #ff0;  font-weight: bold;  color: #000 !important; }  /* A  ............  tr.titlebg th, tr.titlebg td, tr.titlebg2 td {  font-size: 1.1em;  background: url(../images/theme/ ............ , tr.catbg th, tr.catbg2 th {  color: #fff;  font-size: 1.1em;  background: url(../images/theme/ ............  a {  color: #fff; } tr.catbg th.smalltext {  font-size: 0.9em; } tr.titlebg th.smalltext, thead tr. ............  tr.titlebg th a:visited {  color: #fff;  font-size: 0.95em; }  /* Alternating backgrounds for  ............   /* the page navigation area */ .pagesection {  font-size: 0.9em;  padding: 0 0 0.2em 0;  overflow: ............ /custom/windowbg.png) repeat-x scroll 0 0;  font-style: italic; } .lockedbg2 {  background: # ............ ;  font-style: italic; }  /* Posts and personal messages  ............ -top: 1px solid #aaa;  line-height: 1.4em;  font-size: 0.85em; } .custom_fields_above_signature {   ............ -top: 1px solid #aaa;  line-height: 1.4em;  font-size: 0.85em; }  /* Sometimes there will be an  ............ , a.moderation_link:visited {  color: red;  font-weight: bold; }  .openid_login {  background:  ............ , .plainbox {  padding: 0.5em 1em;  font-size: 0.9em;  line-height: 1.4em;  border:  ............  style */ .information {  padding: 0.5em 1em;  font-size: 0.9em;  line-height: 1.3em;  border:  ............ -x;  color: #f96f00;  text-align: center;  font-size: 16pt;  padding: 8px;  width: 100%;   ............  color: orange;  text-decoration: underline;  font-size: smaller;  float: right;  margin-right:  ............ ;  margin: 0 0 10px 0;  padding: 5px 0 0 0;  font-weight: bold;  clear: both; } dl.settings dt. ............  hidden;  height: 31px;  line-height: 31px;  font-size: 11px;  font-weight: normal;  text- ............  a {  color: white;  text-transform: none;  font-weight: bold; } h3.titlebg a:hover, h4.titlebg a: ............  thead th {  height: 28px;  color: #fff;  font-size: 95%;  font-weight: normal;  background:  ............ /theme/main_block.png) 0 -41px no-repeat;  font-size: 5px;  line-height: 5px;  margin-bottom:  ............ /theme/main_block.png) 0 -71px no-repeat;  font-size: 5px;  line-height: 5px;  margin-bottom:  ............ -------------------- */ /* Styles for the standard button lists. ------------------------------------------- ............ ------------ */  .buttonlist ul {  z-index: 100;  padding: 5px;   ............ : 0 0.2em 0 0; } .buttonlist ul li {  margin: 0;  padding: 0;  list- ............ : none;  float: left; } .buttonlist ul li a {  display: block;  font-size:  ............  0 -60px;  padding: 0;  margin-left: 12px;  font-weight: bold;  cursor: pointer; } .buttonlist  ............  0 0;  color: #fff;  text-decoration: none; } .buttonlist ul li a span {  background: url(../images/ ............  0 0;  position: relative;  right: -8px; } .buttonlist ul li a:hover span {  background: url(../ ............ .png) no-repeat 100% 0; } /* the active one */ .buttonlist ul li a.active {  background: url(../images/ ............ .png) no-repeat 0 -30px;  color: #fff;  font-weight: bold; } .buttonlist ul li a.active span {  ............ /theme/menu_gfx.png) no-repeat 100% -30px; } .buttonlist ul li a.active {  font-weight: bold; } . ............  list */ ul#navigation {  margin: 0;  font-size: 0.9em;  padding: 1em 0.4em;  text-align: ............ ; } ul#navigation li {  float: none;  font-size: 0.95em;  display: inline; }  # ............ ! */ h1.forumtitle {  line-height: 45px;  font-size: 1.8em;  font-family: Geneva, verdana,  ............  these items to the right */ #siteslogan, img#smflogo {  margin: 0;  padding: 0;  float:  ............  float: right;  margin: 1em; } /* ..so does the SMF logo */ img#smflogo {  margin-left: 1em; } /*  ............ : 1.5em; } #upper_section ul li.greeting {  font-size: 1.3em;  font-weight: bold;  line-height: ............  {  height:32px;  margin-bottom:8px;  font: 8pt arial, helvetica, sans-serif;  color:# ............ , .breadcrumb a:visited {  color:#bd5900;  font-weight:700;  text-decoration:none;  } . ............  0 0 34px; } select.qaction, input.qaction {  font-size: 0.7em;  padding: 0; } #mlist table tbody  ............  0; } table.table_list tbody.content td.stats {  font-size: 90%;  width: 15%;  text-align: center; } ............ .content td.lastpost {  line-height: 1.3em;  font-size: 90%;  width: 24%; } table.table_list  ............ .content hxxp:td.info [nonactive] a.subject {  font-weight: bold;  font-size: 110%;  color: #000;  ............  tbody.content td.children {  color: #555;  font-size: 85%; } p.moderators {  font-size: 0.8em;   ............  font-family: verdana, sans-serif; } /* hide the table  ............  0;  line-height: 1em; } #posting_icons ul {  font-size: 0.8em; } #posting_icons img {  vertical- ............ : middle;  margin: 0 0 0 4ex; } #postbuttons_upper ul li a span {  line-height: 19px;   ............  {  padding: 0 0.5em; }  /* the newsfader */ #smfFadeScroller {  text-align: center;  padding:  ............ .5em 0.2em 0.5em; } #upshrinkHeaderIC p.stats {  font-size: 1.1em;  padding-top: 8px; } form#ic_login  ............ ;  margin: 0 0 0.5em 0;  text-align: right;  font-size: 0.9em;  position: relative;  top: -20px; ............ ----------------------------------------- */  #postbuttons div.buttons {  padding: 0.5em;  width: 40%;   ............  float: right; } #postbuttons div.middletext {  width: 60%; } #postbuttons  ............  {  display: block;  text-align: right; } #postbuttons span.lower {  clear: right; } #postbuttons . ............  {  float: right; } #postbuttons #pagelinks {  padding-top: 1em; } # ............ ;  margin: 0 0 1em 0; } #poll_options div.submitbutton {  border-bottom: 1px solid #9999aa;  clear:  ............ : left; }  #poll_options dl.options .voted {  font-weight: bold; }  #poll_options dl.options dd {   ............  } .poster h4 {  margin: 0.2em 0 0.4em 1.1em;  font-size: 120%; } .poster h4, .poster h4 a {  color: ............ .keyinfo {  float: left;  width: 50%; } .modifybutton {  clear: right;  float: right;  margin:  ............  10px 0;  text-align: right; }  /* The quick buttons */ div.quickbuttons_wrap {  padding: 0.2em 0;   ............  width: 100%;  float: left; }  ul.quickbuttons {  margin: 0.9em 11px 0 0;  clear: right;   ............ : right;  text-align: right;  font-family: arial, sans-serif;  font-weight: bold;   ............  font-size: 0.85em; } ul.quickbuttons li {  float:  ............  display: inline;  margin: 0 0 0 11px; } ul.quickbuttons li a {  padding: 0 0 0 20px;  display: block; ............ ;  line-height: 18px;  float: left; } ul.quickbuttons a:hover {  color: #a70; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 0; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -30px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -60px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -90px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -150px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -210px; } ul.quickbuttons li. ............  padding: 0;  width: 15%;  margin: .3em 0;  font-weight: bold; } #post_header dd {  float: left;  ............ ; } #postAttachment dt, #postAttachment2 dt {  font-weight: bold; } #postAttachment3 {  margin-left: ............  {  margin: .3em 0 .3em 1em; } /* The BBC buttons */ #bbcBox_message {  margin: 1em 0 0.5em 0; }  ............ : 0.5em;  clear: both; } #post_event legend {  font-weight: bold;  color: #000; } #post_event div. ............ : 0.5em;  clear: both; } #edit_poll legend {  font-weight: bold;  color: #000; } #edit_poll ul. ............ ----------------------------------------- */  #readbuttons_top .pagelinks, #readbuttons .pagelinks {   ............ -bottom: 1em;  width: 60%; } #readbuttons .pagelinks {  padding-top: 1em; } #recent {   ............ : 0.5em; } fieldset.merge_options legend {  font-weight: bold; } .custom_subject {  margin: 0. ............ : left;  clear: both;  text-align: right;  font-weight: bold; } .login dd {  width: 54%;   ............ ;  overflow: auto; }  dl.register_form dt {  font-weight: normal;  float: left;  clear: both;   ............ : 0.5em 0 0 0; }  dl.register_form dt strong {  font-weight: bold; }  dl.register_form dt span {   ............  width: 49%;  margin: 0.5em 0 0 0; }  #confirm_buttons {  text-align: center;  padding: 1em 0; }  . ............ -right: 10px; } .adm_section h4.titlebg {  font-size: 95%;  margin-bottom: 5px; } # ............ : 0.3em 0.7em; } #credits p {  padding: 0;  font-style: italic;  margin: 0; }  /* Styles for  ............ ; } /* the subject column */ .topic_table td {  font-size: 1em; } .topic_table td.subject p, . ............  td.stats {  font-size: 0.9em;  padding: 0;  margin: 0; } . ............  td.lastpost {  font-size: 0.9em;  padding: 4px; } .topic_table td. ............ ; } .errorbox h3 {  padding: 0;  margin: 0;  font-size: 1.1em;  text-decoration: underline; } . ............ ;  margin: 0;  float: left;  width: 1em;  font-size: 1.5em; }  /* Styles for the profile section. ............ : 79.5%;  float: right; } #basicinfo h4 {  font-size: 135%;  font-weight: 100;  line-height:  ............ : hidden; } #basicinfo h4 span.position {  font-size: 80%;  font-weight: 100;  display: block; ............ : left;  margin: 0 0 3px 0;  padding: 0;  font-weight: bold;  clear: both; } #detailedinfo div. ............  border-top: 1px #ccc solid; } .signature h5 {  font-size: 0.85em;  margin-bottom: 10px; } # ............ : left;  margin: 0 0 3px 0;  padding: 0;  font-weight: bold;  clear: both; } #generalstats div. ............ : left;  margin: 0 0 3px 0;  padding: 0;  font-weight: bold;  clear: both; } #popularposts div. ............ : 0 0 0 0;  padding: 0.2em 0.5em 0.1em 0.2em;  font-size: 2.2em;  font-weight: bold;  color: # ............ -height: 16px;  padding: 0;  clear: both;  font-size: 1em; } dl.stats dd {  text-align: right;   ............  width: 50%;  font-size: 1em;  float: right;  margin: 0 0 4px 0;  ............ : center;  height: 49px;  width: 25px;  font-size: large;  padding: 0 7px;  border-bottom:  ......
#418
Graphics and Templates / How do I make the avatar column wider?
lokakuu 22, 2010, 11:13:12 IP tekijältä Solgrim
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " 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 /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ "><br /> <ul>';<br /><br />// Show the website button.<br /> echo '<li><a href="http://theobsessedgamer. ............ /b></a></li>';<br /> <br /> // Show the [help] button.<br /> echo '<li><a href="', $scripturl, '?action= ............ ></a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............  '</b></a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............  <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 == ......
#419
SMF 1.1.x Support / Script image logo into theme?
syyskuu 28, 2010, 05:46:04 IP tekijältä cricfan967
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ <br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />  ............ /javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  /> echo '<br /> <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ " 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 />  ............  <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 /> {<br  ............ /> element.src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............  '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix( ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ /> <ul>';<br /><br /> // Show the [home] button.<br /> echo '<li><a' , $current_action==' ............ /span></a></li>';<br /><br /> // Show the [help] button.<br /> echo '<li><a' , $current_action=='help' ............ /a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............ >';<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 />  ............  </div>';<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="', $ ............  with the URL of my banner/logo. Didn't work. The default banner/logo is not there anymore as before I  ......
#420
Özelleştirme / İnferno Tema için Reklam Alanı
syyskuu 24, 2010, 06:08:45 IP tekijältä mateja_kezman_9
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc3" media="print" /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc3"></script>< ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ '] . '"))<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" />';<br /> <br /> if (!empty($ ............ ">FoRumoLoJi.CoM</a></li><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check/ ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ </a></li>' : '', '<br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............  /> <ul>';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> echo '<br /> ............  <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', '" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '>', $button['title'], '</a> ............ ';<br /><br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............  <ul>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  '<br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '>', $childbutton['title'],  ............ !empty($childbutton['sub_buttons']) ? '...' : '', '</a>';<br /><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br /> ............  <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '>', $grandchildbutton[' ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  = array();<br /><br /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li><a' . (isset($value['id']) ? ' ............  id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ]] . '</span></a></li>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  // Make the last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' align_' . $direction  ............ : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  '"': ''), '><br /> <ul>',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
Advertisement: