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
#161
......  <script type="text/javascript" src="', $settings['default_theme_url'], '/side-bar_c_jq.js.js"></script>';   ............ "><img src="', $settings['images_url'], '/slide-button2.gif" alt="sideBar" title=""></a>  <div class=" ............  .sideBarContentsInner h2 {  color: #fff;  font: bold 90% arial, sans-serif;  margin: 10px;   ............ -space: nowrap; } .sideBarContentsInner h2 span {  font-size: 105%;  font-weight: normal; } . ............  li a:visited {  color: #fff;  font-family: verdana, arial, sans-serif;  font-size:  ............  Set width to width of the sideBarTab image (slide-button.gif) */  height: auto;  top: 100px;  left: 0;   ............  to dimensions of the sideBarTab image (slide-button.gif) */  width: 28px;  display: block;  border:  ............ ; /* Set to width of the sideBarTab image (slide-button.gif) */ } #bar1 .sideBarContentsInner li {  width: ............  , side-bar_c_jq.js.js dosyasinida Themes/default klasörüne atin   Alıntıdır: Duncan85 Orjinal Konu  ......
#162
SMF 1.1.x Support / URL link color - How to change?
tammikuu 17, 2007, 09:08:34 IP tekijältä keith021773
...... SMF Version: SMF 1.1.1 Hey all. I was wondering (I  ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  color: #000000;  font-size: small;  font-family: verdana, sans-serif;  ............  normal so they align well. */ input, textarea, button {  color: #000000;  font-family: verdana,  ............ -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 { }  /* Selects are a bit  ............  it makes them look even better . */ select {  font-size: 90%;  font-weight: normal;  color: # ............ ;  font-family: verdana, sans-serif; }  /* Standard  ............  #000000;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A  ............  color: #000000;  background-color: #dddddd;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............  th, tr.titlebg2 td {  color: #ffffff;  font-style: normal;  background-image: url(images/ ............ .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: #ffffff;  font-style:  ............ :link, .titlebg2 a:visited {  color: #ffffff;  font-style: normal;  text-decoration: underline; }  . ............ -repeat: repeat-x; } .catbg, .catbg2 {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  color: #000000;  text-decoration:  ............  #696969;  background-color: #FFFFFF; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: verdana, sans- ............ ; } .middletext {  font-size: 90%; } .normaltext {  font-size: small; }  ............ .largetext {  font-size: large; }   /* Posts and personal messages  ............  {  color: #000000;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding:  ............  6px 6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  color: #000000;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding:  ............  6px 2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ......
#163
Graphics and Templates / header questions
helmikuu 12, 2005, 12:52:51 AP tekijältä richards
......  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  ............ ="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 / ............ /* 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" : "/ ............ " type="text/javascript"><!--<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#164
Graphics and Templates / Dark Classic Colour Scheme
joulukuu 29, 2004, 10:10:46 AP tekijältä popdog
......  the css. I've also used the simple black mini buttons by andrea. I'm not sure how to create a theme  ............ [Valitse] Laajenna /* Style.css file for "Classic" SMF Theme by Simple Machines  * Modified "dark"  ............ ;  text-decoration: none; } a.nav:hover {  font-weight: bold;  color: #cc3333;  background-color:  ............  {  empty-cells: show; }  body {  color: #ffffff;  font-size: small;  font-family: verdana, arial,  ............ , sans-serif;  background-color: #000000; } /* By default (td, body..) use Verdana in black. */ td {  color: ............  #CCCCCC;  font-size: small;  font-family: verdana, arial,  ............  normal so they align well. */ input, textarea {  font-size: 9pt;  color: #CDCDCD;  font-family: verdana, ............  it makes them look even better 8). */ select {  font-size: 8pt;  font-weight: normal;  color: #CDCDCD;  ............  font-family: verdana, arial, helvetica, sans-serif;   ............  1px solid #BCBCBC;  margin: 10px;  padding: 1px;  font-size: x-small; }  /* A code block - maybe even  ............ : 1px solid #BCBCBC;  margin: 1px;  padding: 1px;  font-size: x-small; }  /* The "Quote:" and "Code:"  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............  td, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  font-style: normal;  color: # ............ , page indexes, and such things. */ .catbg {  font-weight: bold;  background-color: #474747;  /* ............ ; } .tborder {  border: 1px solid #000000; }  /* Default font sizes. */ .smalltext {  font-size: x-small; } ............  .normaltext {  font-size: small; } .largetext {  font-size: large; }   ............  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  ............ ="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 / ............ /* 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 />  ............ ="left"><img src="', $settings['images_url'], '/smflogo.gif" alt="" /></td><br /> <td valign=" ............ " class="tborder" style="border-width: 1px 0 0 0; font-size: smaller;">';<br /><br /> // Show the menu  ............ "><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 /> </form><br /> </td></tr><br /> </ ............  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 /> <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#165
Graphics and Templates / Tab missing when clicked on. Why?
syyskuu 26, 2010, 07:40:00 AP tekijältä mimiy2k
......  screenshot. hxxp:www.videopitch.tv/forum/Themes/default/images/Sample_Page.pdf [nonactive]  I am on a  ............  too!  Thank you!!!  Mimi   /* Generated by SMF Theme Generator hxxp:www.smfhacks.com [nonactive]  ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  color: #000000;  font-size: small;  font-family: verdana, sans-serif;  ............  normal so they align well. */ input, textarea, button {  background-color: ;  color: #000000;   ............ -family: verdana, sans-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 { }  /* Selects are a bit  ............  it makes them look even better . */ select {  font-size: 90%;  font-weight: normal;  color: # ............ ;  font-family: verdana, sans-serif; }  /* Standard  ............  #000000;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A  ............  color: #000000;  background-color: #dddddd;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............ .titlebg2 th, tr.titlebg2 td {  color: white;  font-style: normal;  background: url(images/titlebg. ............ .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: white;  font-style:  ............  a:link, .titlebg2 a:visited {  color: white;  font-style: normal;  text-decoration: underline; }  . ............ -bottom: solid 1px #6e7072; } .catbg, .catbg2 {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  color: white;  text-decoration:  ............  #696969;  background-color: #FFFFFF; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: verdana, sans- ............ ; } .middletext {  font-size: 90%; } .normaltext {  font-size: small; }  ............ .largetext {  font-size: large; }   /* Posts and personal messages  ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding:  ............  6px 6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  8px; } .maintab_active_first {  background: url(default/images/maintab_active_first.gif) left bottom no- ............ : 6px; } .maintab_active_back {  background: url(default/images/maintab_active_back.gif) left bottom  ............ -x; } .maintab_active_last {  background: url(default/images/maintab_active_last.gif) left bottom no- ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding:  ............  6px 2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............ ;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px; ......
#166
Español (Spanish) / Adsense según categorías
joulukuu 14, 2009, 05:00:16 AP tekijältä itxel
......  caso es que tengo una web corriendo bajo el foro SMF con programación PHP MySQL y llegado el momento  ............ .getElementById(\'error\').innerHTML=\'<br><font class="size10" style="color: red;">No has escrito  ............ &uacute;n comentario.</font>\'; return false;} if(comentario.length>892){   ............ { document.getElementById(\'errors\').innerHTML=\'<font class="size10" style="color: red;">Es necesaria  ............  causa de la eliminaci&oacute;n.</font>\'; return false;}}</script> <a name="inicio"></a> ............ :</div> <div class="box_rss"><img src="/Themes/default/images/blank.gif" style="width: 16px; height:  ............ ($message['member']['title']) . '" src="/Themes/default/images/icons/banderas/'.$message['member']['title' ............ ';}  else  echo' <img src="/Themes/default/images/icons/banderas/ot.gif">'; echo'<br> <br />< ............ /a></div><br /><br>';  if ($settings['show_profile_buttons'])  {   if ($context[' ............ ']['online']['label'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/ ............  de ', $message['member']['name'], '" src="/Themes/default/images/icons/icono-foto.gif" alt="Galer&iacute;a  ............ , $message['member']['name'], '"><img src="/Themes/default/images/rss.gif" alt="Ver Feed de ', $message[' ............ ></div> <div class="box_rss"><img src="/Themes/default/images/blank.gif" style="width: 16px; height:  ............ </div> <div class="box_rss"><img src="/Themes/default/images/blank.gif" style="width: 16px; height:  ............ ['allow_admin']) echo'<input class="login" style="font-size: 11px;" value="Editar post" title="Editar  ............ '], ';sesc=', $context['session_id'], '\'" type="button"> <input class="login" style="font-size: 11px;"  ............ ['can_remove']){ echo'<input class="login" style="font-size: 11px;" value="Editar post" title="Editar  ............ '], ';sesc=', $context['session_id'], '\'" type="button"> <input class="login" style="font-size: 11px;"  ............ '], ';sesc=', $context['session_id'], '\'" type="button"> <hr>';}}  if($context['novato'] || $context[' ............  alt="Enviar a un amigo" border="0" src="/Themes/default/pix/group_go.png" align="absmiddle" hspace="4"> ............ "><img alt="Imprimir post" border="0" src="/Themes/default/pix/printer.png" align="absmiddle" hspace="4">  ............ '] as $posts10){echo' <div><img src="/Themes/default/images/post/icono_'.$posts10['idb'].'.gif" title=" ............ </div> <div class="box_rss"><img src="/Themes/default/images/blank.gif" style="width: 16px; height:  ............ ,$topic, '"><img title="Agregar Tags" src="/Themes/default/images/icons/icono-agregar-etiqueta.gif" align=" ............ : hxxp:del.icio.us [nonactive]"><img src="/Themes/default/pix/delicious.png";"></a></div>  <div class=" ............ "_blank" title="Agregar a: Digg"><img src="/Themes/default/pix/digg.png";"></a></div>  <div class="icon_img"  ............ " title="Agregar a: Facebook"><img src="/Themes/default/pix/facebook.png";"></a></div>  <div class=" ............ " title="Agregar a: Twitter"><img src="/Themes/default/pix/twitter.png";"></a></div>   <div class=" ............ " title="Agregar a: Twitter"><img src="/Themes/default/images/icons/cwbig-v1-iconos.gif?v3.2.3" style=" ............ </div> <div class="box_rss"><img src="/Themes/default/images/blank.gif" style="width: 16px; height:  ............ ', $context['current_topic'], '"><img src="/Themes/default/images/icons/cwbig-v1-iconos.gif?v3.2.3" style=" ............  MP a: '.$coment['nomuser'].'"><img src="/Themes/default/images/espacio.gif" align="top" border="0"></a><a  ............ (0)" title="Citar Comentario"><img src="/Themes/default/images/espacio.gif" align="top" border="0"></a>  ............  Seleccionados:</span> <input class="login" style="font-size: 9px;" type="submit" value="Eliminar">';} ............ </div> <div class="box_rss"><img src="/Themes/default/images/blank.gif" style="width: 16px; height:  ............  = ', $options['view_newest_first'], '  smf_topic = ', $context['current_topic'], ';   ............  = ', $context['start'], ';  var smf_template_body_normal = \'%body%\';  var  ............ %</a>\'; if (window.XMLHttpRequest) showModifyButtons();</script> <span class="size11"><form action="/? ......
#167
SMF Coding Discussion / Can someone please add these tabs?
huhtikuu 28, 2009, 08:38:25 IP tekijältä ultimate101
......  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 /><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 />  ............  ? 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. ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............ <br /> <span class="smalltext"><br />', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </ ............  /> <ul id="topmenu">';<br /> // Show the [home] button.<br /> echo '<li><a' , $current_action=='home' ?  ............ ] , '</a></li>';<br /><br /> // Show the [help] button.<br /> echo '<li><a' , $current_action=='help' ?  ............ '</a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ '' , '</a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<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 == ......
#168
Graphics and Templates / help centering logo
maaliskuu 07, 2009, 09:16:07 IP tekijältä kreeze
......  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............   $settings['use_tabs'] = true;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>  < ............ ="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";   ............  var smf_scripturl = "', $scripturl, '";  var  ............ '] ? 'true' : 'false', ';  var smf_charset = "', $context['character_set'], '";  // ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)  Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.  Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............  + (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ($context['user']['avatar']))  echo '<div id="smf-avatar">'.$context['user']['avatar']['image'].'</ ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>  <form  ............  '  <br /><div class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</div>';   // This is an interesting  ............  echo '  window.addEventListener("load", smf_codeFix, false);   function smf_codeFix()  ............  echo '  window.addEventListener("load", smf_codeFix, false);  function smf_codeFix()   ............  = window.onload;  window.onload = smf_codeFix;   function smf_codeFix()   ............ , $options;   echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-left:  ............ ="maintabs">   <ul>';  // Show the [home] button.  echo '<li', $current_action == 'home' ? '  ............ '">' , $txt[103] , '</a></li>'; // Show the [help] button.  echo '<li', $current_action == 'help' ? '  ............ $txt[119] , '</a></li>'; // How about the [search] button? if ($context['allow_search'])  echo '<li', $ ............ ['calendar24'] , '</a></li>'; // The [member] list button. if ($context['allow_memberlist'])  echo '<li',  ............ '; // If the user is a guest, also show [register] button. if ($context['user']['is_guest'])  echo '<li',  ............ /a></li>'; // If the user is a guest, show [login] button. if ($context['user']['is_guest'])  echo '<li',  ............  } Koodi [Valitse] Laajenna // Generate a strip of buttons. function template_button_strip($button_strip, $ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   // Create the  ............ ...  foreach ($button_strip as $key => $value)  {  if (isset($ ............ $context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }   ............  (!isset($buttons[$key]) || $force_reset)  $buttons[$key] = ............ '') . '>' . $txt[$value['text']] . '</a>';   $button_strip[$key] = $buttons[$key];  }   if (empty($ ............ 'main' : 'mirror', 'tab_back">', implode(' | ', $button_strip) , '</td>  <td class="', $direction ==  ......
#169
SMF 1.1.x Support / Problem with menu tabs
syyskuu 15, 2008, 07:37:43 IP tekijältä Bytor
......  tried adding a Menu tab for the Default Theme 1.1.5. using this code:  Koodi [Valitse]  ............  // Show the [FrontPage] button.  echo ($current_action=='FrontPage' || $ ............  I found a mod that could add it for you - "yourbutton".  I install the mod, yet I couldn't modify the  ............  uninstalled the mod & now I have a second "help" button that works like the button I tried installing the  ............  & I cannot find the code for the second "help" button to modify it.   How can I either remove the  ............  help button or modify if to read [FrontPage].  Here is a copy  ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))<br /> echo '<br /> <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ <br /> <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /><br /> < ............ ="titlebg2" height="32"><br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';<br /><br /> // this is the upshrink button for the user info section<br /> echo '<br /> < ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type="hidden"  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '">&nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ >&nbsp;</td>' : '';<br /><br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ </td>' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............ ' : '';<br /><br /> // Show the [FrontPage] button.<br /> echo ($current_action=='FrontPage' || $ ............ ;</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 == ......
#170
Français (French) / QUI PEUT M'AIDER XITI et PAGE PHP
heinäkuu 26, 2008, 02:21:45 AP tekijältä winkler
......  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............  $settings['use_tabs'] = false;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>  < ............ ="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";   ............  var smf_scripturl = "', $scripturl, '";  var  ............ '] ? 'true' : 'false', ';  var smf_charset = "', $context['character_set'], '";  // ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)  Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.  Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............ ['header_logo_url'] : $settings['images_url'] . '/smflogo.gif', '" alt="" /></td>  <td valign=" ............ " class="tborder" style="border-width: 1px 0 0 0; font-size: smaller;">';   // Show the menu here,  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>   <form  ............ ">  <option value="60">', $txt['smf53'], '</option>  <option value=" ............ ">', $txt['smf47'], '</option>  <option value=" ............ ">', $txt['smf48'], '</option>  <option value=" ............ ">', $txt['smf49'], '</option>  <option value="-1"  ............ ="selected">', $txt['smf50'], '</option>  </select>   ............ ="', $txt[34], '" /><br />  ', $txt['smf52'], '  <input type="hidden" name=" ............  align="center" class="smalltext">  ', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '  </div>';   // The following will be  ............  // 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'] . '/'  ............ , '?action=help">', ($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'] . '/'  ............ >' : $txt[108]), '</a>'; }  // Generate a strip of buttons, out of buttons. function template_button_strip($ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   if (empty($ ............ ))  return '';   // Create the buttons...  foreach ($button_strip as $key => $value)   ............ $context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }   ............  (!isset($buttons[$key]) || $force_reset)  $buttons[$key] = ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ="0" />' : $txt[$value['text']]) . '</a>';   $button_strip[$key] = $buttons[$key];  }   echo '   ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>'; }  ?>  ************************  ......
#171
SMF 2.0.x Support / Header/Banner Issue
maaliskuu 30, 2008, 10:32:11 IP tekijältä RL Joneson
...... . I can't find the right code to get rid of the default background and border around my banner. Here's  ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?b21"></script>< ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/theme.js?b21"></script><br  ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?b21" media="print" /> ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/fonts-compat.css" />';<br />< ............  main header object.<br /> var mainHeader = new smfToggle("upshrink", ', empty($options[' ............ ']))<br /> echo '<br /> <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ ="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'], '/scripts/sha1.js"></script><br />< ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex;">';<br /><br /> ............ >&nbsp;</td>';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> echo ($button[' ............ >' : '' , ' <td valign="top" class="maintab_', $button['active_button'] ? 'active_back' : 'back', '"><br  ............ /> <a href="', $button['href'], '">', $button['title'], '</a><br /> </ ............ >', $button['active_button'] ? '<td class="maintab_active_' .  ............ >';<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 /> {<br /> if ($ ............ ['url'] === '{SUBMIT}')<br /> $buttons[$key] = '<input type="submit" value="' . (isset($ ............ 'custom'] : '') . $txt[$value['text']] . '" class="button_strip_submit" />';<br /> else<br /> $buttons[ ............  . $txt[$value['text']] . '</a>';<br /> }<br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  color: #000000;  font-size: small;  font-family: verdana, sans-serif; }  ............  normal so they align well. */ input, textarea, button {  color: #000000;  font-family: verdana, sans- ............ ; } input, button {  font-size: 90%; }  textarea {  font-size: 100%; ............   color: #000000;  font-family: verdana, sans-serif; }  /* All input  ............  that are checkboxes or radio buttons. */ input.check { }  /* Selects are a bit  ............  it makes them look even better 8). */ select {  font-size: 90%;  font-weight: normal;  color: #000000;  ............  font-family: verdana, sans-serif; }  /* Standard  ............ : 1px solid #000000;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A code  ............  {  color: #000000;  background-color: #dddddd;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............ , tr.titlebg2 th, tr.titlebg2 td {  color: black;  font-style: normal;  background: url(images/titlebg. ............ } .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: black;  font-style: normal;  ............  a:link, .titlebg2 a:visited {  color: black;  font-style: normal;  text-decoration: underline; }  . ............ -bottom: solid 1px #375576; } .catbg, .catbg2 {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  color: white;  text-decoration: none;  ............  solid #696969;  background-color: #FFFFFF; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: verdana, sans-serif;  ............ } .middletext {  font-size: 90%; } .normaltext {  font-size: small; } . ............  {  font-size: large; }   /* Posts and personal messages  ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding: 2px  ............  6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding: 6px  ............  2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............  {  background: #32CD32;  color: white;  font-weight: bold;  font-size: 18pt;  padding: 3px;   ......
#172
SMF 1.1.x Support / No border around boards
marraskuu 25, 2007, 04:17:27 IP tekijältä copter
...... SMF Version: SMF 1.1.4 Hi   I have been searchin  ............  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" : "/ ............ ['header_logo_url'] : $settings['images_url'] . '/smflogo.gif', '" alt="" /></center>';<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 />  ............ ="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> <input type="hidden" name=" ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > 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: small;"' : '', '>';<br /><br /> // Each  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> <a href="../">', ($ ............ ['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=help">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  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 />?> Koodi [ ............  link tree. */ .nav, .nav:link, .nav:visited {  font-size: small;  font-weight: bold;  color: #008000;  ............  text-decoration: none; } a.nav:hover {  font-size: small;  font-weight: bold;  color: #008000;  ............  too. */ table {  empty-cells: show; }  /* By default (td, body..) use Arial in black. */ body, td {   ............ : #000000;  font-size: small;  font-family: arial, helvetica, sans- ............  normal so they align well. */ input, textarea, button {  font-size: 9pt;  font-family: arial, helvetica, ............  it makes them look even better 8). */ select {  font-size: 8pt;  font-weight: normal;  font-family:  ............ : 1px solid black;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A code  ............  {  color: #000000;  background-color: #CCCCCC;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............  {  background-color: yellow;  color: black;  font-weight: bold; }  /* Alternating backgrounds... */  ............  td, .titlebg2 a:link, .titlebg2 a:visited {  font-weight: bold;  font-style: normal;  background- ............  a:link, .catbg3 a:visited, .catbg3 a:hover {  font-weight: bold;  background-color: #008000;  color:  ............  a:link, .catbg2 a:visited, .catbg2 a:hover {  font-weight: bold;  background-color: #008000;  color:  ............ ; } .tborder {  border: 1px solid #008000; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: 8pt; } .normaltext {  font-size: small; } ............  .largetext {  font-size: large; }  /* This is for the special header  ............ : #E0FFE0;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px;   ......
#173
Temas y Diseño (Themes) / Ayuda con el logo de mi Foro
lokakuu 16, 2007, 04:57:31 IP tekijältä Ariatna
......  y al final no he tenido éxito. Les explico... uso smf 1.1.4 con Tiny Portal  El Theme es 7dana.   El  ............  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 />  ............ );';<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" : "/ ............ <br /> <img src="', $settings['images_url'], '/smflogo.jpg" height="300" width="888" style="float:  ............ ="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=" ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............ , '?action=search;advanced" title="', $txt['smf298'], '"><span id="adv">', $txt['smf298'], '</ ............ /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=" ............  class="smalltext2" style="padding:5px;">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // 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=forum">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=groups">', ($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 />?> ......
#174
SMF 1.1.x Support / need to install a banner with a url
kesäkuu 04, 2007, 03:56:39 IP tekijältä heywood
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" media="print" />';< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  you want...<br /> echo '<br /> <span style="font-family: Georgia, sans-serif; font-size: xx-large;" ............ ="100%" valign="top" class="windowbg2" style="font-family: verdana, arial, sans-serif; font-size: x- ............ "><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=" ............  /> <td class="windowbg2" width="100%" style="font-size: x-small">', $context['random_news_line'], '< ............  /> <td class="windowbg2" width="100%" style="font-size: x-small"><b>', $modSettings['totalMessages'] ............ , '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  nowrap;"><br /> ', theme_copyright(), '<br /><font size="1">Theme by Nesianstyles | Buttons by  ............ </font><br /> </td><br /> </tr><br /> </table>';< ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav" style="font-size:  ............ , $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 />?> this is  ......
......  for the answer, I've done so across the official smf forums and this one, and several other guides and  ............  trying to edit my own theme from one based on the default. I've edited the style.css using the admin panel  ............  and mostly, nothing happens. A few of the font colors change, a "a:visited" or so will change,  ............ , finishes loading and it goes back to the 99% default look.   I've ftp'd the style.css up to the site.  ............  several themes I've installed. I did use some Default Color Modification themes from the SMF forums,  ............  #ffffff;  padding: 4px;  display: block;  font-weight: bold;  }  .sitemap_header_active{   ............  #ffffff;  padding: 4px;  display: block;  font-weight: bold; }  .sitemap_header:hover , . ............ : 0; }  /* TP rss feed styles */ .rss_title{  font-weight: bold; }  .rss_body{  margin-bottom: 1ex; ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  color: #000000;  font-size: small;  font-family: verdana, sans-serif;  ............  normal so they align well. */ input, textarea, button {  color: #000000;  font-family: verdana,  ............ -serif; } input, button {  font-size: 90%; }  textarea {  font-size:  ............ %;  color: grey;  font-family: verdana, sans-serif; }  /* All input  ............  that are checkboxes or radio buttons. */ input.check { }  /* Selects are a bit  ............  it makes them look even better . */ select {  font-size: 90%;  font-weight: normal;  color: # ............ ;  font-family: verdana, sans-serif; }  /* Standard  ............  #000000;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A  ............  color: #000000;  background-color: #dddddd;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............ .titlebg2 th, tr.titlebg2 td {  color: white;  font-style: normal;  background: url(images/titlebg. ............ .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: white;  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:  ............  solid #696969;  background-color: white; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: verdana, sans- ............ ; } .middletext {  font-size: 90%; } .normaltext {  font-size: small; }  ............ .largetext {  font-size: large; }   /* Posts and personal messages  ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding:  ............  6px 6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  color: black;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding:  ............  6px 2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............ ;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px; ......
#176
......  have a problem using smf forum as wrapped with joomla. i'm using joomla 1. ............ .8 smf 1.1RC2 and joomla bridge 1.1.4.  unwrapped it  ............  to work ok but wrapped the var smf_session_id = "numberslettersmany"; changes on  ............ . this doesnt happen in unwrapped. i am using default joomla template and smf theme. the error it  ............  again." trying to logout causes same error and smf_session_id changes every time. that seems to be  ............  it to happen i have no idea.  i have fiddled with smf setting as described here http://www. ............ " type="text/javascript"></script>  <title>joomlasmf</title> <meta name="description" content="Joomla - ............ " src="this.is.hidden.url/foorumi/Themes/default/script.js?rc2"></script> <script language=" ............  type="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "this.is.hidden.url/foorumi/Themes/ ............ ";  var smf_images_url = "this.is.hidden.url/foorumi/Themes/ ............ /images";  var smf_scripturl = "this.is.hidden.url/index.php?option= ............ &Itemid=48&";  var smf_session_id = "802abd1fc1f558add9d4aaa628a8a06d";   ............ "text/css" href="this.is.hidden.url/foorumi/Themes/default/style.css?rc2" /> <link rel="stylesheet" type=" ............ /css" href="this.is.hidden.url/foorumi/Themes/default/print.css?rc2" media="print" /> <link rel="help"  ............ ="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=help" target="_blank" />  ............ " href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=search" /> <link rel=" ............ " href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;" /> <link rel="alternate" type= ............ " href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;type=rss;action=.xml" /> < ............  function shrinkHeader(mode)   { smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ "); document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  function shrinkHeaderIC(mode)   { smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ "); document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ">  <tr>  <td class="outline">  <div id="buttons_outer">  <div id="buttons_inner">  < ............  id="buttons">  </div>  </div>   </div>   ............ ><a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48" class="mainlevel" id="active_menu"> ............ "left"><td><a href="this.is.hidden.url/?option=com_smf&amp;Itemid=48&amp;action=calendar" class=" ............ ="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;" align=" ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=pm">0 messages</a>, 0  ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=unread">Show unread  ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=unreadreplies">Show new  ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=logout&amp;returnurl=2& ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " src="this.is.hidden.url/foorumi/Themes/default/script.js?rc2p"></script>  <script language=" ............  type="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "this.is.hidden.url/foorumi/Themes/ ............ ";  var smf_images_url = "this.is.hidden.url/foorumi/Themes/ ............ /images";  var smf_scripturl = "this.is.hidden.url/index.php?option= ............ "text/css" href="this.is.hidden.url/foorumi/Themes/default/style.css?rc2" />  <link rel="stylesheet" type=" ............ /css" href="this.is.hidden.url/foorumi/Themes/default/print.css?rc2" media="print" />  <link rel="help"  ............ ="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=help" target="_blank" />  ............ " href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=search" />  <link rel=" ............ " href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48" />  <link rel="alternate" type=" ............ " href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;type=rss;action=.xml" />   < ............  = false;   function shrinkHeader(mode)  {  smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ ");  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  false;   function shrinkHeaderIC(mode)  {  smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ ;  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  <td class="catbg" height="32">  <span style="font-family: Verdana, sans-serif; font-size: 140%; "> ............ >  <img src="this.is.hidden.url/foorumi/Themes/default/images/smflogo.gif" style="margin: 2px;" alt="" /> ............  class="titlebg2" height="32">  <span style="font-size: 130%;"> Hello <b>admin</b></span>   </td> ............  <a href="this.is.hidden.url/index.php?option=com_smf&Itemid=48#" onclick="shrinkHeader(!current_header) ............ ="upshrink" src="this.is.hidden.url/foorumi/Themes/default/images/upshrink.gif" alt="*" title="Shrink or  ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=unread">Show unread  ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=unreadreplies">Show new  ............ ">   <span class="smalltext"><b>News</b>: SMF - Just Installed!</span>  </td>  <td class=" ............  action="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=search2" method="post"  ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=search;advanced"><img  ............ ="this.is.hidden.url/foorumi/Themes/default/images/filter.gif" align="middle" style="margin:  ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48">Home</a>  </td><td class=" ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=help">Help</a>  </td>  ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=search">Search</a>   < ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=admin">Admin</a>  </ ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=profile">Profile</a>   ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=pm">My Messages </a>   ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=calendar">Calendar</a>   ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=mlist">Members</a>   < ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=logout;sesc= ............ >  <td valign="bottom"><div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ ><a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48" class="nav">name.disabled.com</a></ ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=collapse;c=1;sa=collapse; ............ #1"><img src="this.is.hidden.url/foorumi/Themes/default/images/collapse.gif" alt="-" border="0" /></a>   ............ ="1" href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=collapse;c=1;sa=collapse; ............ "><a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=unread;board=1.0"><img  ............ ="this.is.hidden.url/foorumi/Themes/default/images/off.gif" alt="No New Posts" title="No New  ............ ><a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;board=1.0" name="b1">General  ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=profile;u=1">admin</a>< ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;topic=8.msg11#new" title=" ............ ">  <img src="this.is.hidden.url/foorumi/Themes/default/images/new_some.gif" alt="" align="middle" /> New  ............   <img src="this.is.hidden.url/foorumi/Themes/default/images/new_none.gif" alt="" align="middle" style=" ............ "><a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=markasread;sa=all;sesc= ............  <a href="this.is.hidden.url/index.php?option=com_smf&Itemid=48#" onclick="shrinkHeaderIC(! ............ " src="this.is.hidden.url/foorumi/Themes/default/images/collapse.gif" alt="*" title="Shrink or  ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=stats"><img src="this.is. ............ .url/foorumi/Themes/default/images/icons/info.gif" alt="Forum Stats" /></a>   ............ > <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=profile;u=8">jarri</a></ ............ ;<a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;topic=8.msg11#new" title=" ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=recent">View the most  ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=stats">[More Stats]</a>   ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=who"><img src="this.is. ............ .url/foorumi/Themes/default/images/icons/online.gif" alt="Users Online" /></a> ............  <a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=who">0 Guests, 1 User</a> ............ /><a href="this.is.hidden.url/index.php?option=com_smf&amp;Itemid=48&amp;action=profile;u=1" style=" ............ "text/javascript"><!-- // --><![CDATA[  function smfFooterHighlight(element, value)  {  element. ............  = smf_images_url + "/" + (value ? "h_" : "") + element. ............ -mysql" src="this.is.hidden.url/foorumi/Themes/default/images/powered-mysql.gif" alt="Powered by MySQL"  ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ -php" src="this.is.hidden.url/foorumi/Themes/default/images/powered-php.gif" alt="Powered by PHP"  ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ " style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;"><a href=" ............ "Simple Machines Forum" target="_blank">Powered by SMF 1.1 RC2</a> |   <a href="http://www. ............ .php" title="Free Forum Software" target="_blank">SMF &copy; 2001-2005, Lewis Media</a>  </span>  </ ............ -xhtml10" src="this.is.hidden.url/foorumi/Themes/default/images/valid-xhtml10.gif" alt="Valid XHTML 1.0!"  ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ "valid-css" src="this.is.hidden.url/foorumi/Themes/default/images/valid-css.gif" alt="Valid CSS!" width="54"  ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  1149340861 -->  trouble seems to be that this var smf_session_id = "802abd1fc1f558add9d4aaa628a8a06d";  ............  changed on every click on the forum buttons and only forum button. it doesnt change on  ......
#177
Graphics and Templates / Webmaster Desperately In Need Of Help.
joulukuu 28, 2005, 12:28:55 IP tekijältä narcotickid
......  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  ............ ="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 / ............ /* 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" : "/ ............ " type="text/javascript"><!--<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /><a href="', $scripturl, '">',  ............ ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ 'menu_separator'];<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'] . '/'  ............  <body bgcolor="#A0A2A8" style="text-align: right; font-family:Arial; font-size:8pt; color:#000000; font............  #525252" height="25" bgcolor="#C9C9B7">  <font face="Arial" style="font-size: 8pt; font-weight:  ............ ">  &nbsp;</font><font face="Arial" style="font-size: 9pt; font............ : 700">Advertisements</font></td>  <td width="8" rowspan="3">&nbsp;</ ............  <body bgcolor="#A0A2A8" style="text-align: right; font-family:Arial; font-size:8pt; color:#000000; font............  <body bgcolor="#A0A2A8" style="text-align: right; font-family:Arial; font-size:8pt; color:#000000; font......
#178
Español (Spanish) / Tengo dos botones "Foro"
heinäkuu 30, 2010, 03:56:36 IP tekijältä Cola-Coca
......  FORO.  Theme que uso se llama "mysticjade" y SMF 1.1.11   Stava buscando mastante tiempo en index. ............  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. ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............ ['show_load_time'])<br /> echo '<br />'. $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];<br /><br /> echo '<br /> </div><br /> </ ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  '<br /> <ul>';<br /><br /> // Show the [Home] button.<br /> echo '<li><a href="', $scripturl, '">' ,  ............ ;</td>' : '';<br /> <br /> // Show the [Radio] button.<br /> echo '<li><a href="#" onclick="window. ............ ]!='boardindex')<br /> <br /> // Show the [help] button.<br /> echo '<li><a href="', $scripturl, '? ............ /a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............  , '</a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............  // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............  </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 == ......
#179
Temas y Diseño (Themes) / Kitar cuadro de inicio de sesion en foro...
tammikuu 26, 2010, 03:35:18 IP tekijältä Khriz
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br /> < ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440"> ............ ', $txt['smf47'], '</option><br /> <option value="10080" ............ >', $txt['smf48'], '</option><br /> <option value="43200" ............ >', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br /> < ............ '<br /> <br /><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </ ............ "><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>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ['allow_color_change'] == 'no'))<br /> {<br /> // Defaults.<br /> $options['color'] = isset($settings[' ............ ="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. ............ -color: #ff0090; color: #ff0090; width: 3px; font-size: 3px;" type="submit" value="deeppink" name=" ............ -color: #d72e00; color: #d72e00; width: 3px; font-size: 3px;" type="submit" value="red" name=" ............ -color: #eaba11; color: #eaba11; width: 3px; font-size: 3px;" type="submit" value="yellow" name=" ............ -color: #84e000; color: #84e000; width: 3px; font-size: 3px;" type="submit" value="green" name=" ............ -color: #3399ff; color: #3399ff; width: 3px; font-size: 3px;" type="submit" value="blue" name=" ............ ['show_load_time'])<br /> echo '<br />'. $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];<br /><br /> echo '<br /> </div><br /> </ ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  '<br /> <ul>';<br /> <br /> // Show the [home] button.<br /> echo '<li><a href="', $scripturl, '">' , $ ............ ] , '</a></li>';<br /> <br /> // Show the [help] button.<br /> echo '<li><a href="', $scripturl, '?action= ............ '</a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ '] , '</a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
Advertisement: