Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
#361
SMF Coding Discussion / Problems with Css style
maaliskuu 28, 2010, 07:11:19 IP tekijältä Naota
......   As you see, the unread subforums remain in black font with the black arrow.  I'd like the read  ............  with the orange arrow (child.gif) and with the font in bold type.  By the other way, I'd like to keep  ............  that I've been trying with the CSS Style from the SMF and it doesn't do this changes. I also want to  ............ ;  margin-bottom: 10px;  color: #212B32;  font-weight: normal; } span.pathway img  {  margin:  ............  cells. */ table {  empty-cells: show; } /* By default (td, body..) use verdana in black. */ body, td,  ............ , tr  {  color: #353535;  font-size: 13px;  font-family : "Segoe UI", Arial, ............  normal so they align well. */ input, textarea, button {  color: #000;  font-family: Geneva, verdana, ............  border: 1px solid #000;  padding: 2px; } input, button {  font-size: 90%; } textarea {  font-size:  ............ %;  color: #000;  font-family: Geneva, verdana, sans-serif;   ............ /* All input elements that are checkboxes or radio buttons. */ input.check { } /* Selects are a bit smaller, ............  it makes them look even better 8). */ select {  font-size: 90%;  font-weight: normal;  color: # ............ ;  font-family: Geneva, verdana, sans-serif;   ............  #000000;  margin: 1px;  padding: 1px;  font-size: 80%;  line-height: 1.4em; }  /* A code  ............  color: #000000;  background-color: #dddddd;  font-family: "courier new", "times new roman",  ............ ;  font-size: 80%;  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  ............  {  background: #f5f5f5;  color: #B8920E;  font-size: 12px;  font-family: Geneva, verdana, sans- ............  {  background: #f5f5f5;  color: #353535;  font-size: 12px;  font-family: Trebuchet MS;    ............  {  background: #f5f5f5;  color: #333333;  font: 12px;  font-family: Trebuchet MS;   border:  ............  th, tr.titlebg2 td {  color: #656565;  font-style: normal;  background: #cacaca;   ............ , .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: #656565;  font-style:  ............ ;  font-size: 12px; } .titlebg a:hover {  color: # ............ , .titlebg2 a:visited {  color: #151515;  font-style: normal;  text-decoration: underline; } . ............ -x; } .catbg, .catbg2 { } .catbg, .catbg2 {  font-weight: bold;  font-size: 12px; } .catbg3, tr. ............  td, .catbg3 a:link, .catbg3 a:visited {  font-size: 95%;  color: #fff;  text-decoration:  ............  28px;  line-height: 28px;  color: #454545;  font-weight: bold;  background: #fff url(./images/ ............ : 0px;  border: solid 1px #cacaca;  } /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: 13px; } .middletext {  font-size: 110%; }  ............ .normaltext {  font-size: small; } .largetext {  font-size: large; } ............  text-decoration: none;  vertical-align: top;  font-size: 100%;  text-transform: uppercase;  }  . ............  {  display: none; } .maintab_active_back {  font-weight: bold;  color: black; } . ............ -decoration: none;  vertical-align: bottom;  font-size: 100%;  text-transform: uppercase; }  . ............  {  display: none; } .mirrortab_active_back {  font-weight: bold;  background: #ffe080; } . ............ ;  padding-left:10px;  padding-top:10px;  font-size: 14px;  color: #6A0101;  font-family:  ............  MS;   Font-weight: bold; } #header{position:relative; height: ............ : 15px 25px 0 0;  text-align: right;  font-size: 13px;  color: #454545;  font-family:  ............ ;  text-align:center;  margin-top:0;  padding:0;  font-size:12px; font-family: optima, verdana, sans- ............  {  text-align: center; } #footerarea {  font-family: Tahoma;  font-size: 10px;  color: # ............  none;  float: center; } #footerarea a:link {  font-size: 10px;  color: #454545;  text-decoration: ............ ;  float: center; } #footerarea a:visited {  font-size: 10px;  color: #454545;  text-decoration: ............  none; } #footerarea a:hover {  font-size: 10px;  color: orange;  text-decoration:  ............ ;  float: center; } #footerarea a:active {  font-size: 10px;  color: #111;  text-decoration:  ............ ;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding:  ............  0 0 45px;  width: 110px;  height: 15px;  font-family: comic sans ms;  font-size: 14px; } # ............   height: 31px; } #nav li a {  color: #fff;  font-size: 11px;  font-weight: bold;  font-family:  ............ {  text-decoration: none;  cursor: pointer;  font-weight: bold; } #nav ul li a:hover, #nav #active  ............ ;  width: 250px;  overflow: hidden;  font-size: 12px; } #fontsize {  position: absolute;   ............ -left: 10px; } #news h2 {  position: static;  font-size: 100%;  font-weight: bold;  float: left;  ............  0 0 4px; } .titlebg3 {  color: #111111;  font-style: normal;  background: #cacaca;   ............ -left: 10px;  line-height: 10px;  font-size: 12px; } .forumara {   } .windowbgb {  ............ ; height:40px; line-height:40px; overflow:hidden; font-family : "Segoe UI", Arial, Helvetica, sans-serif; ............  font-size: 14px; text-transform: uppercase; color:# ............  color: #999999;  text-decoration: none;  font-family: Comic Sans MS;  font-size: 14px; } # ......
#362
......  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 /> <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 == ............  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............ , tr {  line-height: 150%;  font-family: tahoma, sans-serif;  color: #000000;   ............  normal so they align well. */ input, textarea, button {  color: #000000;  font-family: verdana, sans- ............ ; }  input, buttonfont-size: 100%; }  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 smaller, ............  it makes them look even better 8). */ select {  font-size: 100%;  font-weight: normal;  color: #000000; ............   font-family: Tahoma, Arial, Helvetica, sans-serif; }  / ............ : 2px solid #989898;  margin: 1px;  padding: 5px;  font-size: 11px;  line-height: 1.4em; }  /* A code  ............ .code {  color: #fff;  background-color: #d57b4f;  font-family: "courier new", "times new roman",  ............ ;  font-size: 11px;  line-height: 1.3em;  /* Put a nice  ............  {  color: #282828;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size:  ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* Alternating  ............ .titlebg2 td {  color: #fff;  size-height: 10px;  font-style: normal;  background: #7096A7 url(images/ ............  a:link, .titlebg a:visited {  color: #fff;  font-style: normal;  font-size: 9px; }  .titlebg a: ............  a:link, .titlebg2 a:visited {  color: #eee;  font-style: normal;  text-decoration: underline; }  . ............ }  .catbg, .catbg2, .catbg3 {}  .catbg, .catbg2 {  font-weight: normal;  font-size: 11px;  text-transform: ............ .catbg3 td, .catbg3 a:link, .catbg3 a:visited {  font-size: 95%;  color: #ffffff;  text-decoration:  ............ {  padding: 1px;  border: 1px solid #d5d2d2; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: 11px;  font-family: tahoma, sans-serif; }  . ............ : 18px;  text-indent: 10px; }  .normaltext {  font-size: small; }  .largetext {  font-size: large; }  ............  {  color: #f7f7f7;  text-decoration: none;  font-size: 9px;  vertical-align: middle;  padding:  ............  2px 10px 2px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  color: #ffffff;  text-decoration: none;  font-weight: bold;  background: #587A90 repeat-x;   ............  {  color: #f7f7f7;  text-decoration: none;  font-size: 9px;  vertical-align: middle;  padding:  ............  2px 6px 2px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............  {  color: #ffffff;  text-decoration: none;  font-weight: bold;  background: #587A90 repeat-x;   ............ : #32CD32;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px;   ............ : block;  position: relative;  height: 32px;  font-size: 11px;  text-transform: uppercase;  margin:  ............ ) 100% 0 no-repeat; }  .pathway {  color: #444;  font-size: 11px;  margin: 0;  padding: 10px 10px 10px  ............  a:link, .pathway a:visited {  color: #888;  font-weight: normal;  text-transform: none; }  . ............  a:hover {  color: #333;  font-weight: normal; } #bottomarea {  background: 0  ......
#363
SMF 1.1.x Support / Adding a drop menu into the forum?
tammikuu 05, 2010, 02:05:03 AP tekijältä zer0hal0
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = false;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = false;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ >var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  /> <span align="center" valign="middle"style="font-family: Verdana, sans-serif; font-size: 300%; ">', ............ " align="center"> <br /><DIV align="center"><FONT face="Trebuchet MS" size="4"><A href="http://www. ............ .com/misc-webstore.html" target="_top">WEB STORE</FONT></A></DIV><br /> </div>';<br /><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"  ............  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'] . '/'  ............ , '?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'] . '/'  ............ <br /> // The [gallery]!<br /> if ($context['allow_smfgallery_view'])<br /> echo '<br /> <a href="',  ............ , '?action=gallery">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ']['language'] . '/gallery.gif" alt="' . $txt['smfgallery_menu'] . '" style="margin: 2px 0;" border=" ............ " />' : $txt['smfgallery_menu']), '</a>', $context['menu_separator'] ............  $scripturl, '?action=pm">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=mlist">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '</a>';<br />}<br /><br />// Generate a strip of buttons, out of buttons.<br />function  ............ ($button_strip, $direction = 'top', $force_reset = false, $ ............  = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> if ( ............ ($button_strip))<br /> return '';<br /><br /> // Create  ............  buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ >' : $txt[$value['text']]) . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>';<br />}<br /><br />?> Cheers. ......
......  want to change the link of Home button in !Extreme6 theme to my website main page. Could  ............ , $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 XHTML 1. ............  is for.  This should probably be the version of SMF it was created for. */  $settings['theme_version'] ............ . */  $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>  < ............  type="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";  var  ............  = "', $settings['images_url'], '";  var smf_scripturl = "', $scripturl, '";  var  ............ ]['iso_case_folding'] ? '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 this is  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............  "upshrink=" + (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. ............  class="smalltext">', theme_copyright(), '<br /><font color="#757575">Created </font><font color="# ............ "><b>by</b></font> <a href="http://www.extreme-prohosting.com"  ............ <p align="center"><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span></p>';   // 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()  {  var  ............ , $options;   echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ ">  <ul class="kwicks">';   // Show the [home] button.  echo '<li><a href="', $scripturl, '" class= ............ "kwick opt1">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ]), '</span></a></li>';   // Show the [help] button.  echo '<li><a href="', $scripturl, '?action= ............ " class="kwick opt2" >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '</span></a></li>';   // How about the [search] button?  if ($context['allow_search'])  echo '< ............ " class="kwick opt3">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ " class="kwick opt4">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ " class="kwick opt5">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =pm" class="kwick opt6">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ="margin: 0px 0;" border="0" /><span>' : $txt['smf199']), '</span></a></li>';   // The [calendar]! ............ " class="kwick opt7">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  '</span></a></li>';    // The [member] list button :)  if ($context['allow_memberlist'])   ............ " class="kwick opt8">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............    // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])    ............ " class="kwick opt9">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ';   // If the user is a guest, show [register] button.  if ($context['user']['is_guest'])    ............ " class="kwick opt10">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ], '" class="kwick opt11">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............    echo '</ul></div>';  }  // Generate a strip of buttons. function template_button_strip($button_strip, $ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   // Create the  ............ ...  foreach ($button_strip as $key => $value)  {  if (isset($value[' ............  && empty($context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }  elseif (!isset($ ............ [$key]) || $force_reset)  $buttons[$key] = '<a href="' . $value['url'] . '" ' .(  ............ ] : '') . '>' . $txt[$value['text']] . '</a>';   $button_strip[$key] = $buttons[$key];  }   if (empty($ ............ 'main' : 'mirror', 'tab_back">', implode(' | ', $button_strip) , '</td>  <td class="', $direction == ' ......
#365
Modificaciones (Mods) / Como agregar botones?
marraskuu 07, 2009, 11:14:34 IP tekijältä Sebaas12
......  miren tengo el smf 1.1.10 con el tema joker:http://custom. ............  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............   $settings['use_tabs'] = true;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script> <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']['name'] , '</b><br />', $txt['smf199'], ': <b><a href="', $scripturl, '?action=pm">' ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>    ............  <option value="60">', $txt['smf53'], '</option>  < ............  value="1440">', $txt['smf47'], '</option>  < ............  value="10080">', $txt['smf48'], '</option>  < ............  value="43200">', $txt['smf49'], '</option>  < ............  value="-1" selected="selected">', $txt['smf50'], '</option>  </ ............  <span class="middletext">', $txt['smf52'], '</span>  <input  ............  ', theme_copyright(), '<br /><a href="hxxp:www.smfgrup.com [nonactive]" title="Smf Grafik Tasarým"  ............ <b>Joker</b></a> Theme Design By <a href="hxxp:www.smfgrup.com [nonactive]" title="Smf,Destek,Smf Destek, ............  echo '  <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';     // The following will  ............ , $options;   echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ ="lavaLampWithImage">';   // Show the [home] button.  echo '<li', $current_action == 'home' ? '  ............  , $txt[103] , '</a></li>';   // Show the [help] button.  echo '<li', $current_action == 'help' ? '  ............ [119] , '</a></li>';   // How about the [search] button?  if ($context['allow_search'])  echo '<li', $ ............ '] , '</a></li>';   // the [member] list button  if ($context['allow_memberlist'])  echo '<li' ............ /li>';   // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])  echo '< ............  // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])  echo '< ............ ;  echo '</ul></div>';  }  // Generate a strip of buttons. function template_button_strip($button_strip, $ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   // Create the  ............ ...  foreach ($button_strip as $key => $value)  {  if (isset($ ............ $context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }   ............  (!isset($buttons[$key]) || $force_reset)  $buttons[$key] = ............ '') . '>' . $txt[$value['text']] . '</a>';   $button_strip[$key] = $buttons[$key];  }   if (empty($ ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td>  <td class="', $direction ==  ......
#366
Graphics and Templates / include php file
syyskuu 09, 2009, 03:20:22 IP tekijältä pisalkabg
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc1"></script>< ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ '] . '"))<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");' : ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc1" media="print" /> ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/fonts-compat.css" />';<br />< ............  main header object.<br /> var mainHeader = new smfToggle("upshrink", ', empty($options[' ............ , '...\';" /><input type="submit" value="." class="button"/> </div><br /> <input type="hidden" name=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <form  ............  GmbH.</a><br /><br />Gladiatus Ported to SMF by <a href="http://wannabedie.deviantart.com"><b> ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............  /> <ul>';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> echo '<li><a ', $ ............ ['active_button'] ? ' class="current"' : '' , ' href="', $button[' ............ '], '"><span>', $button['title'], '</span></a></li>';<br /><br /> echo '< ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $txt, $scripturl;<br /><br /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<a href="' . $value['url'] . '" ' . (isset($ ............ ]] . '</span></a>';<br /> }<br /><br /> if (empty($buttons))<br /> return '';<br /><br /> // Make the last  ............ , as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', $direction != 'top' ? '_bottom' : '', '">< ............ ="clearfix"><br /> <li>', implode('</li><li>', $buttons), '</li><br /> </ul><br /> </div>';<br /><br / ......
#367
Scripting Help / Adding a Grid To Message Index
elokuu 03, 2009, 09:52:35 AP tekijältä dgf
...... . */ table {  empty-cells: show; }  /* set a fontsize that will look the same in all browsers. */  ............  {  font-family:Arial, verdana;  background: #FFFFFF;   ............ : 0;  padding: 12px 0 4px 0;  /* PFX */  font-size: 12px;  line-height: 135%;  margin: 0px;  ............  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 8). */ select {  font-size: 90%;  font-weight: normal;  color: # ............ ;  font-family: verdana, sans-serif; }  /* Standard  ............ : #666666;  background-color: #666666; }  /* By default set the color on these tags as black. */ h1, h2,  ............ , h4, h5, h6, h7 {  color: black;  font-size: 1em;  margin: 0;  padding: 0; }  /* No  ............ . */ a img {  border: 0; }  /* No lines around buttons in Firefox! */ a {  outline: none; }  /* Reset  ............ : right; } .floatleft {  float: left; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: 0.8em;  font-family: verdana, sans-serif;  ............ } .middletext {  font-size: 0.85em; } .normaltext {  font-size: 1em; } ............  .largetext {  font-size: 1.4em; }  /* This style will make sure all  ............  remove bold/italic styles */ span.plainstyle {  font-weight: normal;  font-style: normal; } /* float  ............ ****************************** */ /* Some specific SMF elements */ /* ************************ ............  #000000;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A  ............  background-color: #dddddd;  display: block;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: ............  change the code stuff... */ .codeoperation {  font-weight: normal; }  /* Styling for BBC tags */ . ............  {  line-height: 1.3em; }  .bbc_table {  font: inherit;  color: inherit; }  .bbc_table td {   ............  font: inherit;  color: inherit;  vertical-align:  ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* A more  ............  tr.titlebg2 td, #credits h3 {  color: black;  font-style: normal;  background: url(images/titlebg. ............ .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: black;  font-style:  ............  a:link, .titlebg2 a:visited {  color: black;  font-style: normal;  text-decoration: underline; }  . ............   padding-left: 10px;  padding-right: 10px;  font-size:13px;  font-weight: bold; } .catbg2 , tr. ............   padding-left: 10px;  padding-right: 10px;  font-weight: bold; } .catbg, .catbg3 {  border- ............ .catbg3 td, .catbg3 a:link, .catbg3 a:visited {  font-size: 95%;  color: white;  text-decoration:  ............ -top: 0.7em;  background-color:#FFFFFF;  font-size:12px;  color: #000000;  font-family: ............ , a.moderation_link:visited {  color: red;  font-weight: bold; }  .openid_login {  background:  ............ ;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 3px; ............  color: white;  text-decoration: underline;  font-size: smaller;  float: right; }  /* ************ ............ ************************* */ /* Buttons and menus */ /* ************* ............ ************************ */  .buttonlist ul, .buttonlist_bottom ul {  background:  ............ ) no-repeat bottom left;  padding-left: 10px; } .buttonlist ul li, .buttonlist_bottom ul li {  margin:  ............ ;  padding: 0;  display: inline; } .buttonlist ul li a, .buttonlist_bottom ul li a {   ............ : left;  display: block;  color: white;  font-size: 0.8em;  font-family: tahoma, sans-serif;   ............  text-transform: uppercase; } .buttonlist ul li a:hover, .buttonlist_bottom ul li a: ............  {  color: #e0e0ff;  text-decoration: none; } .buttonlist ul li a span, .buttonlist_bottom ul li a span  ............ : block;  padding: 0.1em 0.5em 0.5em 0.5em; } .buttonlist ul li a.active, .buttonlist_bottom ul li a. ............  no-repeat bottom right;  padding-right: 8px; } .buttonlist ul li a.active span em, .buttonlist_bottom ul  ............ : 0.1em 0.5em 0.5em 0.5em;  display: block;  font-style: normal;  background: url(images/ ............ .gif) repeat-x bottom right; } .buttonlist ul li a.active span, .buttonlist_bottom ul li  ............ ) no-repeat bottom left;  padding: 0 0 0 8px; } .buttonlist ul li a span.last, .buttonlist_bottom ul li a  ............  0.5em; }  /* For links that are basically submit buttons. */ .buttonlist_submit {  background:  ............  vertical-align: top;  text-decoration: none;  font-size: 9px;  font-family: tahoma, sans-serif;   ............ : 0; }  .buttonlist_submit:hover {  color: #e0e0ff; }  /* ..for  ............  "bottom" menu */ .buttonlist_bottom ul {  background: url(images/ ............ .gif) no-repeat top left; } .buttonlist_bottom ul li a span {  padding: 0.5em 0.5em  ............ (images/mirrortab_back.gif) repeat-x top left; } .buttonlist_bottom ul li a.active {  background: url( ............ .gif) no-repeat top right; } .buttonlist_bottom ul li a.active span em {  background: ............ /mirrortab_active_back.gif) repeat-x top right; } .buttonlist_bottom ul li a.active span {  background:  ............ .gif) no-repeat top left; } .buttonlist_bottom ul li a span.last {  padding: 0.5em  ............ ; } /* the old type of menu, with images */ .oldbuttonlist {  text-align: right;  padding: 0.5em; }   ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding:  ............  6px 6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding:  ............  6px 2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............ : url(images/pnav.gif) #979ba0 repeat-x; font-family:Arial, verdana; font-weight:bold; }  .pnav  ............ :link, .nav:visited{  text-decoration: none;  font-size: 12px;  font-weight: bold;  font-family: ............  solid #ced5e0; } .greyblock td{ color: #222222; font-size: 11px; font-weight: bold; }  .pfooter{  ............ -color:#96cf42; font-size: 10px; padding: 10px; color:white; }  . ............  .fdesc a:link, .fdesc a:visited, .fdesc a:active{ font-size: 11px;  color: #666666; line-height: 134%;  ............  #EDEDED; padding-left: 10px; padding-right: 10px; font-weight: bold; } .greybg, .greybg a:link, .greybg  ............ :visited{ font-weight: bold; color: #474747; font-style: normal;  ............ %; padding: 0.3em; border-left: solid #FFFFFF 1px; font-size:12px; } .infocenter_section p.pfxsection{  ............ ; border: 1px solid #adadad; text-align:center; font-weight:bold; margin:0px; padding: 2px 7px 2px 7px; ............  background-color: #f0f0f0; font-size:11px; }  .menubut a:link, .menubut a:active,  ............ : #333333; }  .postinfo{ background-color:#ededed; font-size: 11px; color:#464c56; vertical-align:middle;  ............ ; border: 1px solid #a9b0ba; text-align:left; font-weight:bold; margin:0px; font-size:11px; padding:  ............ ; color: #333333; }  .posterinfo{ color:#333333; font-size:11px; background-color: #FFFFFF; border- ......
#368
SMF Coding Discussion / Mod installs gone bad
heinäkuu 29, 2009, 07:44:58 IP tekijältä The Great OZ
......  on another forum I just started and now the menu buttons are missing on the top Here is a copy of my  ............  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:  ............ 'pick' ? 'profile' : 'admin';<br /><br /> // Begin SMFShop code<br /> if ($context['current_action'] == ' ............ )))<br /> $current_action = 'admin';<br /> // End SMFShop code<br /><br /> // Are we using right-to- ............  '<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 ' ............ ['calendar24'] , '</a></li>';<br /><br /> //Begin SMFShop code<br /> //loadLanguage("shop");<br /> echo  ............ ' . $last . '">&nbsp;</td>' : '';<br /> //END SMFShop code<br /><br /> // the [member] list button............  /><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 == ......
#369
Graphics and Templates / Center logo on dilbermc theme
kesäkuu 24, 2009, 12:04:47 IP tekijältä P19BLO
......  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............   $settings['use_tabs'] = true;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>  < ............ ="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";   ............  var smf_scripturl = "', $scripturl, '";  var  ............ '] ? 'true' : 'false', ';  var smf_charset = "', $context['character_set'], '";  // ............ ['allow_color_change'] == 'no'))  {  // Defaults.  $options['theme_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...)  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 + ' . '"/'. $settings[' ............ (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + ' . '"/'. $settings[' ............  <td>  <span style="font-family: \'Trebuchet MS\', Verdana, sans-serif;  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>     ............  <option value="60">', $txt['smf53'], '</option>   ............  <option value="1440">', $txt['smf47'], '</option>   ............  <option value="10080">', $txt['smf48'], '</option>   ............  <option value="43200">', $txt['smf49'], '</option>   ............  <option value="-1" selected="selected">', $txt['smf50'], '</option>   ............  <span class="middletext">', $txt['smf52'], '</span>   ............ : relative; bottom: 13px; right:15px; float:right; font-size:16px;">  <form action="', ............ " value="&raquo;&raquo;" style="width: 8ex; font-size:12px;" />  </form>   ............ -color: #6699CC; color: #6699CC; width: 20px; font-size: 1px;" type="submit" value="lightblue" name=" ............ -color: #5371AD; color: #5371AD; width: 20px; font-size: 1px;" type="submit" value="lightnavy" name=" ............ -color: #6C7F93; color: #6C7F93; width: 20px; font-size: 1px;" type="submit" value="lightsilver"  ............ -color: #53ADAD; color: #53ADAD; width: 20px; font-size: 1px;" type="submit" value="lightturquoise"  ............ -color: #4DB45D; color: #4DB45D; width: 20px; font-size: 1px;" type="submit" value="lightgreen" name= ............ -color: #93A659; color: #93A659; width: 20px; font-size: 1px;" type="submit" value="lightolive" name= ............ -color: #D8A259; color: #D8A259; width: 20px; font-size: 1px;" type="submit" value="lightgolden"  ............ -color: #a67259; color: #a67259; width: 20px; font-size: 1px;" type="submit" value="lightbrown" name= ............ -color: #E15050; color: #E15050; width: 20px; font-size: 1px;" type="submit" value="lightred" name=" ............ -color: #D47BC5; color: #D47BC5; width: 20px; font-size: 1px;" type="submit" value="lightrose" name=" ............ -color: #A185D6; color: #A185D6; width: 20px; font-size: 1px;" type="submit" value="lightlilac" name= ............ -color: #7F88B2; color: #7F88B2; width: 20px; font-size: 1px;" type="submit" value="lightviolet"  ............ "><!-- // --><![CDATA[  function smfFooterHighlight(element, value)  {   ............  element.src = smf_images_url + "/" + (value ? "h_" : "") + hxxp: ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  <span style="float:right; margin-right:10px; font-size:70%;"><b>Dilber MC</b> Theme by <b><a href=" ............  echo '  <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';   // This is an interesting  ............  echo '  window.addEventListener("load", smf_codeFix, false);   function smf_codeFix()  ............  echo '  window.addEventListener("load", smf_codeFix, false);  function smf_codeFix()   ............  = window.onload;  window.onload = smf_codeFix;   function smf_codeFix()   ............ , $options;   echo '<div class="nav" style="font-size: 85%; margin-bottom: 2ex; margin-top: 2ex;">' ............ ="20">  </td>';   // Show the [home] button.  echo'  <td align="center" class=" ............  , '</a>  </td>';  // Show the [help] button.  echo'  <td align="center" class=" ............ >  </td>';  // How about the [search] button?  if ($context['allow_search'])  echo'   ............  </td>';   // the [member] list button  if ($context['allow_memberlist'])    ............     // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])  echo'   ............  // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])   ............  </td>';   }  // 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', 'strip">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td>  <td class="', $direction ==  ......
#370
......  http://wellington-wef.com and below is my themes/default/index.template.php .i tried the mods to no avail.  ............  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. ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '">&nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ >&nbsp;</td>' : '';<br /><br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ </td>' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............ ;</td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#371
Graphics and Templates / How To Change Background image
kesäkuu 12, 2009, 04:13:01 AP tekijältä Hassan_the best
...... . */ table {  empty-cells: show; }  /* set a fontsize that will look the same in all browsers. */  ............  {  font: 95%/90% Verdana, Helvetica, sans-serif;   ............  normal so they align well. */ input, textarea, button {  color: #000000;  font-family: verdana,  ............ -serif; } input, button {  font-size: 90%; }  textarea {  font-size:  ............ %;  color: #000000;  font-family: verdana, sans-serif; }  /* All input  ............  that are checkboxes or radio buttons. */ input.check {  border: none; }  /* Selects  ............  it makes them look even better 8). */ select {  font-size: 90%;  font-weight: normal;  color: # ............ ;  font-family: verdana, sans-serif; }  /* Standard  ............ : #9BAEBF;  background-color: #9BAEBF; }  /* By default set the color on these tags as black. */ h1, h2,  ............ , h4, h5, h6, h7 {  color: black;  font-size: 1em;  margin: 0;  padding: 0; }  /* No  ............ . */ a img {  border: 0; }  /* No lines around buttons in Firefox! */ a {  outline: none; }  /* Reset  ............ : right; } .floatleft {  float: left; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: 0.8em;  font-family: verdana, sans-serif;  ............ } .middletext {  font-size: 0.85em; } .normaltext {  font-size: 1em; } ............  .largetext {  font-size: 1.4em; }  /* This style will make sure all  ............  remove bold/italic styles */ span.plainstyle {  font-weight: normal;  font-style: normal; } /* float  ............ ****************************** */ /* Some specific SMF elements */ /* ************************ ............  #9BAEBF;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em;  border- ............  background-color: #dddddd;  display: block;  font-family: "courier new", "times new roman",  ............ ;  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #000000;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: ............  change the code stuff... */ .codeoperation {  font-weight: normal; }  /* Styling for BBC tags */ . ............  {  line-height: 1.3em; }  .bbc_table {  font: inherit;  color: inherit; }  .bbc_table td {   ............  font: inherit;  color: inherit;  vertical-align:  ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black; }  /* A more  ............  tr.titlebg2 td, #credits h3 {  color: black;  font-style: normal;  background: #ECF0F1 url(images/ ............ .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: black;  font-style:  ............  a:link, .titlebg2 a:visited {  color: black;  font-style: normal;  text-decoration: underline; }  . ............ , .catbg2, .catbg3 {   } .catbg, .catbg2 {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  color: white;  text-decoration:  ............ , a.moderation_link:visited {  color: red;  font-weight: bold; }  .openid_login {  background:  ............ ;  color: white;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 0. ............  color: white;  text-decoration: underline;  font-size: smaller;  float: right; }  /* ************ ............ ************************* */ /* Buttons and menus */ /* ************* ............ ************************ */  .buttonlist ul, .buttonlist_bottom ul {  background:  ............ ) no-repeat bottom left;  padding-left: 10px; } .buttonlist ul li, .buttonlist_bottom ul li {  margin:  ............ ;  padding: 0;  display: inline; } .buttonlist ul li a, .buttonlist ul li a:visited, . ............  ul li a, .buttonlist_bottom ul li a:visited {  float: left;   ............ : block;  color: #696969;  font-size: 0.8em;  font-family: tahoma, sans-serif;   ............  text-transform: uppercase; } .buttonlist ul li a:hover, .buttonlist_bottom ul li a: ............  {  color: black;  text-decoration: none; } .buttonlist ul li a span, .buttonlist_bottom ul li a span  ............ : block;  padding: 0.1em 0.5em 0.5em 0.5em; } .buttonlist ul li a.active, .buttonlist_bottom ul li a. ............  no-repeat bottom right;  padding-right: 8px; } .buttonlist ul li a.active span em, .buttonlist_bottom ul  ............ : 0.1em 0.5em 0.5em 0.5em;  display: block;  font-style: normal;  background: url(images/ ............ .png) repeat-x bottom right; } .buttonlist ul li a.active span, .buttonlist_bottom ul li  ............ ) no-repeat bottom left;  padding: 0 0 0 8px; } .buttonlist ul li a span.last, .buttonlist_bottom ul li a  ............  0.5em; }  /* For links that are basically submit buttons. */ .buttonlist_submit {  background:  ............  vertical-align: top;  text-decoration: none;  font-size: 9px;  font-family: tahoma, sans-serif;   ............ : 0; }  .buttonlist_submit:hover {  color: #e0e0ff; }  /* ..for  ............  "bottom" menu */ .buttonlist_bottom ul {  background: url(images/ ............ .png) no-repeat top left; } .buttonlist_bottom ul li a span {  padding: 0.5em 0.5em  ............ (images/mirrortab_back.png) repeat-x top left; } .buttonlist_bottom ul li a.active {  background: url( ............ .gif) no-repeat top right; } .buttonlist_bottom ul li a.active span em {  background: ............ /mirrortab_active_back.gif) repeat-x top right; } .buttonlist_bottom ul li a.active span {  background:  ............ .gif) no-repeat top left; } .buttonlist_bottom ul li a span.last {  padding: 0.5em  ............ ; } /* the old type of menu, with images */ .oldbuttonlist {  text-align: right;  padding: 0.5em; }   ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: top;  padding:  ............  6px 6px 6px;  font-family: tahoma, sans-serif; }  .maintab_first {   ............  {  color: white;  text-decoration: none;  font-size: 9px;  vertical-align: bottom;  padding:  ............  6px 2px 6px;  font-family: tahoma, sans-serif; }  .mirrortab_first {  ............ : 1px solid #505050;  position: absolute;  font-size: .7em; }  /* An auto suggest item */ . ............ -top: 2ex; } #header h1 {  color: #5a8e22;  font-family: "Lucida Grande","Lucida Sans Unicode", ......
#372
Grafiken & Templates / Header einbauen mit HTML
toukokuu 12, 2009, 08:27:40 AP tekijältä JMC122
......  vor lauter Bäumen nicht!  Ich benutze das Theme Default "Classics" und hier ist das Schnipselchen    ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))<br /> echo '<br /> <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ <br /> <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /><br /> < ............ ="titlebg2" height="32"><br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';<br /><br /> // this is the upshrink button for the user info section<br /> echo '<br /> < ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type="hidden"  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '">&nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ >&nbsp;</td>' : '';<br /><br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ </td>' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............ ;</td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#373
SMF 1.1.x Support / Add this Shoutbox?
huhtikuu 28, 2009, 06:44:15 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 == ......
#374
Temas y Diseño (Themes) / como quitar logo thema mistic jade
maaliskuu 02, 2009, 04:58:28 IP tekijältä shadow_dwel
......  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, '">' , $ ............ ] , '</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 == ......
#375
Mod Requests / Calendar php block for SMF 2.0 beta 4
tammikuu 02, 2009, 10:07:05 AP tekijältä anduriell
...... ! i've got this code for SMF 1.1.7 that shows the calendar with the events in  ............  and i'd like to use it in SMF 2.0 beta 4   ¿Is it possible? If not ¿Could it be  ............  * * is chosen ($date_links_to_posting = true), SMF permissions are in effect and only * *  ............ , day * * numbers will link to the full SMF Calendar page. Additionally, if option to show  ............  * * a separate 'Post Event' button is chosen ($show_post_event_button = true), it  ............  referred to as 'language other than server default' as this Calendar will * * use the server's  ............  * * entry color to the date, bolded, on the default background. Commented example given * * of  ............  = true;   // Adds 'Post Event' button to bottom of block $show_post_event_button =  ............  = '#D00000'; // comment out to use default text colors - $color_saturday = '#D00000'; //  ............  // or color names $bkgrd_today = 'white';  // Default class to use when no other class specified $ ............  = ''; // $class_default = 'smalltext'; // $class_default = 'windowbg2';  / ............   // Highlight bolded color for date entry type on default backgound // $hilite_bday_color = '#'.$ ............  // // To use Month and Day names other than the default on your server, // remove the two asterisk '**** ............ -color: '.$hilite_bday_bkgrd.'; '; $hi_bday_fontwt = ''; if (isset($hilite_bday_bold) && $ ............ ) $hi_bday_fontwt = 'font-weight:bold; ';  $hi_event_color = '';  ............ -color: '.$hilite_event_bkgrd.'; '; $hi_event_fontwt = ''; if (isset($hilite_event_bold) && $ ............ ) $hi_event_fontwt = 'font-weight:bold; ';  $hi_hday_color = '';  ............ -color: '.$hilite_hday_bkgrd.'; '; $hi_hday_fontwt = ''; if (isset($hilite_hday_bold) && $ ............ ) $hi_hday_fontwt = 'font-weight:bold; ';  if (!isset($ ............ )) $class_default = 'windowbg'; if ($class_default == '') $ ............  = 'windowbg';  $table_bkgrd = 'class="'.$class_default.'" cellspacing="1"'; if ($bordercolor_gridlines) $ ............  = '<a class="smalltext" style="'.$todays_color.'font-weight:bold; border:solid 1px black; '.$ ............ ="'. $hi_bday_color . $hi_bday_bkgrd . $hi_bday_fontwt .'padding: 0px 2px 0px 2px;"';   ............ ($hilite_bday_class)) $hilite_bday_class = $class_default;  if ($hilite_bday_class == '') ............  $hilite_bday_class = $class_default;  foreach($bdays as $startdate  ............ ="'. $hi_event_color . $hi_event_bkgrd . $hi_event_fontwt .'padding: 0px 2px 0px 2px;"';   ............ $hilite_event_class)) $hilite_event_class = $class_default;  if ($hilite_event_class == '' ............ ) $hilite_event_class = $class_default;  foreach($events as $ ............ ="'. $hi_hday_color . $hi_hday_bkgrd . $hi_hday_fontwt .'padding: 0px 2px 0px 2px;"';   ............ ($hilite_hday_class)) $hilite_hday_class = $class_default;  if ($hilite_hday_class == '') ............  $hilite_hday_class = $class_default;  foreach($holidays as $ ............ ($class_day_names)) $class_day_names = $class_default; if ($class_day_names == '') $class_day_names = $ ............ " style="padding-left: 0px; padding-right: 0px;font-size: x-small;" abbr="'.htmlentities($d).'">'. ............ ($weekday > 0) $calendar .= '<td class="'.$class_default.'" colspan="'.$weekday.'"> </td>'; #initial ' ............ ($classes).'" style="padding: 0px 0px 0px 0px;font-size: x-small;">' : '>').($link ? '<a href="'. ............  $calendar .= '<td'.$col_width.' class="'.$class_default.'" align="center" valign="middle" style="padding:  ............  0px 0px 0px;font-size: x-small;"><a class="smalltext"';  if  ............ ($weekday != 7) $calendar .= '<td class="'.$class_default.'" colspan="'.(7-$weekday).'"> </td>'; #remaining  ............ ($list_label_class)) $list_label_class = $class_default; if ($list_label_class == '') $list_label_class =  ............ $class_default;  if (!isset($list_entry_class)) $ ............  = $class_default; if ($list_entry_class == '') $list_entry_class =  ............ $class_default;  //////////////////////////////////////////////// ............ ="7" class="smalltext" align="center" style="font-weight: bold; color: ' . $list_label_bdays_color . ............ ="' . $txt[92] . ' ' . $member['name'] . '">' . '<font color="'. $member['color'] .'">' . ( ($nowdate == ............ ) . ( ($nowdate == $startdate) ? '</b>' : '') . '</font>' . '</a>';  echo '</td></tr>'; ............ ="7" class="smalltext" align="center" style="font-weight: bold; color: ' . $list_label_events_color  ............ ="7" class="smalltext" align="center" style="font-weight: bold; color: ' . $list_label_hdays_color . ............  }  }  } } }  if ($show_post_event_button) {  if (allowedTo('calendar_post')) {   ............  echo '<tr><td colspan="7" class="'.$class_default.'" align="center" valign="middle">';   ............ =', $context['session_id'], '">','<br />', create_button('calendarpe.gif', 'calendar23', 'calendar23', ' ......
#376
Arşiv / Yesil&Mavi Menu
joulukuu 31, 2008, 01:13:51 IP tekijältä Paragaya
......  dahil)   Buraya kadar => // Generate a strip of buttons.[Burayı silme ]  Kalan yere [ sildiğin yere ]  ............ ">  <div id="tab">  <ul> ';   // Show the default [home] button.  echo '<li><a href="', $scripturl,  ............ </span></a></li>';    // Show the [help] button.  echo '<li><a href="', $scripturl, '?action=help" ............  , '</span></a></li>';   // How about the [search] button?  if ($context['allow_search'])  echo '<li><a  ............ '] , '</span></a></li>';   // the [member] list button  if ($context['allow_memberlist'])  echo '<li><a  ............ </li>';    // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])  echo '<li>< ............    // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])  echo '<li>< ............ :url(images/bleft_066.gif) no-repeat left top;  font-family:Arial, Helvetica, sans-serif;  font-size: ............ ;  color:#000;  font-weight:700;  line-height:33px;  padding:0 15px; }  ............  {  background-position:left bottom;  color:#FFF;  font-weight:700;  font-style:normal;  text-decoration: ............ :url(images/bleft_066.gif) no-repeat left top;  font-weight:700;  font-style:normal;  text-decoration: ............ :url(images/bright_066.gif) no-repeat right top;  font-family:Arial, Helvetica, sans-serif;  font-size: ............ :0 #FF9300;  background-position:left bottom;  font-weight:700;  font-style:normal;  text-decoration: ............ {  background-position:right bottom;  color:#FFF;  font-weight:700; }   Son olarak imagesleri [ekteki] Ve  ............ /images   Klasörüne atın bu kadar.  Menü Buradan Smf ' ye çevrilmiştir   Görüntü altta    ......
#377
Arşiv / Turuncu-S Menu
joulukuu 31, 2008, 03:54:54 AP tekijältä Paragaya
......  dahil)   Buraya kadar => // Generate a strip of buttons.[Burayı silme ]  Kalan yere [ sildiğin yere ]  ............ ">  <div id="tab">  <ul> ';   // Show the default [home] button.  echo '<li><a href="', $scripturl,  ............ </span></a></li>';    // Show the [help] button.  echo '<li><a href="', $scripturl, '?action=help" ............  , '</span></a></li>';   // How about the [search] button?  if ($context['allow_search'])  echo '<li><a  ............ '] , '</span></a></li>';   // the [member] list button  if ($context['allow_memberlist'])  echo '<li><a  ............ </li>';    // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])  echo '<li>< ............    // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])  echo '<li>< ............ :url(images/bleft_105.gif) no-repeat left top;  font-family:Arial, Helvetica, sans-serif;  font-size: ............ ;  color:#FFF;  font-weight:700;  line-height:42px;  padding:0 15px; }  ............  {  background-position:left bottom;  color:#FFF;  font-weight:700;  font-style:normal;  text-decoration: ............ :url(images/bleft_105.gif) no-repeat left top;  font-weight:700;  font-style:normal;  text-decoration: ............ :url(images/bright_105.gif) no-repeat right top;  font-family:Arial, Helvetica, sans-serif;  font-size: ............   {  border:0;  background-position:left bottom;  font-weight:700;  font-style:normal;  text-decoration: ............ {  background-position:right bottom;  color:#FFF;  font-weight:700; }  Son olarak imagesleri indirin.Ve  ............ /images   Klasörüne atın bu kadar.  Menü Buradan Smf ' ye çevrilmiştir   Görüntü altta    ......
#378
Arquivo / Problemas com layout
marraskuu 29, 2008, 01:24:43 IP tekijältä xavante
......  cells. */ table {  empty-cells: show; }  /* By default (td, body..) use verdana in black. */ body, td,  ............  , tr {  line-height: 150%;  font-family: Tahoma,Arial,Helvetica,sans-serif;   ............ : #cdcdcd;  font-size: 11px; }  /* The main body of the entire  ............  normal so they align well. */ input, textarea, button {  color: #000;  font-family: verdana, sans- ............ ; }  input, buttonfont-size: 110%; }  textarea {  font-size:  ............ %;  color: #000;  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: 110%;  font-weight: normal;  color: # ............ ;  font-family: verdana, sans-serif; }  /* Standard  ............  #353535;  margin: 1px;  padding: 1px;  font-size: x-small;  line-height: 1.4em; }  /* A  ............  color: #3a3a3a;  background-color: #ddd;  /*font-family: "courier new", "times new roman",  ............ ;*/  font-size: x-small;  line-height: 1.3em;  /* Put a  ............  {  color: #ccc;  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: #cdcdcd;  font-style: normal;  background: #070707 url(images/ ............ .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: #cdcdcd;  font-style:  ............ :link, .titlebg2 a:visited {  color: #cdcdcd;  font-style: normal;  text-decoration: none; }  . ............ , .titlebg2 {  font-size: 8pt;  font-family: tahoma, sans-serif; }   ............  .catbg3 {  border-bottom: solid 1px #353535;  font-size: 9pt;  font-family: tahoma, sans-serif; }   ............ .catbg, .catbg2 {  font-weight: bold; }  .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  color: white;  text-decoration:  ............  border: 1px solid #303030;  padding: 0px; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext {  font-size: x-small;  font-family: verdana, sans- ............ : 18px;  text-indent: 10px; }  .normaltext {  font-size: small; }  .largetext {  font-size: large;  ............  {  color: #ccc;  text-decoration: none;  font-size: 10px;  font-family: verdana, sans-serif;  ............ {  text-decoration: none;  cursor: pointer;  font-weight: bold; }  #nav li.on li.on a {  text- ............ ; #}  #footer {  padding: 8px 40px 10px 40px;  font-size: x-small;  color: #b2b2b2;  background: # ............ ;  padding: 5px;  text-align: center;  font-size: x-small; }  #footer a:link , #footer a: ............  menu sub template should display all the relevant buttons the user  wants and or needs.   For more  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............   $settings['use_tabs'] = true;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ " 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. ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............ ['show_load_time'])  echo '<br />'. $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];   echo '  </div>  </div> </body></ ............ , $options;   echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ .   echo '  <ul>';    // Show the [home] button.  echo '<li><a href="', $scripturl, '">' , $ ............ [103] , '</a></li>';   // Show the [forum] button.   if(!empty($context['portalactive']))   ............ ['sp-forum'] , '</a></li>';   // Show the [help] button.  echo '<li><a href="', $scripturl, '?action= ............ [119] , '</a></li>';   // How about the [search] button?  if ($context['allow_search'])  echo '<li> ............ '] , '</a></li>';   // the [member] list button  if ($context['allow_memberlist'])  echo '< ............ >';    // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])  echo ' ............  // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])  echo ' ............ >';   echo '</ul>';  }  // Generate a strip of buttons. function template_button_strip($button_strip, $ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   // Create the  ............ ...  foreach ($button_strip as $key => $value)  {  if (isset($ ............ $context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }   ............  (!isset($buttons[$key]) || $force_reset)  $buttons[$key] = ............ '') . '>' . $txt[$value['text']] . '</a>';   $button_strip[$key] = $buttons[$key];  }   if (empty($ ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td>  <td class="', $direction ==  ......
#379
Temas y Diseño (Themes) / Ayuda (?)
syyskuu 26, 2008, 03:27:08 IP tekijältä alexxizs
......  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 XHTML 1.0  ............  is for. This should probably be the version of SMF it was created for. */ $settings['theme_version']  ............ . */ $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> <script  ............ " type="text/javascript"><!-- // --><![CDATA[ var smf_theme_url = "', $settings['theme_url'], '"; var  ............  = "', $settings['images_url'], '"; var smf_scripturl = "', $scripturl, '"; var  ............ ']['iso_case_folding'] ? '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 this is  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />'; // Show all  ............  = "upshrink=" + (mode ? 1 : 0);'; else echo ' smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  ' document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  "upshrinkIC=" + (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. ............ ']['is_logged']) echo ' <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script> <form  ............ "> <option value="60">', $txt['smf53'], '</option> <option value="1440">', $ ............ ['smf47'], '</option> <option value="10080">',  ............ $txt['smf48'], '</option> <option value="302400">', ............  $txt['smf49'], '</option> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option> </select> <input  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span> <input type="hidden" name=" ............ ="text/javascript"><!-- // --><![CDATA[ function smfFooterHighlight(element, value) { element.src  ............ = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ " style="white-space: nowrap;"> <span style="font-size: x-small">Metallic Abyss Theme by <a href=" ............ ://www.smfers.com/">SMFers</a></span><br />',  ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ']) echo ' <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>'; // This is an interesting bug  ............ ']) 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() { var  ............ $settings, $options; echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ ' , $first , '">&nbsp;</td>'; // Show the [home] button. echo ($current_action=='home' || $context[' ............ . $last . '">&nbsp;</td>' : ''; // Show the [help] button. echo ($current_action == 'help' || $context[' ............  . '">&nbsp;</td>' : ''; // How about the [search] button? if ($context['allow_search']) echo ($ ............ $last . '">&nbsp;</td>' : ''; // the [member] list button if ($context['allow_memberlist']) echo ($ ............ >' : ''; // If the user is a guest, show [login] button. if ($context['user']['is_guest']) echo ($ ............ '; // If the user is a guest, also show [register] button. if ($context['user']['is_guest']) echo ($ ............ ;</td> </tr> </table>';}// Generate a strip of buttons.function template_button_strip($button_strip, $ ............  = false, $custom_td = ''){ global $settings, $buttons, $context, $txt, $scripturl; // Create the  ............ ... foreach ($button_strip as $key => $value) { if (isset($value[' ............ ]) && empty($context[$value['test']])) { unset($button_strip[$key]); continue; } elseif (!isset($ ............ [$key]) || $force_reset) $buttons[$key] = '<a href="' . $value['url'] . '" ' .(  ............ '] : '') . '>' . $txt[$value['text']] . '</a>'; $button_strip[$key] = $buttons[$key]; } if (empty($ ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td> <td class="', $direction == 'top' ......
#380
......  am using the following code on an SMF 2.0 Beta 4 Test Site: Koodi [Valitse] Laajenna <? ............ ();<br /><br />?> It seems to not work with SMF 2.0 Beta 4 because all I get when trying to load  ............  default theme with it is: LainaaUnable to load the ' ............  to make the current action on this page a Home button and the Forum page a forum button, it would be  ............  got the index.template.php by adding a forum button and making it go to the /smf/ root index.php and  ............  a home button that needs to be called from this ssi file if you  ......
Advertisement: