Uutiset:

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

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
#701
İpuçları ve Hileler / Re: Mootools Menu (Hareketli Forum Menusu)
huhtikuu 01, 2009, 06:28:49 AP tekijältä DNA27
......  may want to try to refresh this page or use the default theme. syntax error, unexpected T_STRING,  ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ['allow_color_change'] == 'no'))<br /> {<br /> // Defaults.<br /> $options['theme_color'] = isset($ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + ' . '"/'. $settings[' ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + ' . '"/'. $settings[' ............ /> echo ' <br /> <td><br /> <span style="font-family: \'Trebuchet MS\', Verdana, sans-serif;  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="- ............ " selected="selected">', $txt['smf50'], '</option><br /> </select><br />  ............  /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type=" ............ : relative; bottom: 13px; right:15px; float:right; font-size:16px;"><br /> <form action="', $ ............ " value="&raquo;&raquo;" style="width: 8ex; font-size:12px;" /><br /> </form><br /> </ ............ -color: #6699CC; color: #6699CC; width: 20px; font-size: 1px;" type="submit" value="lightblue" name=" ............ -color: #5371AD; color: #5371AD; width: 20px; font-size: 1px;" type="submit" value="lightnavy" name=" ............ -color: #6C7F93; color: #6C7F93; width: 20px; font-size: 1px;" type="submit" value="lightsilver"  ............ -color: #53ADAD; color: #53ADAD; width: 20px; font-size: 1px;" type="submit" value="lightturquoise"  ............ -color: #4DB45D; color: #4DB45D; width: 20px; font-size: 1px;" type="submit" value="lightgreen" name= ............ -color: #93A659; color: #93A659; width: 20px; font-size: 1px;" type="submit" value="lightolive" name= ............ -color: #D8A259; color: #D8A259; width: 20px; font-size: 1px;" type="submit" value="lightgolden"  ............ -color: #a67259; color: #a67259; width: 20px; font-size: 1px;" type="submit" value="lightbrown" name= ............ -color: #E15050; color: #E15050; width: 20px; font-size: 1px;" type="submit" value="lightred" name=" ............ -color: #D47BC5; color: #D47BC5; width: 20px; font-size: 1px;" type="submit" value="lightrose" name=" ............ -color: #A185D6; color: #A185D6; width: 20px; font-size: 1px;" type="submit" value="lightlilac" name= ............ -color: #7F88B2; color: #7F88B2; width: 20px; font-size: 1px;" type="submit" value="lightviolet"  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ > <span style="float:right; margin-right:10px; font-size:70%;"><b>Dilber MC</b> Theme by <b><a href=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: 85%; margin-bottom: 2ex; margin-top: 2ex;">' ............ "><br /> </td>';<br /><br /> // Show the [home] button.<br /> echo'<br /> <td align="center" class=" ............  , '</a><br /> </td>';<br /> // Show the [help] button.<br /> echo'<br /> <td align="center" class=" ............ ><br /> </td>';<br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo'< ............  <br /> </td>'; <br /> // the [member] list button<br /> if ($context['allow_memberlist']) <br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest']) <br /> ............  <br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ' : 'main', 'strip">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#702
Dokümantasyon / bu biraz zor gibi ama, düzenlemem gerek..
elokuu 12, 2008, 09:37:54 AP tekijältä darkblack323
......  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 />  ............ /javascript"><!-- // --><![CDATA[<br /> var myfontsize = ', empty($options['myfontsize']) ? '\'90\''  ............ : '\'' . $options['myfontsize']. '\'' , ';<br /> function setfontsize( ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ );';<br /> else<br /> 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. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <form  ............  '<br /> <br /><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  class="menu">';<br /> <br /> // Show the [home] button.<br /> echo '<li', $current_action == 'home' ? '  ............  , '</b></a></li>';<br /><br /> // Show the [help] button.<br /> echo '<li', $current_action == 'help' ? '  ............ ></a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo '< ............  '</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 />  ............  </ul>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ............  {  color: #000000;  text-decoration: none;  font-size: 12px; }  a.nav:hover {  color: #cc3333;   ............  cells. */  table {  empty-cells: show; } /* By default (td, body..) use verdana in black. */  body, td,  ............ , tr {  line-height: 150%;  font-family: Trebuchet MS;  color: #555555;  font............  normal so they align well. */  input, textarea, button { color : #ffffff;  font-weight : 700;  border :  ............  : #1174AB;  text-indent : 0.1cm; }  input, buttonfont-size: 100%; }  textarea {  font-size:  ............ %;  color: #000000;  font-family: Trebuchet MS;   background: #C3BF5C; } /* ............  All input elements that are checkboxes or radio buttons. */  input.check {} /* Selects are a bit smaller, ............  it makes them look even better 8). */  select {  font-size: 100%;  font-weight: normal;  color: # ............ ;  font-family: Tahoma, Arial, Helvetica, sans-serif; } /* ............  solid #454545;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; } /* A code  ............ {  color: #3a3a3a;  background-color: #fbede6; /*font-family: "courier new", "times new roman",  ............ ;*/  font-size: x-small;  line-height: 1.3em; /* Put a  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size:  ............ . */  .highlight {  background-color: yellow;  font-weight: bold;  color: black; } /* Alternating  ............ .titlebg2 th, tr.titlebg2 td {  color: #454545;  font-style: normal;  background: #ADCEE7;  padding- ............  .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: #404040;  font-style:  ............ ;  font-size: 12px; }  .titlebg a:hover {  color: # ............  a:link, .titlebg2 a:visited {  color: #f4f4f4;  font-style: normal;  text-decoration: underline; }  . ............   .catbg, .catbg2, .catbg3 {}  .catbg, .catbg2 {  font-weight: bold;  font-size: 12px; }  .catbg3, tr. ............  td, .catbg3 a:link, .catbg3 a:visited {  font-size: 95%;  color: #3F6C78;  text-decoration:  ............ /ne.gif) no-repeat top right;  } .boxtop div {   font-size: 0;  height: 10px;   background: url( ............ ) no-repeat bottom right;  } .boxbottom div {   font-size: 0;  height: 10px;   background: url( ............ } .boxcontent {  padding: 0px 10px 0px 10px; } /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */  .smalltext {  font-size: 90%;  font-family: Trebuchet MS, verdana,  ............ : 18px;  text-indent: 10px; }  .normaltext {  font-size: small; }  .largetext {  font-size: large; } ............  {  color: #090909;  text-decoration: none;  font-size: 9px;  font-family: tahoma, sans-serif;   ............  {  color: #252525;  text-decoration: none;  font-weight: bold; }  .maintab_active_back a:link, . ............  {  color: #272727;  text-decoration: none;  font-weight: bold; }  .maintab_back a:hover, . ............ : #32CD32;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px;   ............ ;  padding: 12px 25px 0 0;  text-align: right;  font-size: 1.0em;  color: #dddddd;  font-family:  ............   /* template menu */ #menutaban {  height: 28px;  font-size: 12px;  background: #D0F1FF url(./images/nav- ............ ;  color: rgb(53,97,113);  text-decoration: none;  font-size: 12px;  font-family: Trebuchet MS, optima,  ............ ;  font-weight: 800;  text-align: center;  padding:0 0 0  ............ (178,206,207) url(./images/menu2.jpg);  cursor: default; }  .menu li.chosen a:hover b { background: no- ............ -align: center;  padding: 10px;  color: #000;  font-size: 10px; }  #altky a:link, #altky a:visited {   ............  color: #000;  font-size: 10px; }  #altky a:hover {  color: #000;   ............ : none;  border-bottom: solid 1px yellow;  font-size: 10px; }  bilmiyorum yardım edebilir misiniz  ......
#703
Theme Site Themes / Re: Christmas Season
joulukuu 12, 2007, 02:46:20 IP tekijältä Kleidi
......  Array("#aaaacc","#ddddFF","#ccccDD")  // Set the fonts, that create the snowflakes. Add as many fonts  ............ [i]=document.getElementById("s"+i)  snow[i].style.fontFamily=snowtype[randommaker(snowtype.length)]   ............ (snowsizerange)+snowminsize  snow[i].style.fontSize=snow[i].size  snow[i].style.color=snowcolor[ ............  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"></script><br /> <script  ............ " type="text/javascript"><!--<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script><br /> <script  ............ " type="text/javascript"><!--<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  /> <span align="center" valign="top" style="font-family: Georgia, sans-serif; font-size: large;">', ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440" ............ >', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ ="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> </form>';<br /> }<br /><br />  ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a><br /> <input type="hidden" name=" ............ ['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', ............ " type="text/javascript"><!--<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ><br /> echo '<div align="left" class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ , $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'] . '/'  ............ '];<br /><br /> // The [member] list button?<br />/* if ($context['allow_memberlist'])<br />  ............ , '?action=mlist">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '</a>';<br />}<br /><br />// Generate a strip of buttons, out of buttons.<br />function  ............ ($button_strip, $direction = 'top', $force_reset = false, $ ............  = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> if ( ............ ($button_strip))<br /> return '';<br /><br /> // Create  ............  buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ >' : $txt[$value['text']]) . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>';<br />}<br /><br />?> ......
#704
SMF 2.0.x Support / Re: please guys help me :)
toukokuu 22, 2011, 06:34:12 AP tekijältä drogbaamir
......  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'], '";', $ ............  = function ()<br /> {<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");< ............  // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav-tree">'; <br / ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /><br /> <div class="info">', $ ............  /> <ul>';<br /> <br /> foreach ($context['menu_buttons'] as $act => $button)<br /> echo '<li><a href= ............ "', $button['href'], '">', $button['title'], '</a></li>';<br / ............ ></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 />< ......
#705
......  one too in css?  this is the style.css of this SMF forum  Koodi [Valitse] Laajenna /* ############### ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  color: #000000;  font-size: 98%;  font-family: verdana, sans-serif; }  / ............  normal so they align well. */ input, textarea, button {  color: #000000;  font-family: tahoma, sans- ............ ;  font-size: 8pt;  padding: 2px 3px 2px 3px;  margin:  ............  */ caption {  text-align: left; }  textarea {  font-size: 9pt;  color: #000000;  font-family: verdana, ............ /* All input elements that are checkboxes or radio buttons. */ input.check {  margin: 3px 2px 3px 2px;   ............  it makes them look even better 8). */ select {  font-size: 8pt;  font-weight: normal;  color: #000000;  ............  font-family: tahoma, sans-serif; } option {  padding- ............ /* ######################################*/  /* by default a padding is added for left/right main borders */ ............ * The main header is up here too */ #toparea h1 {  font-size: 1.8em;  padding: 1em 0 1em 1em; } /* the  ............  greeting is shown */ #userbox {  float: right;  font-size: 0.85em;  text-align: right;  margin: 0 1em  ............ : 1em 1em 0 0;  width: 38em; } #userbox h2 {  font-weight: normal; } #userbox input {  font-size: 0. ............  {  float: right;  margin-left: 1em; } /* a nice SMF logo */ #smflogo {  margin-left: 2em; } . ............ #4C6E8A;  padding: 0.2em;  margin: 0.2em; } .submitbutton {  background: #DDDFE0;  border: outset 1px # ............ ;  padding: 0.2em;  font-size: 0.9em; } .searchfield:focus {  border-color: ............  1px #4A7294;  border-bottom: solid 1px #4A7294;  font-size: 0.7em;  font-family: Trebuchet, Helvetica,  ............  */ .linktree {  padding: 1.5em 1.5em 1em 1.5em;   font-size: 0.75em;  background: url(images/site/ ............ / .linktree_below {  padding: 0 1.5em 1em 1.5em;   font-size: 0.85em; } a.nav {  font-weight: bold; }  . ............  #AAA;  margin: 1px;  padding: 5px 5px 5px 28px;  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;  /* Put a nice border around it. */ ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* A more  ............ , .windowbg2_locked a {  color: #888;  font-weight: normal; }  /* Color for background of  ............ .titlebg2 th, tr.titlebg2 td {  color: #CB8518;  font-style: normal;  padding: 0.5em;  background: url( ............ } .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: #CB8518;  font-style:  ............  a:link, .titlebg2 a:visited {  color: #CB8518;  font-style: normal;  text-decoration: underline; }  . ............  #FFF repeat-x;  color: #CF7A42;  padding: 0.5em;  font-size: 11pt;  margin-bottom: 2px; }  .catbg2 , tr. ............  #FFF repeat-x;  color: #CF7A42;  padding: 0.5em;  font-size: 11pt;  margin-bottom: 2px; } .catbg, . ............  {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 8pt;  text-decoration: none;  font-weight:  ............  {  border-bottom: solid 1px #CCC; } /* 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  ............  the forum. */ .post, .personalmessage {  font-size: 1.1em;  line-height: 1.3em;  overflow: auto; ............  {  background: #FFFFFF;  color: #32CD32;  font-weight: bold;  font-size: 14pt;  border-bottom:  ............  a {  color: white;  text-decoration: underline;  font-size: smaller;  float: right;  padding-right: 1em; ............  } /* the main header */ h1.catbg {  font-family: Verdana, sans-serif;   font-size: 1.5em;   ............ }  /* and the user greeting! */ h2.titlebg2 {  font-weight: normal;  font-size: 12pt; }   .alignright  ............  .bbc_size {  line-height: 1.3em; }  .bbc_table {  font: inherit;  color: inherit; }  .bbc_table td {   ............  top; }  .bbc_u {  text-decoration: underline; }  .button_strip_submit {  background: transparent;  color:  ............ ;  vertical-align: top;  text-decoration: none;  font-size: 9px;  font-family: tahoma, sans-serif;   ............ : 0; }  .button_strip_submit:hover {  color: #e0e0ff; }  /* ###### ............ ####### */ /* the buttonmenus */  ul.topbuttons, ul.bottombuttons {  width: ............  auto;  float: right;  list-style: none; } ul.topbuttons {  margin: 0.3em; } ul.bottombuttons {  margin:  ............ .3em; } ul.topbuttons li, ul.bottombuttons li {  float: left; } ul. ............  li a:link, ul.bottombuttons li a:link, ul.topbuttons li a:visited, ul. ............  li a:visited {  display: block;  font-size: 0.85em;  padding: 0.3em 1em 0.3em 1em; } ul. ............  li a:link, ul.bottombuttons li a:visited {  border-top: solid 3px #E6E9EB; }  ............ .topbuttons li a:link, ul.topbuttons li a:visited {  border- ............ : solid 3px #E6E9EB; } ul.bottombuttons li a:hover, ul.bottombuttons li.active a {   ............ ;  text-decoration: none;  color: black; } ul.topbuttons li a:hover,ul.topbuttons li.active a {  border- ............  1px #9Ab9d5; } ul#extrabox, ul#extrabox ul {  font-size: 0.9em;  list-style: none; } ul#extrabox ,  ............ ... */ /* #################### */ .board {  font-size: 0.9em; } .board h4 {  font-size: 1.2em; } . ............  h4 a:visited {  color: #CF7A42; } h4.titlebg {  font-size: 1em;  padding: 0.5em; }  /* the Info center  ............  {  height: 1%; } #infocenter #login_bar label {  font-size: 0.8em; } /* ############### */ a#top  {   ............ : block;  padding: 0 5px 0 5px;  color: black;  font-size: 1.1em;  font-family: arial, Helvetica, sans- ............  li a.active:link, #header li a.active:visited {  font-weight: bold; } #advert {  height: 60px;  width:  ............  } p.labels label {  display: block;  width: 50%;  font-weight: bold;  text-align: right;  float: left; }  ............ : top; } .maintab_back, .maintab_active_back {  font-size: 0.85em;  padding: 0.3em 1em 0.3em 1em;   ............  top; } .mirrortab_back, .mirrortab_active_back {  font-size: 0.85em;  padding: 0.3em 1em 0.3em 1em;   ............  {  margin: 0;  border: 0;  padding: 0;  font-size: 0.9em; } #teambox .catbg, #helperbox .catbg, ............ , #apprenticeMeet a {  color: white; }   .button_strip_submit  {  background: transparent;   ............ : #476C8E;  text-decoration: none;  font-family: tahoma, sans-serif;  border: 0;  font............   padding: 0.3em 1em 0.3em 1em;  margin: 0;  }    .button_strip_submit:hover  {  text-decoration: none;   ............ : black; }  ul.topbuttons .button_strip_submit {  border-bottom: solid 3px  ............ #E6E9EB;  vertical-align: bottom; }  ul.bottombuttons .button_strip_submit {  border-top: solid 3px # ............ ;  vertical-align: top; }  ul.topbuttons .button_strip_submit:hover {  border-bottom:  ............  3px #FB8115; }  ul.bottombuttons .button_strip_submit:hover {  border-top: solid  ............ :visited {  color: red !important;  font-weight: bold; }  /* These are for the auto  ............  look pretty */ #credits h3 {  color: #597D9D;  font-size: 1.5em;  margin: 1em 0 0 0;  font-family:  ............ , helvetica, sans-serif;  font-weight: bold;  background: url(/site_images/ ............ -left: 23px; }  #credits h4 {  color: #404040;  font-size: 1.1em;  margin: 2em 0 0.7em 0; }  /*  ............  0.5em; }  /* extra styles */ .subject_display {  font-size: 120%; } #preview_section #preview_body {   ............ -size: 80%; } .adbanner {  font-size: 0.9em; } can you post then edited version  ............  for me?? dont edit the above one its from this SMF site... i have attached mine style.css with this  ......
#706
Classic Themes / Re: [Theme] Terra Incognita (SMF 1.1 RC2)
huhtikuu 16, 2006, 10:39:03 AP tekijältä jasidog
...... ,  .row2 dt { background: none; color: #553A00;  font-weight: bold;  letter-spacing: 0px; padding: 4px;  ............ : none; border-bottom: 1px solid #AD9C82; } .button,  .buttons a:link,  .buttons a:visited { color: # ............ -space: nowrap; background-color: #E2DBBF; } .button { margin:0px 5px 0px 5px; padding:0px 4px 0px 4px; ............  }  .button:active,  .buttons a:hover { color: #333; border:  ............  sections unstyled. If you're adding this to the default RC2 theme or one like it. Then I'd recommend  ......
#707
SMF 1.1.x Support / Re: I'm having a log-in problem
kesäkuu 26, 2011, 07:19:47 IP tekijältä ErvinB
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <form  ............ " size="10" /><br /><br /> <input class="loginbutton" type="submit" value="" /><br /><span class=" ............  '<br /><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  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ ">';<br /><br /> // Show the [home] button.<br /> echo '<li', $current_action == 'home' ? '  ............ ] , '</a></li>';<br /><br /> // Show the [help] button.<br /> echo '<li', $current_action == 'help' ? '  ............ '</a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo '< ............ '] , '</a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons, out of buttons.<br />function  ............ ($button_strip, $direction = 'top', $force_reset = false, $ ............  = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> if ( ............ ($button_strip))<br /> return '';<br /><br /> // Create  ............  buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ >' : $txt[$value['text']]) . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>';<br />}<br />/* * Copyright 2008- ......
#708
Modifications and Packages / Re: Share this topic SMF Mod
joulukuu 03, 2010, 11:34:35 AP tekijältä asheashe
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and lock  ............ :image" content="', !empty($modSettings['share_likebutton_image']) ? $modSettings[' ............ " content="', !empty($modSettings['share_likebutton_appid']) ? $modSettings['share_likebutton_appid']  ............ ="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 /> ............ " src="http://haxed.mlark.haxed.co.uk/forum/Themes/default/yui/build/yahoo/yahoo-min.js"></script> <br /> < ............ " src="http://haxed.mlark.haxed.co.uk/forum/Themes/default/yui/build/dom/dom-min.js"></script> <br /> < ............ " src="http://haxed.mlark.haxed.co.uk/forum/Themes/default/yui/build/event/event-min.js"></script> <br /> < ............ " src="http://haxed.mlark.haxed.co.uk/forum/Themes/default/yui/build/animation/animation-min.js"></script>< ............ " src="http://haxed.mlark.haxed.co.uk/forum/Themes/default/spoilers.js"></script><br /> <link rel=" ............  href="http://haxed.mlark.haxed.co.uk/forum/Themes/default/spoilers.css"/><br /> <!-- End of Fancy Spoiler  ............ ="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" : "/ ............ '<script type="text/javascript" src="', $settings['default_theme_url'], '/penguin.js"></script>';<br /> }< ............ <br /> <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;" ............ ="top" class="smalltext" style="width: 100%; font-family: verdana, arial, sans-serif;">';<br /><br / ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $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=" ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a><br /> <input type="hidden" name= ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............  mod<br /> if (!empty($modSettings['share_likebutton_enable']))<br /> {<br />echo '<div id="fb- ............ .init({appId: \'', !empty($modSettings['share_likebutton_appid']) ? $modSettings['share_likebutton_appid']  ............ .facebook.net/', !empty($modSettings['share_likebutton_lang']) ? $modSettings['share_likebutton_lang'] :  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=help">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '</a>';<br />}<br /><br />// Generate a strip of buttons, out of buttons.<br />function  ............ ($button_strip, $direction = 'top', $force_reset = false, $ ............  = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> if ( ............ ($button_strip))<br /> return '';<br /><br /> // Create  ............  buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ >' : $txt[$value['text']]) . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>';<br />}<br /><br />?>   ......
#709
......  the different options? I need all colors for the button:    Besides: Shadow color? enabled or disabled?    ............  border (The color for the inner border - white as default)   5: Top face color  (The color for the face  ............  (The color to end out with for the face of the button)   7: font color (The color of the font)    ............ : Font shadow color (Shadow color of the font.)   9:  ......
#710
Graphics and Templates / Re: Different stylesheets in one theme
tammikuu 21, 2008, 10:21:52 IP tekijältä Darkness_
......  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'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............  = $options['theme_color'];<br />else{<br /> // Defaults.<br /> $options['theme_color'] = isset($ ............ ['default_theme_color']) ? $settings['default_theme_color']  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  echo '<br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  echo '<br /> smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <form  ............  '<br /> <br /><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ ="selected" value="', $options['rood'], '">Use default</option><br /> <option value="rood">Rood</ ............ >';<br /> // Show the [home] button.<br /> echo '<li><a' , $current_action=='home' ............  /><br /> // Show the [help] button.<br /> echo '<li><a'  ............  /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............  /><br /> // the [member] list button<br /> if ($context[' ............  // If the user is a guest, show [login] button.<br /> if ($context['user' ............  // If the user is a guest, also show [register] button.<br /> if ($context['user' ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ............ ="selected" value="', $options['rood'], '">Use default</option>  <option value="rood">Rood</ ......
#711
Tips and Tricks / Re: Default Avatar?
kesäkuu 25, 2006, 08:21:19 IP tekijältä TGB
......  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"></script><br /> <script  ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ /* 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 />  ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_sb", mode ? 1 : 0, ............ /> document.getElementById("upshrink_sb").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " class="tborder" style="border-width: 1px 0 0 0; font-size: smaller;">';<br /><br /> // Show the menu  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br /> < ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440">',  ............ $txt['smf47'], '</option><br /> <option value="10080">', ............  $txt['smf48'], '</option><br /> <option value="302400">' ............ , $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br /> < ............  value="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> <input type="hidden" name=" ............  /> ', theme_copyright(), '<br /><span style="font-size:11px;">SMF Theme &copy <a href="http:// ............  align="center" class="smalltext"><br /> ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '<br /> </div>';<br /><br /> // And then  ............ > // 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 /> <br /> <div class=" ............ '];<br /> <br />// How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ .<br /><br /> echo '<br /><br /> <div id="smfFadeScroller" style="width: 90%; padding: 2px;"><b> ............  // The fading delay (in ms.)<br /><br /> var smfFadeDelay = ', empty($settings['newsfader_time']) ? ............ ? To which background color?<br /><br /> var smfFadeFrom = {"r": 0, "g": 0, "b": 0}, smfFadeTo = {" ............  item with... anything special?<br /><br /> var smfFadeBefore = "<b>", smfFadeAfter = "</b>";<br />< ............  /><br /> if (typeof(document.getElementById(\'smfFadeScroller\').currentStyle) != "undefined")<br /> ............  /> var foreColor = document.getElementById(\'smfFadeScroller\').currentStyle.color.match(/#([\da-f] ............ [\da-f][\da-f])([\da-f][\da-f])/);<br /><br /> smfFadeFrom = {"r": parseInt(foreColor[1]), "g":  ............ ><br /> var backEl = document.getElementById(\'smfFadeScroller\');<br /><br /> while (backEl. ............ [\da-f][\da-f])([\da-f][\da-f])/);<br /><br /> smfFadeTo = {"r": eval("0x" + backColor[1]), "g":  ............ (window.opera) == "undefined" && typeof(document.defaultView) != "undefined")<br /><br /> {<br /><br />  ............  var foreColor = document.defaultView.getComputedStyle(document.getElementById(\' ............ (/rgb\((\d+), (\d+), (\d+)\)/);<br /><br /> smfFadeFrom = {"r": parseInt(foreColor[1]), "g":  ............ ><br /> var backEl = document.getElementById(\'smfFadeScroller\');<br /><br /> while (document. ............  /><br /><br /><br /> var backColor = document.defaultView.getComputedStyle(backEl, null). ............ (/rgb\((\d+), (\d+), (\d+)\)/);<br /><br /> smfFadeTo = {"r": parseInt(backColor[1]), "g":  ............  lines of the news for display.<br /><br /> var smfFadeContent = new Array(<br /><br /> "',  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/fader.js"></script><br /><br /> </ ............ ']['time'], '<br /><br /><br /> ', $txt['smf88'], ' ', $board['last_post']['link'], '<br /><br  ............ ">';<br /><br /> // Show the mark all as read button?<br /><br /> if ($settings['show_mark_read'])<br  ............ ['session_id'] . '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '<br /><br /> </td><br />< ............ '])<br /><br /> echo '<br /><br /> ', $txt['smf199'], ': <b><a href="', $scripturl, '?action=pm">' ............  href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '<br /> </div><br /> </td>< ............  href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '<br /><br /> </span><br />< ......
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))<br /> echo '<br /> <span style="font-family: Tahoma, sans-serif; font-size: 140%; ">',  ............ <br /> <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /><br /> < ............ ="titlebg2" height="42"><br /> <span style="font-size: 90%;"> ', $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"  ......
#713
Classic Themes / Re: I need help
toukokuu 31, 2005, 04:11:13 AP tekijältä forsakenlad
...... ="left" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';   // If  ............ ">  <option value="60">', $txt['smf53'], '</option>  <option value="1440">', $ ............ ['smf47'], '</option>  <option value="10080">',  ............ $txt['smf48'], '</option>  <option value="302400">', ............  $txt['smf49'], '</option>  <option value="-1"  ............ ="selected">', $txt['smf50'], '</option>  </select>  <input  ............ " value="', $txt[34], '" /><br />  ', $txt['smf52'], '  </form>';  }   echo '  </td>   ............ ="30%" align="right" class="smalltext" style="font-family: verdana, arial, sans-serif;">   ............  <div id="smfFadeScroller" style="width: 95%; padding: 0px;  ............ "><!--  // The fading delay (in ms.)  var smfFadeDelay = ', empty($settings['newsfader_time']) ? ............  text color? To which background color?  var smfFadeFrom = {"r": 0, "g": 153, "b": 0}, smfFadeTo =  ............  each item with... anything special?  var smfFadeBefore = "<b>", smfFadeAfter = "</b>";   // ............  all the lines of the news for display.  var smfFadeContent = new Array(  "', implode('",   ............ .2" type="text/javascript" src="', $settings['default_theme_url'], '/fader.js"></script>   ............  chat and also i want to be able to change the smf name to my own  I don't have PSD files for the  ............ . They are edited versions of the default ones if you can post here the chat button I can  ............  the text and enter your own. I have added the font to the first post....  @charlottezweb  Thank you  ......
#714
SMF 2.0.x Support / Re: changing the color of link tree?
kesäkuu 08, 2011, 06:12:03 IP tekijältä admiral888
...... . */ table {  empty-cells: show; }  /* set a fontsize that will look the same in all browsers. */  ............  {  font: 95%/90% Verdana, Helvetica, sans-serif;   ............  normal so they align well. */ input, textarea, button {  color: #000000;  font-family: verdana,  ............ -serif; } input, button {  font-size: 90%; }  textarea {  font-size:  ............ %;  color: #000000;  font-family: verdana, sans-serif; }  /* All input  ............  that are checkboxes or radio buttons. */ input.check {  border: none; }  /* Selects  ............  it makes them look even better 8). */ select {  font-size: 90%;  font-weight: normal;  color: # ............ ;  font-family: verdana, sans-serif; }  /* Standard  ............ : #666666;  background-color: #666666; }  /* By default set the color on these tags as black. */ h1, h2,  ............ , h4, h5, h6, h7 {  color: black;  font-size: 1em;  margin: 0;  padding: 0; }  /* No  ............ . */ a img {  border: 0; }  /* No lines around buttons in Firefox! */ a {  outline: none; }  /* Reset  ............ : right; } .floatleft {  float: left; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: 0.8em;  font-family: verdana, sans-serif;  ............ } .middletext {  font-size: 0.85em; } .normaltext {  font-size: 1em; } ............  .largetext {  font-size: 1.4em; }  /* This style will make sure all  ............  remove bold/italic styles */ span.plainstyle {  font-weight: normal;  font-style: normal; } /* float  ............ ****************************** */ /* Some specific SMF elements */ /* ************************ ............  #000000;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A  ............  background-color: #dddddd;  display: block;  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: ............  change the code stuff... */ .codeoperation {  font-weight: normal; }  /* Styling for BBC tags */ . ............  {  line-height: 1.3em; }  .bbc_table {  font: inherit;  color: inherit; }  .bbc_table td {   ............  font: inherit;  color: inherit;  vertical-align:  ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* A more  ............  tr.titlebg2 td, #credits h3 {  color: black;  font-style: normal;  background: url(images/titlebg. ............ .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: black;  font-style:  ............  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:  ............ , a.moderation_link:visited {  color: red;  font-weight: bold; }  .openid_login {  background:  ............ ;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 0. ............  color: white;  text-decoration: underline;  font-size: smaller;  float: right; }  /* ************ ............ ************************* */ /* Buttons and menus */ /* ************* ............ ************************ */  .buttonlist ul, .buttonlist_bottom ul {  background:  ............ ) no-repeat bottom left;  padding-left: 10px; } .buttonlist ul li, .buttonlist_bottom ul li {  margin:  ............ ;  padding: 0;  display: inline; } .buttonlist ul li a, .buttonlist ul li a:visited, . ............  ul li a, .buttonlist_bottom ul li a:visited {  float: left;   ............ : block;  color: white;  font-size: 0.8em;  font-family: tahoma, sans-serif;   ............  text-transform: uppercase; } .buttonlist ul li a:hover, .buttonlist_bottom ul li a: ............  {  color: #e0e0ff;  text-decoration: none; } .buttonlist ul li a span, .buttonlist_bottom ul li a span  ............ : block;  padding: 0.1em 0.5em 0.5em 0.5em; } .buttonlist ul li a.active, .buttonlist_bottom ul li a. ............  no-repeat bottom right;  padding-right: 8px; } .buttonlist ul li a.active span em, .buttonlist_bottom ul  ............ : 0.1em 0.5em 0.5em 0.5em;  display: block;  font-style: normal;  background: url(images/ ............ .gif) repeat-x bottom right; } .buttonlist ul li a.active span, .buttonlist_bottom ul li  ............ ) no-repeat bottom left;  padding: 0 0 0 8px; } .buttonlist ul li a span.last, .buttonlist_bottom ul li a  ............  0.5em; }  /* For links that are basically submit buttons. */ .buttonlist_submit {  background:  ............  vertical-align: top;  text-decoration: none;  font-size: 9px;  font-family: tahoma, sans-serif;   ............ : 0; }  .buttonlist_submit:hover {  color: #e0e0ff; }  /* ..for  ............  "bottom" menu */ .buttonlist_bottom ul {  background: url(images/ ............ .gif) no-repeat top left; } .buttonlist_bottom ul li a span {  padding: 0.5em 0.5em  ............ (images/mirrortab_back.gif) repeat-x top left; } .buttonlist_bottom ul li a.active {  background: url( ............ .gif) no-repeat top right; } .buttonlist_bottom ul li a.active span em {  background: ............ /mirrortab_active_back.gif) repeat-x top right; } .buttonlist_bottom ul li a.active span {  background:  ............ .gif) no-repeat top left; } .buttonlist_bottom ul li a span.last {  padding: 0.5em  ............ ; } /* the old type of menu, with images */ .oldbuttonlist {  text-align: right;  padding: 0.5em; }   ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding:  ............  6px 6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding:  ............  6px 2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............ : 1px solid #505050;  position: absolute;  font-size: .7em; }  /* An auto suggest item */ . ......
#715
Arşiv / Re: Forum Ana Sekmelerine İkon Ekleme?
syyskuu 12, 2008, 11:17:02 AP tekijältä themustea
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />< ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))<br /> echo '<br /> <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ <br /> <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /><br /> < ............ ="titlebg2" height="32"><br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';<br /><br /> // this is the upshrink button for the user info section<br /> echo '<br /> < ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type="hidden"  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ (), '<br />FanTheme By <a href="http://www.smftr.com" title="smf">Burak</a><br /> </td><br />< ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > echo '' , border_ust(), '<div class="nav" style="font-size: smaller; ">';<br /><br /> // Each tree item  ............ &nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $ ............ >&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 == ......
#716
Français (French) / Re: placement de banniere
maaliskuu 29, 2011, 05:40:18 IP tekijältä imagymax
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?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");< ............ ="catbg"><br /> <img class="floatright" id="smflogo" src="', $settings['images_url'], '/smflogo. ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /><br /> ', $txt[' ............ "', $txt['search'], '" style="width: 11ex;" class="button_submit" /><br /> <input type="hidden" name=" ............  /> sId: \'upshrink\',<br /> srcExpanded: smf_images_url + \'/upshrink.gif\',<br />  ............ ']), ',<br /> srcCollapsed: smf_images_url + \'/upshrink2.gif\',<br />  ............ ">', theme_copyright(), '</li><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check/ ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ </a></li>' : '', '<br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............  clearfix">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> $classes =  ............ ();<br /> if (!empty($button['active_button']))<br /> $classes[] = 'active';< ............  /> if (!empty($button['is_last']))<br /> $classes[] = 'last';<br /> / ............  /> if ($context['browser']['is_ie6'] && !empty($button['active_button']) && !empty($button['is_last']))< ............  ', $classes);<br /><br /> echo '<br /> <li id="button_', $act, '"', !empty($classes) ? ' class="' . $ ............  . '"' : '', '><br /> <a title="', !empty($button['alttitle']) ? $button['alttitle'] : $button[' ............ '], '" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> <span>', ($ ............ ['active_button'] ? '<em>' : ''), $button['title'], ($button[' ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ .<br /> if ($context['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li' . (isset($value['active']) ?  ............ "' : '') . '><a' . (isset($value['id']) ? ' id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ['text']]) . '</span></a></li>';<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  class="active last lastactive">');<br /><br /> $buttons[count($buttons) - 1] = str_replace($list_item, $ ............ , $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', $direction != 'top' ? '_bottom' : '', '"', ( ............ ($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  class="reset clearfix">',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
#717
SMF 1.1.x Support / Re: Multiple Issues
huhtikuu 20, 2011, 09:16:18 AP tekijältä buckslayer
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /> For  ............ , $options, $txt;<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[' ............ > $settings['use_tabs'] = true;<br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /> /* Show sticky and lock status  ............ ="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 /> //  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_am", mode ? 1 : 0, ............ /> document.getElementById("upshrink_am").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 /> // 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=" ............ ">', $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 /> // This is an interesting  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /> function smf_codeFix()<br /> {< ............ , $options;<br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ $first , '">&nbsp;</td>';<br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ /td>' : '';<br /> <br /> <br /> // EzPortal Forum Button<br /> global $ezpSettings;<br /> <br /> if ($ ............ >' : '';<br /> <br /> <br /> // EzPortal Forum Button<br /> global $ezpSettings;<br /> <br /> if ($ ............ >' : '';<br /> <br /> <br /> // EzPortal Forum Button<br /> global $ezpSettings;<br /> <br /> if ($ ............  . '">&nbsp;</td>' : '';<br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ &nbsp;</td>' : '';<br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............ . '">&nbsp;</td>' : '';<br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ ' . $last . '">&nbsp;</td>' : '';<br /> // the [SMF Gallery] button<br /> if ($context[' ............  href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu'] , '</a><br /> </td>' , $ ............ /> <br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............  /> </table>';<br />}<br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /> // Create the  ............ ...<br /> foreach ($button_strip as $key => $value)<br /> {<br /> if (isset( ............ $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 /> $button_strip[$key] = $buttons[$key];<br /> }<br /> if ( ............ ($button_strip))<br /> return '<td>&nbsp;</td>';<br />  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#718
Tutoriais / Re: Imagem Upload Popup (Tinypic)
huhtikuu 25, 2009, 10:16:00 IP tekijältä arkanoidblue
......  aqui.  Koodi [Valitse] Laajenna <p><span style="font-family: verdana; font-size: 7.5pt; color: e10000;" ............ /cole o codigo na sua menssagem! (Deixe o tamanho Default ligado)</span></p>  <script type="text/javascript" ............ .js" type="text/javascript"></script> <input type="button" value="TinyPic Plugin" onclick="javascript: ............  Diretório.  Geralmente diretorios, /forum ou /SMF  Koodi [Valitse] Laajenna \'http://www.seusite. ......
#719
Arşiv / Re: İstatistikleri anasayfada gösterme
lokakuu 18, 2005, 06:18:06 IP tekijältä PiRaNa
......  menu sub template should display all the relevant buttons the user wants and or needs. For more  ............  $settings, $options, $txt; /* Use images from default theme when using templates from the default theme? ............  if this is 'always', images from the default theme will be used. if this is 'defaults',  ............  from the default theme will only be used with default templates.  ............  is 'never' or isn't set at all, images from the default theme will not be used. */ $settings[' ............  What document type definition is being used? (for font size and other issues.) 'xhtml' for an  ............  for. This should probably be the version of SMF it was created for. */ $settings[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /> <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc1"></script> < ............ ="text/javascript"><!-- // --><![CDATA[ var smf_theme_url = "', $settings['theme_url'], '";  ............  smf_images_url = "', $settings['images_url'], '";  ............  var smf_scripturl = "', $scripturl, '"; 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...) Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual. Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />'; // Show  ............  + (mode ? 1 : 0);'; else echo ' smf_setThemeOption("collapse_header", mode ? 1 : 0);'; ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  <img src="', $settings['images_url'], '/smflogo.gif" style="width: 0px; float: ', !$context[' ............ '])) echo ' <span style="font-family: Georgia, sans-serif; font-size: xx-large;" ............ ="top" class="smalltext" style="width: 100%; font-family: verdana, arial, sans-serif;">'; // If  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>  ............  <option value="60">', $txt['smf53'], '</option> < ............  value="1440">', $txt['smf47'], '</option> < ............  value="10080">', $txt['smf48'], '</option> < ............  value="302400">', $txt['smf49'], '</option> < ............  value="-1" selected="selected">', $txt['smf50'], '</option> </ ............ ], '" /><br /> ', $txt['smf52'], ' <input type=" ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a> <input type=" ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............ "><!-- // --><![CDATA[ function smfFooterHighlight(element, value) {  ............  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=" ............  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'] . '/'  ......
#720
SMF 1.1.x Support / Re: "�" marks with a new theme
huhtikuu 15, 2011, 06:40:10 AP tekijältä Caltson
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))<br /> echo '<br /> <span style="font-family: Tahoma, sans-serif; font-size: 140%; ">',  ............ <br /> <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /><br /> < ............ ="titlebg2" height="42"><br /> <span style="font-size: 90%;"> ', $txt['hello_member_ndt'], ' <b>',  ............ '], '</span>';<br /><br /> // this is the upshrink button for the user info section<br /> echo '<br /> < ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type="hidden"  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ "><br /> <ul>';<br /> // Show the [home] button.<br /> echo '<li><a' , $current_action=='home' ............ ] , '</a></li>';<br /><br /> // Show the [help] button.<br /> echo '<li><a' , $current_action=='help' ............ ></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> </td>';<br /><br />  ............ 'main' : 'mirror', 'tab_back">', implode(' | ', $button_strip) , '</td><br /> <td class="', $direction == ......
Advertisement: