Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
#681
Modificaciones (Mods) / Re: Menu lateral desplegable
helmikuu 12, 2010, 08:52:50 AP tekijältä gantz
......  tengo el tema Reference by Crip y adkportal smf 2.0rc2 pero al momento de poner el index.template  ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............  http://www.dynamicdrive.com<br />//Adaptado a SMF http://www.simplemachines.org por Hydra http:// ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc2" media="print" /> ............ " type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/highslide.js"></script>< ............ " type="text/javascript" src="', $settings['default_theme_url'], '/Highslide/highslide.', $context[' ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/Highslide/highslide.css" media=" ............ "><br /> hs.graphicsDir = "', $settings['default_theme_url'], '/Highslide/";<br /> hs. ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc2"></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");< ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /> <input type="hidden" name=" ............  name="submit" value="', $txt['search'], '" class="button_submit" /><br /> <input type="hidden" name=" ............ <br /> <table width="100%" style="cursor: default;"><br /> <tr><br /> < ............ ']['unread_messages'] . '</strong>' : '' , '</a><font color="black"><font size="1px"><b> ', $txt[' ............ '], '</b></font><br /> </td><br /> < ............  #b9c9ef; border-left:1px solid #728eb8; cursor: default;"><br /> <tr><br /> < ............ ="', $scripturl, '?action=pm" style="color:blue; font-size:11px">', $txt['newpm'], '</a></b><br />  ............ "" onClick="closebar(); return false"><span style="font-size:10px; color:red;">', $txt['close'], '</ span> ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ ><br /> <ul>';<br /> foreach ($context['menu_buttons'] as $act => $button)<br /> echo '<li><a ', $ ............ ['active_button'] ? ' class="current"' : '' , ' href="', $button[' ............ '], '"><b>', $button['title'], '</b></a></li>';<br /><br /> echo '<br / ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  = array();<br /><br /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<a ' . (isset($value['active']) ? 'class=" ............ ']] . '</span></a>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  // Make the last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' align_' . $direction  ............ : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  /> <ul><br /> <li>', implode('</li><li>', $buttons), '</li><br /> </ul><br /> </div>';<br />}<br  ......
......  <?php<br />/**<br /> * Simple Machines Forum (SMF)<br /> *<br /> * @package SMF<br /> * @author  ............  /> * @license http://www.simplemachines.org/about/smf/license.php BSD<br /> *<br /> * @version 2.0<br /> ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></script>< ............ "><br /> <!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ '] . '"))<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");< ............ '<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  Tim)</span></a></li><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check?uri= ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ /li>' : '', '<br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ ="topnav">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> echo '<br /> ............  <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', '" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><span>', $button['title'], ............  '</span></a>';<br /><br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............  <ul>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  '<br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '>', $childbutton['title'],  ............ !empty($childbutton['sub_buttons']) ? '...' : '', '</a>';<br /><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br /> ............  <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '>', $grandchildbutton[' ............  </ul>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  $strip_options = array();<br /><br /> // List the buttons in reverse order for RTL languages.<br /> if ($ ............ ['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li><a' . (isset($value['id']) ? ' ............  id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ]] . '</span></a></li>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  // Make the last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' float' . $direction : ............  '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  '"': ''), '><br /> <ul>',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
......  API installed the mod but the "automatic index" button on the upper part ot the forum is not appearing  ............    SMF Version? Use, default theme, or custom THeme?  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............   $settings['use_tabs'] = true;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />  <script language=" ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>  < ............ ="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_images_url = "', $settings['images_url'], '";   ............  var smf_scripturl = "', $scripturl, '";  var  ............ '] ? 'true' : 'false', ';  var smf_charset = "', $context['character_set'], '";  // ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)  Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.  Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';  // the  ............  '<style type="text/css"><!--  body  {  font-size: ' , !empty($options['mysize']) ? $options[' ............  '<style type="text/css"><!--  body  {  font-size: ' , $gsize , ';  }  --></style>';  }  ............  + (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. ............ ( \'td\',\'tr\');  //Specify spectrum of different font sizes: var szs = new Array( \'xx-small\',\'x- ............ .getElementsByTagName( trgt )[ 0 ];   cEl.style.fontSize = szs[ sz ];   for ( i = 0 ; i < tgs.length  ............  j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];  }  setmysize(szs[ sz ]);  } ............ .getElementsByTagName( trgt )[ 0 ];   cEl.style.fontSize = szs[ sz ];   for ( i = 0 ; i < tgs.length  ............  j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];  }  setmysize(szs[ sz ]);  } ............ .w3.org/check/referer" target="_blank" style="font-size:10px;">XHTML</a>';   // Show the  ............ <p align="center"><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span></p>';   // This is an  ............  echo '  window.addEventListener("load", smf_codeFix, false);   function smf_codeFix()  ............  echo '  window.addEventListener("load", smf_codeFix, false);  function smf_codeFix()   ............  = window.onload;  window.onload = smf_codeFix;   function smf_codeFix()   ............ , $options;   echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  tab section. echo '  <ul>';    // Show the default [home] button.  echo ($current_action=='home' || ............ [103] , '</a></li>';    // Show the [help] button.  echo ($current_action=='help' || $context[' ............ [119] , '</a></li>';   // How about the [search] button?  if ($context['allow_search'])  echo ($ ............ '] , '</a></li>';   // the [member] list button  if ($context['allow_memberlist'])  echo ($ ............ /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 ( ............ </li>';   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($ ............ ' ? 'main' : 'mirror', 'tab_back">', implode('', $button_strip) , '</td>'; }  ?>I would really appreciate  ......
#684
Tips and Tricks / Re: [SMF Trick] Embedding Google +1 Button in Posts
kesäkuu 09, 2011, 06:31:18 IP tekijältä PLAYBOY
...... . Here is my display.template.php which is the default one because my theme doesnt have this file.   ............ ', '.gif" alt="" align="bottom" /> ', $txt['smf43'], '  </td>  </tr>  <tr>  <td  ............ ="5%" valign="top" class="windowbg"><b>', $txt['smf21'], ':</b></td>  <td class="windowbg">   ............ ="padding-right: 2ex;', $option['voted_this'] ? 'font-weight: bold;' : '', '">', $option['option'], '</ ............ '], '">', !$context['poll']['is_locked'] ? $txt['smf30'] : $txt['smf30b'], '</a><br />';   //  ............ '], '.', $context['start'], '">', $txt['smf39'], '</a>';   echo '  </td> ............  <tr>  <td colspan="2"><b>' . $txt['smf24'] . ': ' . $context['poll']['total_votes'] . '</ ............  <td>';   // Show each option with its button - a radio likely.  foreach ($context[' ............  echo '  ', $option['vote_button'], ' ', $option['option'], '<br />';    ............ ], '.', $context['start'], ';viewResults">', $txt['smf29'], '</a><br />';   // Show a link for  ............ '], '">', (!$context['poll']['is_locked'] ? $txt['smf30'] : $txt['smf30b']), '</a><br />';   //  ............ '], '.', $context['start'], '">', $txt['smf39'], '</a>';   echo '   ............  colspan="2"><input type="submit" value="', $txt['smf23'], '" /></td>  </tr>  < ............  </tr> </table>';  }   // Build the normal button array.  $normal_buttons = array(  'reply' = ............ '] && $settings['show_mark_read'])  $normal_buttons['custom'] = array('text' => 'mark_unread', ' ............  elseif ($context['can_add_poll'])  $normal_buttons['custom'] = array('text' => 'add_poll', 'image' = ............ ['session_id']);  else  unset($normal_buttons['custom']);   //Thank You Button is now where  ............ ']['premission']['post'])  $normal_buttons['thankyou'] = array('text' => 'd_thank_you', ' ............ ']['premission']['add'])  $normal_buttons['thankyou'] = array('text' => 'd_thank_you_add',  ............ 'current_topic'] . '.0');  }   // Make Article Button  if ($context['can_make_article'] && !empty($ ............ ['articleactive']))  $normal_buttons['article'] = array('text' => 'sp-' . ($context[' ............ ="0">  <tr>  ', template_button_strip($normal_buttons, 'bottom'), '  </ ............ '] . '\');">';   // These are some cache image buttons we may want.  $reply_button = create_button(' ............ .gif', 145, 'smf240', 'align="middle"');  $modify_button =  ............ .gif', 66, 17, 'align="middle"');  $remove_button = create_button('delete.gif', 121, 31, 'align=" ............ "');  $split_button = create_button('split.gif', 'smf251', 'smf251', ' ............ , look for the <a name="msg"... as above in the default template and this code should go directly after   ............ '</a><br />';   // Show online and offline buttons?  if (!empty($modSettings['onlineEnable'] ............ ']['label'] . '">' : '', $settings['use_image_buttons'] ? '<img src="' . $message['member']['online'][' ............ 'can_send_pm'] ? '</a>' : '', $settings['use_image_buttons'] ? '<span class="smalltext"> ' . $message[' ............ , website, email address, and personal message buttons.  if ($settings['show_profile_buttons'])  ............  {  // Don't show the profile button if you're not allowed to view the profile.   ............ ['member']['href'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/ ............ '] . '" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/ ............ ['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/ ............ ']['online']['label'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/ ............ ['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/ ............ ="middle">  <div style="font-weight: bold;" id="subject_', $message['id'], '">  ............ ' : 'left', '" valign="bottom" height="20" style="font-size: smaller;">';   // Can they reply? Have  ............ ['session_id'], '\'); return false;">', $reply_button, '</a>';   // So... quick reply is off, but  ............ '], ';sesc=', $context['session_id'], '">', $reply_button, '</a>';   // Can the user modify the  ............ ], ';sesc=', $context['session_id'], '">', $modify_button, '</a>';   // How about... even... remove it  ............ "return confirm(\'', $txt[154], '?\');">', $remove_button, '</a>';   // What about splitting it off  ............ '], '.0;at=', $message['id'], '">', $split_button, '</a>';   // Show a checkbox for quick  ............ .gif" alt="" align="right" id="modify_button_' . $message['id'] . '" style="cursor: pointer;  ............  template. The key is, as above in the  // default template, look for the signature lines and it  ............ ="middle">  <div style="font-weight: bold;" id="subject_', $message['id'], '">  ............ ' : 'left', '" valign="bottom" height="20" style="font-size: smaller;">';  if ($context['can_reply'] ............ ']))  echo '  ', $reply_button, '';   // So... quick reply is off, but they  ............ '])  echo '  ', $reply_button, '';   // Can the user modify the contents  ............ '])  echo '  ', $modify_button, '';   // How about... even... remove it  ............ '])  echo '  ', $remove_button, '';   // What about splitting it off the  ............ '])  echo '  ', $split_button, ''; echo '  </td>   ............ ' : 'left', '" valign="bottom" height="20" style="font-size: smaller;">';  if ($context['can_reply'] ............ ']))  echo '  ', $reply_button, '';   // So... quick reply is off, but they  ............ '])  echo '  ', $reply_button, '';   echo '  </td>   ............ "></a>';   // As before, build the custom button right.  if ($context['can_add_poll'])  $ ............ '] && $settings['show_mark_read'])  $normal_buttons['custom'] = array('text' => 'mark_unread', ' ............ ="0">  <tr>  ', template_button_strip($normal_buttons, 'top', true), '   ............ " type="text/javascript" src="' . $settings['default_theme_url'] . '/spellcheck.js"></script>';  echo ' ............ " type="text/javascript" src="' . $settings['default_theme_url'] . '/xml_topic.js"></script> <script  ............  = ', $options['view_newest_first'], '   smf_topic = ', $context['current_topic'], ';   ............  = ', $context['start'], ';  smf_show_modify = ', $settings['show_modify'] ? '1' :  ............ , this is what the body will look like.  var smf_template_body_edit = \'<div id="error_box" style=" ............ ;', $context['show_spellchecking'] ? '<input type="button" value="' . $txt['spell_check'] . '" onclick=" ............  this is the replacement for the subject.  var smf_template_subject_edit = \'<input type="text" name= ............  Restore the message to this after editing.  var smf_template_body_normal = \'%body%\';  var  ............ '.msg%msg_id%#msg%msg_id%">%subject%</a>\';  var smf_template_top_subject = "', $txt[118], ': %subject% ............ ')"   if (window.XMLHttpRequest)  showModifyButtons(); // ]]></script> <table border="0" width="100%" ............ '], '</td>  </tr> </table>';   $mod_buttons = array(  'move' => array('test' => ' ............ ', 'text' => empty($context['is_locked']) ? 'smf279' : 'smf280', 'image' => 'admin_lock.gif', ' ............ ', 'text' => empty($context['is_sticky']) ? 'smf277' : 'smf278', 'image' = ......
#685
Fixed or Bogus Bugs / Re: Not sure..
syyskuu 17, 2011, 04:33:11 AP tekijältä emanuele
......  cells. */ table {  empty-cells: show; }  /* Set a fontsize that will look the same in all browsers. */  ............  url(../images/theme/backdrop.png) repeat-x;  font: 78%/130% verdana, Helvetica, sans-serif;  margin: ............ ; }  /* We can style the different types of input buttons to be uniform thoughout different browsers and  ............  colour themes.  .button_submit - covers input[type=submit], input[type= ............ ], button[type=submit] and button[type=button] in all  ............   .button_reset - covers input[type=reset] and button[type= ............ [type=file] thoughout all browsers */  input, button, select, textarea {  font: 95%/115% verdana,  ............ . */ select option {  padding: 1px; }  /* The font size of textareas should be just a little bit  ............ . */ textarea {  font: 100%/130% verdana, Helvetica, sans-serif; }  /*  ............  bit differently, in order to make them look more button'ish. */ .button_submit, .button_reset {   ............ ;  border: 1px solid #cc9966;  cursor: pointer;  font-weight: normal; } input:hover, textarea:hover,  ............ , select:hover {  border: solid 1px #00cc66; } .button_submit:hover, .button_reset:hover {  border: 1px  ............  0 -218px #121212; } input:focus, textarea:focus, button:focus, select:focus {  border: solid 1px #00cc66;  ............ /* All input elements that are checkboxes or radio buttons shouldn't have a border around them. */ input. ............ : #666666;  background-color: #666666; }  /* By default set the color on these tags as black. */ h1, h2,  ............ , h4, h5, h6 {  color: #87cefa;  font-size: 1em;  margin: 0;  padding: 0; }  /*  ............  strong as bold, and em as italics */ strong {  font-weight: bold; }  em {  font-style: italic; } /*  ............ : left; } .clear_right {  clear: right; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext, tr.smalltext th {  font-size: 0.85em;  font-family: verdana, sans-serif; } ............  .middletext {  font-size: 0.9em;  line-height: 1em;  font-family:  ............ , sans-serif; } .normaltext {  font-size: 1em;  line-height: 1.2em; } .largetext {   ............  {  color: #00cc66; } .codeheader, .quoteheader {  font-size: 0.9em;  font-weight: bold;  padding-left:  ............  } blockquote, blockquote blockquote blockquote {  font-size: 0.9em;  color: #8F8F8F;  line-height: 1.4em; ............ ; } blockquote blockquote {  background: #1F1F1F;  font-size: 0.9em;  margin: 0 0 0.5em 0;   color: # ............  - maybe even PHP ;). */ code {  display: block;  font-family: "courier new", "times new roman",  ............  to change the code stuff... */ .codeoperation {  font-weight: normal; }  /* Styling for BBC tags */ . ............  inherit; } .bbc_img {  border: 0; } .bbc_table {  font: inherit;  color: inherit; } .bbc_table td {   ............ . */ .highlight {  background-color: yellow;  font-weight: bold;  color: black !important; }  /* A  ............ .titlebg td, tr.titlebg2 td {  color: #limegreen;  font-family: arial, helvetica, sans-serif;  font-size:  ............ .1em;  font-weight: bold;  background: url(../images/theme/ ............  td, tr.catbg th, tr.catbg2 th {  color: #white;  font-family: arial, helvetica, sans-serif;  font-size:  ............ .1em;  font-weight: bold;  background: url(../images/theme/ ............  a {  color: white; } tr.catbg th.smalltext {  font-size: 0.9em; } tr.titlebg th.smalltext, thead tr. ............  thead tr.titlebg th a:visited {  color: #00cc66;  font-size: 0.95em; }  /* Alternating backgrounds for  ............  }  /* the page navigation area */ .pagesection {  font-size: 0.9em;  padding: 0 0 0.2em 0;  overflow:  ............  shade, too! */ .lockedbg {  background: #000000;  font-style: italic; } .lockedbg2 {  background: # ............ ;  font-style: italic; }  /* Posts and personal messages  ............ -top: solid 1px #191919;  line-height: 1.4em;  font-size: 0.85em; } .custom_fields_above_signature {   ............ -top: solid 1px #202020;  line-height: 1.4em;  font-size: 0.85em; }  /* Sometimes there will be an  ............ , a.moderation_link:visited {  color: red;  font-weight: bold; }  .openid_login {  background:  ............ , .plainbox {  padding: 0.5em 1em 1em 1em;  font-size: 0.9em;  line-height: 1.4em;  border: solid  ............  */ .information {  padding: 0.5em 1em 1em 1em;  font-size: 0.9em;  line-height: 1.3em;  border: solid  ............ ) repeat-x;  color: #F96F00;  text-align: center;  font-size: 16pt;  padding: 8px;  width: 100%;  height:  ............  a {  color: orange;  text-decoration: underline;  font-size: smaller;  float: right;  margin-right: 20px; ............ : none;  margin: 0 0 10px 0;  padding: 5px 0 0 0;  font-weight: bold;  clear: both; } dl.settings dt. ............ : hidden;  height: 31px;  line-height: 32px;  font-size: 1.2em;  font-weight: bold;  } h3.catbg a,  ............  thead th {  height: 28px;  color: white;  font-family: arial, helvetica, sans-serif;  font-size:  ............ .1em;  font-weight: bold;  background: url(../images/theme/ ............ ./images/theme/main_block.png) 0 -40px no-repeat;  font-size: 5px;  line-height: 5px;  margin-bottom: 0. ............ ./images/theme/main_block.png) 0 -71px no-repeat;  font-size: 5px;  line-height: 5px;  margin-bottom: 0. ............ ; } .dropmenu a {  display: block;  color: #6633;  font-weight: bold;  text-decoration: ; } .dropmenu a  ............  {  display: block;  padding: 0 0 0 5px;  font-size: 0.9em; } /* the backgrounds first level  ............ : none;  position: absolute;  width: 19.2em;  font-weight: normal;  border-bottom: solid 1px #131313; ............  ul {  margin: -1.8em 0 0 13em; }  /* the active button */ .dropmenu li a.active {  background: url(../ ............ /menu_gfx.png) no-repeat 100% 0;  color: none;  font-weight: bold; } .dropmenu li a.active span. ............ ;  right: 5000px; }  /* Styles for the standard button lists. ------------------------------------------- ............ ------------ */  .buttonlist ul {  z-index: 100;  padding: 5px;  margin: 0  ............ .2em 0 0; } .buttonlist ul li {  margin: 0;  padding: 0;  list-style:  ............ ;  float: left; } .buttonlist ul li a {  display: block;  font-size: 0.8em;  ............  color: #000000;  font-weight: bold;  background: url(../images/theme/ ............ ;  text-transform: uppercase;  cursor: pointer; } .buttonlist ul li a:hover {  background: url(../images/ ............  0 0;  color: none;  text-decoration: none; } .buttonlist ul li a span {  background: url(../images/ ............ : 0 8px 0 0;  position: relative;  right: -8px; } .buttonlist ul li a:hover span {  background: url(../ ............ .png) no-repeat 100% 0; } /* the active one */ .buttonlist ul li a.active {  background: url(../images/ ............ /menu_gfx.png) no-repeat 0 -30px;  color: none;  font-weight: bold; } .buttonlist ul li a.active span {  ............ /theme/menu_gfx.png) no-repeat 100% -30px; } .buttonlist ul li a.active {  font-weight: bold; } . ............  navigation list */ ul#navigation {  margin: 0;  font-size: 0.9em;  padding: 1em 0.4em; } ul#navigation  ............  {  float: none;  font-size: 0.95em;  display: inline; }  #adm_submenus { ............  height! */ h1.forumtitle {  line-height: 45px;  font-size: 1.8em;  font-family: Geneva, verdana, sans- ............  these items to the right */ #siteslogan, img#smflogo {  margin: 0;  padding: 0;  float: right;   ............  {  float: right;  margin: 1em; } /* ..so does the SMF logo */ img#smflogo {  margin-left: 1em; } /* the  ............ -bottom: 1.5em; } #upper_section ul li.greeting {  font-size: 1.3em;  font-weight: bold;  line-height: 1. ............  ul {  display: block;  margin: 0;  font-size: 0.9em;  padding: 1em 0 0.5em 0;  border-top: ............  ul li {  float: left;  padding: 0 0.5em 0 0;  font-size: 0.95em; }  /* The footer wih copyright  ............  color: white; } #footer_section span.smalltext {  font-size: 100%; } #footer_section div.frame {   ............  0; } #footer_section ul li, #footer_section p {  font-size: 0.8em; } #footer_section ul li {  display:  ............ : block; } select.qaction, input.qaction {  font-size: 0.7em;  padding: 0; } #mlist table tbody td. ............  0px; } table.table_list tbody.content td.stats {  font-size: 90%;  width: 15%;  text-align: center; }  ............  tbody.content td.lastpost {  line-height: 1.3em;  font-size: 85%;  width: 24%; } table.table_list tbody. ............  */ .table_list tbody.content td.info a.subject {  font-weight: bold;  font-size: 110%;  color: #00cc66; } ............  tbody.content td.children {  color: #c5a79c;  font-size: 85%; } p.moderators {  font-size: 0.8em;   ............  1em 0;  line-height: 1em; } #posting_icons ul {  font-size: 0.8em; } #posting_icons img {  vertical- ............ : middle;  margin: 0 0 0 4ex; } #postbuttons_upper ul li a span {  line-height: 19px;   ............  {  padding: 0 0.5em; }  /* the newsfader */ #smfFadeScroller {  text-align: center;  padding: 0  ............  0.5em 0.2em 0.5em; } #upshrinkHeaderIC p.stats {  font-size: 1.1em;  padding-top: 8px; } form#ic_login {  ............  block;  margin: 0 0 0.5em 0;  text-align: right;  font-size: 0.9em;  position: relative;  top: -20px;   ............ ----------------------------------------- */  #postbuttons div.buttons {  padding: 0.5em;  width: 40%;   ............ : right; } #postbuttons div.middletext {  width: 60%; } #postbuttons  ............  {  display: block;  text-align: right; } #postbuttons span.lower {  clear: right; } #postbuttons . ............  {  float: right; } #postbuttons #pagelinks {  padding-top: 1em; } # ............ ;  margin: 0 0 1em 0; } #poll_options div.submitbutton {  border-bottom: 1px solid #545454;  clear: both; ............ : left; }  #poll_options dl.options dt.voted {  font-weight: bold; } #poll_options dl.options dd {   ............ ; } .poster h4 {  margin: 0.2em 0 0.4em 1.1em;  font-size: 120%; } .poster h4, .poster h4 a {  color: # ............ ; } .keyinfo {  float: left;  width: 50%; } .modifybutton {  clear: right;  float: right;  margin: 8px 20px  ............  0;  text-align: right; }  /* The quick buttons */ div.quickbuttons_wrap {  padding: 0.2em 0.5em; ............  } ul.quickbuttons {  margin: 0.9em 11px 0 0;  clear: right;  float: ............  right;  text-align: right;  font-family: arial, sans-serif;  font-weight: bold;   ............ -size: 0.85em; } ul.quickbuttons li {  float: left;  display: inline;  margin: 0  ............  0 11px; } ul.quickbuttons li a {  padding: 0 0 0 20px;  display: block;   ............  20px;  line-height: 18px;  float: left; } ul.quickbuttons a:hover {  color: #a70; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 0; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -30px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -60px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -90px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -150px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -210px; } ul.quickbuttons li. ............ : 0;  padding: 0;  width: 15%;  margin: .3em 0;  font-weight: bold; }  #post_header dd {  float: left;   ............ ; }  #postAttachment dt, #postAttachment2 dt {  font-weight: bold; }  #postAttachment3 {  margin-left:  ............  {  margin: .3em 0 .3em 1em; } /* the BBC buttons */ #bbcBox_message {  margin-bottom: 1em; } # ............ : 0.5em;  clear: both; } #post_event legend {  font-weight: bold;  color: black; } #post_event div. ............ : 0.5em;  clear: both; } #edit_poll legend {  font-weight: bold;  color: black; } #edit_poll div. ............ ----------------------------------------- */  #readbuttons_top .pagelinks,#readbuttons .pagelinks {   ............ -bottom: 1em;  width: 60%; } #readbuttons .pagelinks {  padding-top: 1em;; } #recent {   ............ -bottom: 0.5em; } fieldset.merge_options legend {  font-weight: bold; } .custom_subject {  margin: 0.5em  ............ {  float: left;  clear: both;  text-align: right;  font-weight: bold; } .login dd {  width: 54%;  float:  ............  right;  overflow: auto; }  dl.register_form dt {  font-weight: normal;  float: left;  clear: both;   ............ : 0.5em 0 0 0; }  dl.register_form dt strong {  font-weight: bold; }  dl.register_form dt span {   ............ ;  width: 49%;  margin: 0.5em 0 0 0; }  #confirm_buttons {  text-align: center;  padding: 1em 0; }  . ............  padding-right: 10px; } .adm_section h4.titlebg {  font-size: 95%;  margin-bottom: 5px; } #adm_container { ............ : 0.3em 0.7em; } #credits p {  padding: 0;  font-style: italic;  margin: 0; }  /* Styles for  ............ ; } /* the subject column */ .topic_table td {  font-size: 1em; } .topic_table td.subject p, . ............  td.stats {  font-size: 0.85em;  padding: 0;  margin: 0; } . ............  td.lastpost {  font-size: 0.85em;  line-height: 1.3em;  padding: 4px;  ............ : 1em; } .errorbox h3 {  padding: 0;  margin: 0;  font-size: 1.1em;  text-decoration: underline; } . ............ : 0;  margin: 0;  float: left;  width: 1em;  font-size: 1.5em; }  /* Styles for the profile section. ............  {  width: 78%;  float: right; } #basicinfo h4 {  font-size: 135%;  font-weight: 100;  line-height: 105%; ............ : hidden; } #basicinfo h4 span.position {  font-size: 80%;  font-weight: 100;  display: block; } # ............ %;  float: left;  margin: 0 0 3px 0;  padding: 0;  font-weight: bold;  clear: both; } #detailedinfo div. ............  border-top: 1px #545454 solid; } .signature h5 {  font-size: 0.85em;  margin-bottom: 10px; } # ............ %;  float: left;  margin: 0 0 3px 0;  padding: 0;  font-weight: bold;  clear: both; } #generalstats div. ............ %;  float: left;  margin: 0 0 3px 0;  padding: 0;  font-weight: bold;  clear: both; } #popularposts div. ............ : both;  margin: 0 0 3px 0;  padding: 0 3px 0 0;  font-weight: bold; } #activitytime div.content dd {   ............ : 0 0 0 0;  padding: 0.2em 0.5em 0.1em 0.2em;  font-size: 2.2em;  font-weight: bold;  color: #3f3f3f;  ......
#686
SMF Coding Discussion / Re: SSI Code to Template Code
elokuu 16, 2011, 12:54:45 AP tekijältä digitalmikey
......  <?php<br />/**<br /> * Simple Machines Forum (SMF)<br /> *<br /> * @package SMF<br /> * @author  ............  /> * @license http://www.simplemachines.org/about/smf/license.php BSD<br /> *<br /> * @version 2.0<br /> ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></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'], '";', $ ............ /> sId: \'upshrink\',<br /> srcExpanded: smf_images_url + \'/upshrink.png\',<br />  ............ ']), ',<br /> srcCollapsed: smf_images_url + \'/upshrink2.png\',<br />  ............  navigation tree.<br /> theme_linktree();<br />//SMFPacks Shoutbox --><br /> if (function_exists(' ............ ')) template_shoutbox('main');<br /> // <-- SMFPacks Shoutbox<br />}<br /><br />function  ............  /> <ul class="reset"><br /> <br /> <li><a id="button_xhtml" href="http://validator.w3.org/check?uri= ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ </a></li>' : '', '<br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ ="menu_nav">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> echo '<br /> ............  <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> <span class="' ............ , isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $ ............ '], '</span><br /> </a>';<br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............  <ul>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  '<br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '><br /> <span',  ............ ($childbutton['is_last']) ? ' class="last"' : '', '>', $ ............ ['title'], !empty($childbutton['sub_buttons']) ? '...' : '', '</span><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br /> ............  <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '><br /> <span',  ............ ($grandchildbutton['is_last']) ? ' class="last"' : '', '>', $ ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  $strip_options = array();<br /><br /> // List the buttons in reverse order for RTL languages.<br /> if ($ ............ ['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li><a' . (isset($value['id']) ? ' ............  id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ]] . '</span></a></li>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  // Make the last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' float' . $direction : ............  '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  '"': ''), '><br /> <ul>',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
#687
......  so blind, but i cant seem to find this on my default/index.template.php file  Koodi [Valitse] Laajenna  ............  <img src="', $settings['images_url'], '/smflogo.gif" width="250" style="float: right;" alt=""  ............ />  <span style="font-family: Georgia, sans-serif; font-size: xx-large;" ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<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 /> if (isset($context[' ............ > 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 />  ............ '">&nbsp;</td>' : '';<br /><br /> // the [contact] button<br /> if ($context['allow_view_contact'])<br />  ............  href="', $scripturl, '?action=contact">' , $txt['smfcontact_contact'] , '</a><br /> </td>' , $ ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
#688
Modifications and Packages / Re: Enhanced Calendar
syyskuu 02, 2007, 12:20:27 AP tekijältä ES23
...... 'm using SMF 1.1.3 with Mambo 4.6.2,using SMF-Mambo Bridge 1.1  ............  alot of errors already but it's reported on my smf forum log some of the following errors:  http:// ............ .website.com/forums/index.php?option=com_smf&amp;Itemid=4&amp;Itemid=4&amp;action=calendar&amp; ............  for foreach() File: /var/www/html/forums/Themes/default/Calendar.template.php (main sub template - eval?)  ............ ://www.website.com/forums/index.php?option=com_smf&amp;Itemid=4&amp;Itemid=4&amp;action=calendar&amp; ............  offset: 1 File: /var/www/html/forums/Themes/default/Calendar.template.php (main sub template - eval?)  ............ ://www.website.com/forums/index.php?option=com_smf&amp;Itemid=4&amp;Itemid=4&amp;action=calendar&amp; ............  offset: 6 File: /var/www/html/forums/Themes/default/Calendar.template.php (main sub template - eval?)  ............ ://www.website.com/forums/index.php?option=com_smf&amp;Itemid=4&amp;Itemid=4&amp;action=calendar&amp; ............  offset: 1 File: /var/www/html/forums/Themes/default/Calendar.template.php (main sub template - eval?)  ............ ://www.website.com/forums/index.php?option=com_smf&amp;Itemid=4&amp;Itemid=4&amp;action=calendar&amp; ............  offset: 48 File: /var/www/html/forums/Themes/default/Calendar.template.php (main sub template - eval?)  ............ > <tr class="titlebg"><br /> <td style="font-size: large;" align="center" colspan="7"><br />  ............ ="windowbg3"><br /> <td style="padding: 5px; font-size: small; font-weight: bold;" colspan="2"><br / ............  'windowbg2' : 'windowbg', '" style="padding: 4px; font-size: small;"><br /> ', empty($day['day'])  ............ ="center">';<br /> // Show a little "post event" button?<br /> if ($context['can_post'])<br /> echo '<br  ............ '], ';sesc=', $context['session_id'], '">', create_button('calendarpe.gif', 'calendar23', 'calendar23', ' ............  <td align="center">';<br /> // Show another post button just for symmetry.<br /> if ($context['can_post']) ............ '], ';sesc=', $context['session_id'], '">', create_button('calendarpe.gif', 'calendar23', 'calendar23', ' ............ ]) ? $txt[10] : $txt[105], '" />';<br /> // Delete button?<br /> if (empty($context['event']['new']))<br />  ......
#689
......  have a question ...  I Have SMF 1.1RC2 with Helios_Multi theme as default of my  ............  ', $board['posts'], ' ', $txt[21], ' ', $txt['smf88'], '<br />   ............ >  ', $txt['smf88'], ' ', $board['last_post']['link'], ' ', $txt[ ............ '] . '<a href="#bot">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  <td align="right" nowrap="nowrap" style="font-size: smaller;">', theme_show_buttons(), '</td>   ............ , '/icons/quick_lock.gif" width="16" alt="', $txt['smf279'], '" title="', $txt['smf279'], '" border="0" / ............ '/icons/quick_sticky.gif" width="16" alt="', $txt['smf277'], '" title="', $txt['smf277'], '" border="0" / ............ '] . '<a href="#top">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  <td align="right" nowrap="nowrap" style="font-size: smaller;">', theme_show_buttons(), '</td>   ............ .gif" alt="" align="middle" /> ' . $txt['smf96'] . '<br />' : '') . ($modSettings['pollMode'] = ............ .gif" alt="" align="middle" /> ' . $txt['smf43'] : '') . '  </ ............ [this.selectedIndex].value) window.location.href = smf_scripturl + this.options[this.selectedIndex]. ............ .substr(smf_scripturl.indexOf(\'?\') == -1 || this.options[ ............  </select>&nbsp;  <input type="button" value="', $txt[161], '" onclick="if (this.form. ............ " type="text/javascript" src="' . $settings['default_theme_url'] . '/xml_board.js"></script> <script  ......
#690
SMF 2.0.x Support / Re: Index page not showing
elokuu 13, 2011, 01:55:49 IP tekijältä yourwealth
......  <?php<br />/**<br /> * Simple Machines Forum (SMF)<br /> *<br /> * @package SMF<br /> * @author  ............  /> * @license http://www.simplemachines.org/about/smf/license.php BSD<br /> *<br /> * @version 2.0<br /> ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></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");< ............ > ', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo. ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /><br /> <div class="info">', $ ............  name="submit" value="', $txt['search'], '" class="button_submit" /><br /> <input type="hidden" name=" ............ /> sId: \'upshrink\',<br /> srcExpanded: smf_images_url + \'/upshrink.png\',<br />  ............ ']), ',<br /> srcCollapsed: smf_images_url + \'/upshrink2.png\',<br />  ............ ">', theme_copyright(), '</li><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check?uri= ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ </a></li>' : '', '<br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ ="menu_nav">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> echo '<br /> ............  <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> <span class="' ............ , isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $ ............ '], '</span><br /> </a>';<br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............  <ul>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  '<br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '><br /> <span',  ............ ($childbutton['is_last']) ? ' class="last"' : '', '>', $ ............ ['title'], !empty($childbutton['sub_buttons']) ? '...' : '', '</span><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br /> ............  <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '><br /> <span',  ............ ($grandchildbutton['is_last']) ? ' class="last"' : '', '>', $ ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  $strip_options = array();<br /><br /> // List the buttons in reverse order for RTL languages.<br /> if ($ ............ ['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li><a' . (isset($value['id']) ? ' ............  id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ]] . '</span></a></li>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  // Make the last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' float' . $direction : ............  '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  '"': ''), '><br /> <ul>',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
......  cells. */ table {  empty-cells: show; }  /* Set a fontsize that will look the same in all browsers. */  ............  url(../images/theme/backdrop.png) repeat-x top;  font: 78%/130% "Tahoma", "Verdana", "Arial", " ............ ; }  /* We can style the different types of input buttons to be uniform throughout different browsers and  ............  color themes.  .button_submit - covers input[type=submit], input[type= ............ ], button[type=submit] and button[type=button] in all  ............   .button_reset - covers input[type=reset] and button[type= ............ [type=file] throughout all browsers */  input, button, select, textarea {  font: 95%/115% verdana,  ............ . */ select option {  padding: 1px; }  /* The font size of textareas should be just a little bit  ............ . */ textarea {  font: 100%/130% verdana, Helvetica, sans-serif; }  /*  ............  bit differently, in order to make them look more button'ish. */ .button_submit, .button_reset {   ............ ;  border: 1px solid #828282;  cursor: pointer;  font-weight: bold;  color: #fff;  padding: 3px;  - ............ /* All input elements that are checkboxes or radio buttons shouldn't have a border around them. */ input. ............ ;  color: #ccc;  background-color: #ccc; }  /* By default set the color on these tags as #000. */ h1, h2,  ............ , h4, h5, h6 {  color: #000;  font-size: 1em;  margin: 0;  padding: 0; }  /*  ............ : 1em;  margin: 0 0 0.5em 0; } fieldset legend {  font-weight: bold;  color: #444; } /* No image should  ............  strong as bold, and em as italics */ strong {  font-weight: bold; }  em {  font-style: italic; } /*  ............ : left; } .clear_right {  clear: right; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext, tr.smalltext th {  font-size: 0.85em;  font-family: verdana, sans-serif; } ............  .middletext {  font-size: 0.9em;  line-height: 1em;  font-family:  ............ , sans-serif; } .normaltext {  font-size: 1em;  line-height: 1em; } .largetext {   ............ , blockquote.bbc_alternate_quote {  font: italic 13px Tahoma,Calibri,Verdana,Geneva,sans- ............  PHP ;). */ code.bbc_code {  display: block;  font-family: "dejavu sans mono", "monaco", "lucida  ............ ", "courier new", monospace;  font-size: x-small;  background: #eef;  border-top:  ............ ... */ .codeheader, .quoteheader {  color: #333;  font-size: 12px;  padding: 0 0.3em; } .quoteheader a {  ............  to change the code stuff... */ .codeoperation {  font-weight: normal; }  /* Styling for BBC tags */ . ............  inherit; } .bbc_img {  border: 0; } .bbc_table {  font: inherit;  color: inherit; } .bbc_table td {   ............ ; } .bbc_list {  text-align: left; } .bbc_tt {  font-family: "dejavu sans mono", "monaco", "lucida  ............  text - such as search results. */ .highlight {  font-weight: bold;  color: #ff7200 !important;  font............ , tr.titlebg td, tr.titlebg2 td {  color: #FFF;  font-family: arial, helvetica, sans-serif;  font-size:  ............ ;  font-weight: bold;  background: #F2F4F5 url(../images/ ............  td, tr.catbg th, tr.catbg2 th {  color: #FFF;  font-family: tahoma, arial, helvetica, sans-serif;   ............ -size: 1em;  font-weight: bold;  background: #F2F4F5 url(../images/ ............ {  color: #FFF; } .catbg select {  height: 1.5em;  font-size: 0.85em; }  /* Alternating backgrounds for  ............ .png) repeat-x bottom left;  color: #3E3E3E;  font-size: 12px; } /* the page navigation area */ . ............  {  font-size: 0.9em;  padding: 0.2em;  overflow: hidden;   ............ /locked.png.png) repeat-x bottom left !important;  font-style: italic; }  /* Posts and personal messages  ............  border-top: 1px solid #aaa;  line-height: 1.4em;  font-size: 0.85em; } .custom_fields_above_signature {   ............  border-top: 1px solid #aaa;  line-height: 1.4em;  font-size: 0.85em; }  /* Sometimes there will be an  ............ , a.moderation_link:visited {  color: red;  font-weight: bold; }  .openid_login {  background:  ............ .plainbox {  padding: 0.5em 1em;  color: #3E3E3E;  font-size: 0.9em;  line-height: 1.4em;  border: 1px  ............  {  padding: 0.5em 1em;  color: #3E3E3E;  font-size: 0.9em;  line-height: 1.3em;  border: 1px  ............ ) repeat-x;  color: #f96f00;  text-align: center;  font-size: 16pt;  padding: 8px;  width: 100%;  height:  ............  a {  color: orange;  text-decoration: underline;  font-size: smaller;  float: right;  margin-right: 20px; ............ : none;  margin: 0 0 10px 0;  padding: 5px 0 0 0;  font-weight: bold;  clear: both; } dl.settings dt. ............ : hidden;  height: 33px;  line-height: 33px;  font-size: 1em;  font-weight: bold; } h3.catbg a:link,  ............ */ .table_grid tr.catbg, .table_grid tr.titlebg {  font-size: 0.95em;  border-bottom: 1px solid #fff; } . ............ .table_grid td {  padding: 0.4em 0.8em;  cursor: default; }   /* Common styles used to add corners to  ............ ;  padding-left: 20px;  background: #F0F0F0;  font-size: 5px;  line-height: 5px;  margin-bottom: 0. ............ ;  padding-left: 20px;  background: #F0F0F0;  font-size: 5px;  line-height: 5px;  margin-bottom: 0. ............ : block;  color: #3D3D3D;  text-decoration: none;  font-size: 11px; } /* the background's first level  ............ : none;  position: absolute;  width: 19em;  font-weight: normal;  border: 3px solid #8C9DA8;   ............ : 26px;  line-height: 26px;  padding-left: 10px;  font-size: 11px; } .dropmenu li li a:hover {   ............  ul {  margin: -1.8em 0 0 13em; }  /* the active button */ .dropmenu li a.active {  color: #000;  font............ : relative;  padding: 0 12px;  height: 31px;  font-weight: bold;  line-height: 31px;  font-size:  ............  } /* second menu*/ .sub_menu > li a.firstlevel {  font-size: 11px;  height: 11px;  line-height: 11px;   ............ : 24px;  line-height: 24px;  padding-left: 10px;  font-size: 11px; } .sub_menu li a.firstlevel:hover, . ............ : 3px 3px 0 0; } .sub_menu li a.active {  font-weight: bold; } .sub_menu li ul {  top: 22px;   ............ ;  right: 5000px; }  /* Styles for the standard button lists. ------------------------------------------- ............ ------------ */  .buttonlist ul {  z-index: 100;  padding: 5px;  margin: 0  ............ .2em 5px 0; } .buttonlist ul li {  margin: 0;  padding: 0;  list-style:  ............ ;  float: left; } .buttonlist ul li a {  display: block;  font-size: 11px;   ............  0 0 8px;  margin-left: 12px;  cursor: pointer; } .buttonlist ul li a:hover {  color: #417394;  text- ............ : none; } .buttonlist ul li a span {  background: url(../images/ ............ ;  padding: 0 8px 0 0; } /* the active one */ .buttonlist ul li a.active {  background: #5a6c85 url(../ ............ /menu_gfx.png) no-repeat 0 -90px;  color: #fff;  font-weight: bold; } .buttonlist ul li a.active span {  ............ /theme/menu_gfx.png) no-repeat 100% -90px; } .buttonlist ul li a.active {  font-weight: bold; } . ............ (../images/theme/menu_gfx.png) no-repeat 0 0; } .buttonlist ul li a.active:hover span {  background: url(. ............  navigation list */ ul#navigation {  margin: 0;  font-size: 0.9em;  padding: 1em 0.4em; } ul#navigation  ............  {  float: none;  font-size: 0.95em;  display: inline; }  #adm_submenus { ............  height! */ h1.forumtitle {  line-height: 45px;  font-size: 1.8em;  font-family: Geneva, verdana, sans- ............  these items to the right */ #siteslogan, img#smflogo {  margin: 0;  padding: 0;  position:  ............  {  float: right;  margin: 0; } /* ..so does the SMF logo */ img#smflogo {  margin-left: 1em; } /* the  ............  z-index: 5000; } #upper_section ul li.greeting {  font-weight: bold;  line-height: 1.5em;  font-size:  ............  div.user a:visited {  color: #FFF;  font-weight: normal; } div#upper_section div.user a: ............  a:visited {  color: #FFF;  padding: 3px 4px;  font-weight: bold;  -webkit-border-radius: 3px;  -moz- ............ -radius: 3px;  border-radius: 3px;  font-size: 12px; } div#upper_section div.user ul.reset  ............  color: #FFF;  background: #8C9DA8; } .user_bar {  font-size: 11px;  min-height: 35px;  line-height: 35px; ............ : left;  color: #737373;  padding: 0 10px 0 3px;  font-size: 12px;  margin-top: 3px; } .navigate_section  ............  li a {  color: #EC7500;  font-weight: 700;  padding: 2px 4px;  display: block;   ............  ul li.last a:visited {  background: none;  font-weight: normal;  color: #3E3E3E; } /* The footer  ............ : 1px solid #C1C1C1;  border-width: 0px 1px;  font-weight: bold;  padding-left: 20px; } .gotop a: ............  .custommenu li a:visited {  color: #FFF;  font-size: 12px;  line-height: 30px !important; } # ............ , #footer_section ul li, #footer_section p {  font-size: 11px;  color: #fff; } #footer_section  ............ : block; } select.qaction, input.qaction {  font-size: 0.85em;  padding: 0; } #mlist table tbody  ............ : 0; } table.table_list tbody.content td.stats {  font-size: 100%;  width: 18%;  text-align: center;   ............  tbody.content td.lastpost {  line-height: 1.3em;  font-size: 98%;  width: 24%; } table.table_list tbody. ............ , td.lastpost span a:visited  {  color: #738992;  font-weight: bold; } td.lastpost span a:hover  {   ............  border-top: none;  line-height: 25px !important;  font-size: 11px !important;  color: #BFC9CD;  padding:  ............  */ .table_list tbody.content td.info a.subject {  font-weight: bold;  font-size: 1.2em;  color: #2B6388;  ............  tbody.content td.info {  color: #4E4E4E;  font-size: 11px; } .table_list tbody.content td.info a. ............  tbody.content td.children {  color: #555;  font-size: 85%; } p.moderators {  font-size: 0.8em;   ............  1em 0;  line-height: 1em; } #posting_icons ul {  font-size: 0.8em; } #posting_icons img {  vertical- ............ : middle;  margin: 0 0 0 4ex; } #postbuttons_upper ul li a span {  line-height: 19px;   ............ * the newsfader */ #newsfader {  margin: 0 2px; } #smfFadeScroller {  border: 1px solid #E6B868;   ............  0.5em 0.2em 0.5em; } #upshrinkHeaderIC p.stats {  font-size: 1em;  padding-top: 8px; } form#ic_login {   ............  block;  margin: 0 0 0.5em 0;  text-align: right;  font-size: 0.9em;  position: relative;  top: -20px;   ............ ;  color: #333333;  text-align: center; }  #postbuttons div.buttons {  padding: 0.5em;  width: 40%;   ............ : right; } #postbuttons div.middletext {  width: 60%; } #postbuttons  ............  {  display: block;  text-align: right; } #postbuttons span.lower {  clear: right; } #postbuttons . ............  {  float: right; } #postbuttons #pagelinks {  padding-top: 1em; } # ............ ;  margin: 0 0 1em 0; } #poll_options div.submitbutton {  border-bottom: 1px solid #9999aa;  clear: both; ............ : left; }  #poll_options dl.options .voted {  font-weight: bold; }  #poll_options dl.options dd {   ............  0.5em 0 0; } #activemembers  {  padding: 5px;   font-size: 10px;  margin:3px;  -moz-border-radius:  ............  height: 24px;  line-height: 24px;   color: #fff;  font-size: 12px;  padding: 0 5px;  clear:both; } . ............  span {  float: right;  font-weight: bold; } .topbar_post div {  float:  ............ : right; } .botpost a:link, .botpost a:visited {  font-weight: bold;   color: #4E4E4E; } .botpost a: ............ ; } .keyinfo {  float: left;  width: 50%; } .modifybutton {  clear: right;  float: right;  margin: 6px 20px  ............  0;  text-align: right;  font: bold 0.85em arial, sans-serif;  color: #334466;   ............   padding: 3px 0 3px 15px;  color: #546C7E;  font-size: 11px; } div.poster ul ul {  margin: 0;   ............ : #FE6500; } div.poster ul li.memberlink {  font-size: 16px; } li.memberlink, li.avatar, li.stars,  ............  {  height: 10px;  display: block; } /* The quick buttons */ div.quickbuttons_wrap {  padding: 0.2em 0;   ............ : 100%;  float: left; }  ul.quickbuttons {  margin: 0;  clear: right;  float: right;   ............ -align: right;  font: bold 0.85em arial, sans-serif; } ul.quickbuttons  ............ ;  display: inline;  margin: 0 0 0 11px; } ul.quickbuttons li a {  padding: 0 0 0 20px;  display: block;   ............  20px;  line-height: 18px;  float: left; } ul.quickbuttons a:hover {  color: #a70; }   Cant post all,  ......
#692
...... : karlbenson - elokuu 15, 2008, 06:58:22 IPIn SMF 2.x more of the javascript that was in the pages  ............  // An show/hide object - like a header. function smfToggle(uniqueId, initialState) {  this.uid =  ............  var curMode = themeOptions[2] ? !mode : mode;  smf_setThemeOption(themeOptions[0], curMode ? 1 : 0,  ............ [curIndex][1] = (useImagePath == null ? smf_images_url : '') + mode0Image;  this. ............ [curIndex][2] = (useImagePath == null ? smf_images_url : '') + mode1Image;  }   // Add a  ............  class="titlebg2" height="32">  <span style="font-size: 130%;"> Hello <b>deathshadow</b></span>   ............  src="http://battletech.hopto.org/testforum/Themes/default/images/upshrink.gif" alt="*" title="Shrink or  ............ ">  <span class="smalltext"><b>News</b>: SMF - Just Installed!</span>  </td>  <td class=" ............  src="http://battletech.hopto.org/testforum/Themes/default/images/filter.gif" align="middle" style="margin:  ............  of markup and 2.8k of javascript (especially that SMFSetThemeOptions call which I didn't even include  ............ ,\''+targetID+'\'); return false;"><img src="'+smf_images_url+'/spacer.gif" width="16" height="16"  ............ ">  <h2>News</h2>  <div class="newsContent">SMF - Just Installed!</div>  </td>  </tr></table></ ............  src="http://battletech.hopto.org/testforum/Themes/default/images/off.gif" alt="No New Posts" title="No New  ............  would suggest that anyone writing code, be it for SMF or in general, review this EXCELLENT article on  ............ :26:17 APboy, your theme looks a lot uglier than SMF default!. Well, as I said only index.template.php  ............  only 'close' to the original appearance of the default theme for SMF 2.0 beta 3, I think it's actually  ............  in area. Mine is also better behaved on large font/120 dpi machines in Opera/IE. Mostly the code  ............ : http://battletech.hopto.org/testforum/compare/smf_original.jpg http://battletech.hopto.org/ ............ /compare/smf_original_largefonts.jpg  My WIP: http:// ............ .hopto.org/testforum/compare/smf_mine.jpg http://battletech.hopto.org/testforum/ ............ /smf_mine_largefonts.jpg  Of course, mine also has a  ............  of news in without having it look like ass.  The font sizes on a few things did get bumped and changed  ............  ends up measured in px for size consistancy at default zoom (menus/buttons) got a point size bump so  ............  on large font machines (like me) don't have to dive to zoom in  ............  the menu with that odd 'hangout' before the first button when selected - so that got the axe to 'clean it  ............ 'd deploy, I'm just trying to code a baseline for SMF 2 for me to use when making my own styles, that  ............  when SMF 2 is ready for launch on websites I have running  ......
#693
Graphics and Templates / Re: Top menu
elokuu 03, 2011, 05:29:07 AP tekijältä Soyar19
......  cells. */ table {  empty-cells: show; }  /* Set a fontsize that will look the same in all browsers. */  ............  {  background: #171717;  font: 95%/90% Verdana, Helvetica, sans-serif;  margin:  ............ ; }  /* We can style the different types of input buttons to be uniform throughout different browsers and  ............  color themes.  .button_submit - covers input[type=submit], input[type= ............ ], button[type=submit] and button[type=button] in all  ............   .button_reset - covers input[type=reset] and button[type= ............ [type=file] throughout all browsers */   input, button, select, textarea {  font: 95%/115% verdana,  ............ . */ select option {  padding: 1px; } /* The font size of textareas should be just a little bit  ............  background: #2B2B2B;  border: 1px solid #040404;  font: 100%/130% verdana, Helvetica, sans-serif; } /*  ............  bit differently, in order to make them look more button'ish. */ .button_submit, .button_reset {   ............ ;  border: 1px solid #040404;  cursor: pointer;  font-weight: normal; } input:hover, textarea:hover,  ............ , select:hover {  border: solid 1px #FFD700; } .button_submit:hover, .button_reset:hover {  border: 1px  ............ : #202020; } input:focus, textarea:focus, button:focus, select:focus {  border: solid 1px #FFD700;  ............ /* All input elements that are checkboxes or radio buttons shouldn't have a border around them. */ input. ............ : #121212;  background-color: #121212; }  /* By default set the color on these tags as #000. */ h1, h2,  ............ , h4, h5, h6 {  color: #FFFFFF;  font-size: 1em;  margin: 0;  padding: 0; } .content  ............  strong as bold, and em as italics */ strong {  font-weight: bold; }  em {  font-style: italic; } /*  ............ : left; } .clear_right {  clear: right; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext, tr.smalltext th {  font-size: 0.85em;  font-family: verdana, sans-serif; } ............  .middletext {  font-size: 0.9em;  font-family: verdana, sans-serif; }  ............ .normaltext {  font-size: 1em;  line-height: 1.2em; } .largetext {   ............ : 1px solid #000;  margin: 2px;  padding: 2px;  font-size: x-small;  line-height: 1.4em;  overflow:  ............  even PHP ;). */ code.bbc_code {  display: block;  font-family: "dejavu sans mono", "monaco", "lucida  ............ ", "courier new", monospace;  font-size: x-small;  background: #393A3E;  border: 1px  ............  {  color: #fff;  text-decoration: none;  font-style: normal;  font-weight: bold;  font-size: x- ............  to change the code stuff... */ .codeoperation {  font-weight: normal; }  /* Styling for BBC tags */ . ............  inherit; } .bbc_img {  border: 0; } .bbc_table {  font: inherit;  color: inherit; } .bbc_table td {   ............ .bbc_u {  text-decoration: underline; } .bbc_tt {  font-family: "dejavu sans mono", "monaco", "lucida  ............ . */ .highlight {  background-color: #ff0;  font-weight: bold;  color: #000; }  /* A more discreet  ............ , tr.titlebg td, tr.titlebg2 td {  color: gold;  font-family: Verdana, Helvetica, sans-serif;  font............  td, tr.catbg th, tr.catbg2 th {  color: #fff;  font-family: Verdana, Helvetica, sans-serif;  font............  a {  color: #fff; } tr.catbg th.smalltext {  font-size: 0.9em; } /* Alternating backgrounds for  ............  }  /* the page navigation area */ .pagesection {  font-size: 0.85em;  padding: 0.5em 0.2em;  overflow:  ............  posts too! */ .lockedbg {  background: #303030;  font-style: italic; } .lockedbg2 {  background: # ............ ;  font-style: italic; }  /* Posts and personal messages  ............ -top: 1px solid #323232;  line-height: 1.4em;  font-size: 0.85em; } .custom_fields_above_signature {   ............ -top: 1px solid #323232;  line-height: 1.4em;  font-size: 0.85em; }  /* Sometimes there will be an  ............ , a.moderation_link:visited {  color: red;  font-weight: bold; }  .openid_login {  background:  ............  style */ .description {  padding: 1em;  font-size: 0.9em;  line-height: 1.5em;  border: 1px  ............  style */ .information {  padding: 1em;  font-size: 0.9em;  line-height: 1.5em;  border: 1px  ............ : #2F2F2F;  color: #F1C534;  text-align: center;  font-weight: bold;  font-size: 18pt;  padding: 0.4em;   ............  a {  color: #fff;  text-decoration: underline;  font-size: smaller;  float: right; }  /* a general  ............ : none;  margin: 0 0 10px 0;  padding: 5px 0 0 0;  font-weight: bold;  clear: both; } dl.settings dt. ............ : 0;  padding: 7px 5px 3px 5px;  cursor: pointer;  font-weight: normal;  font-size: x-small;  text- ............  display: block;  padding: 0.5em 2em 0.5em 0.5em;  font-size: 90%;  text-decoration: none;  background:  ............  98% 50%; }  ul.admin_menu li ul li a.chosen {  font-weight: bold; }  ul.admin_menu li ul li a:hover {  ............ : 8px 12px 3px 6px; }  /* Styles for the standard button lists. ------------------------------------------- ............ ------------ */  .buttonlist ul {  background: url(../images/maintab_first. ............  scroll left bottom;  padding: 0 0 0 10px; } .buttonlist ul li, .buttonlist_bottom ul li {  display:  ............ ; } .buttonlist ul li a, .buttonlist_bottom ul li a {  float:  ............ ;  display: block;  color: #fff;  font-size: 0.8em;  font-family: tahoma, sans-serif;   ............ -transform: uppercase;  text-decoration: none; } .buttonlist ul li a:hover, .buttonlist_bottom ul li a: ............  {  color: #F1C534; } .buttonlist ul li a span {  background: url(../images/ ............ : block;  padding: 0.1em 0.5em 0.5em 0.5em; } .buttonlist ul li.last a span {  background: url(../ ............  bottom right;  padding: 0.1em 1em 0.5em 0.5em; } .buttonlist ul li.active a span em {  padding: 0.1em 0. ............  0.5em 0.5em;  display: block;  font-style: normal;  background: url(../images/ ............ .gif) repeat-x bottom right; } .buttonlist ul li.active a span {  background: url(../ ............ ) no-repeat bottom left;  padding: 0 0 0 8px; } .buttonlist ul li.lastactive {  float: left;  background:  ............ ) no-repeat bottom right;  padding: 0 8px 0 0; } .buttonlist ul li.active a {  background: url(../images/ ............ : 8px; } /* 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: #F1C534; } /* ..for  ............  "bottom" menu */ .buttonlist_bottom ul {  background: url(../images/ ............ -repeat scroll left top;  padding: 0 0 0 10px; } .buttonlist_bottom ul li a span {  background: url(../ ............ : block;  padding: 0.4em 0.5em 0.2em 0.5em; } .buttonlist_bottom ul li.last a span {  background: url(.. ............  top right;  padding: 0.4em 1em 0.2em 0.5em; } .buttonlist_bottom ul li.active a span em {  padding: 0. ............  0.5em 0.2em 0.5em;  display: block;  font-style: normal;  background: url(../images/ ............ .gif) repeat-x top right; } .buttonlist_bottom ul li.active a span {  background: url( ............ .gif) no-repeat top left;  padding: 0 0 0 8px; } .buttonlist_bottom ul li.lastactive {  float: left;   ............ .gif) no-repeat top right;  padding: 0 8px 0 0; } .buttonlist_bottom ul li.active a {  background: url(../ ............  right;  padding-right: 8px; }  /* The old-style button strips, with images */ .oldbuttonlist {  text- ............ : right;  padding: 0.5em; }  /* a smaller quick-button list */ ul.quickbuttons {  margin: 0.9em 11px 0 0; ............ ;  float: right;  text-align: right; } ul.quickbuttons li {  float: left;  display: inline;  margin: 0  ............  0 11px; } ul.quickbuttons li a {  padding: 0 0 0.7em 20px;  display: block; ............   height: 20px;  font: bold 0.85em/18px arial, sans-serif;  float: left; ............  } ul.quickbuttons li.quote_button {  background: url(../images/ ............ /quote.gif) no-repeat 0 0; } ul.quickbuttons li.remove_button {  background: url(../images/ ............ /delete.gif) no-repeat 0 0; } ul.quickbuttons li.modify_button {  background: url(../images/ ............ /modify.gif) no-repeat 0 0; } ul.quickbuttons li.approve_button {  background: url(../images/ ............ /approve.gif) no-repeat 0 0; } ul.quickbuttons li.restore_button {  background: url(../images/ ............ /restore_topic.gif) no-repeat 0 0; } ul.quickbuttons li.split_button {  background: url(../images/ ............ /split.gif) no-repeat 0 0; } ul.quickbuttons li.reply_button {  background: url(../images/ ............ /reply.gif) no-repeat 0 0; } ul.quickbuttons li.reply_all_button {  background: url(../images/ ............ /reply.gif) no-repeat 0 0; } ul.quickbuttons li.notify_button {  background: url(../images/ ............ /notify_sm.gif) no-repeat 0 0; } ul.quickbuttons li.inline_mod_check {  margin: 0 0 0 5px; }  . ............  {  margin: 0 1em 2em; } .generic_tab_strip .buttonlist {  float: left !important; }  /* the  ............  list */ ul#navigation {  margin: 0;  font-size: 0.9em;  padding: 1em 0.4em; } ul#navigation  ............  {  float: none;  font-size: 0.95em;  display: inline; }  /* Styles for  ............  everything, use this to set forum width, font-size etc. */ #mainframe {  font-size: 85%;   ............  {  padding: 0.6em 0 0.6em 0;  margin: 0;  font-family: Optima, Vagabond, Trebuchet MS, Verdana,  ............ , sans-serif;  font-size: 135%;  color: #fff; }  /* The greeting  ............  0.4em;  clear: both; } #greeting_section li {  font-weight: normal; } #greeting_section li#name {   ............ -left: 0.5em; } #greeting_section li em {  font-style: normal;  font-weight: bold; }  /* user  ............  {  padding: 1px;  margin: 1px 0 0 0;  font-size: 90%; } #user_section ul, #user_section form  ............  search areas */ #news_section {  clear: both;  font-size: 0.8em;  padding: 0.5em 1em 0.5em 1em; } # ............  h3 {  margin-right: 1em;  font-size: 0.85em;  display: inline; } #random_news p { ............  {  float: left;  display: block;  color: #fff;  font-size: 0.8em;  font-family: tahoma, sans-serif;   ............ : 0.1em 0.5em 0.5em 0.5em;  display: block;  font-style: normal;  background: url(../images/ ............  li {  float: left;  padding: 0 0.5em 0 0;  font-size: 0.8em; } ul.linktree li a {  color: #FFFFFF; ............ :hover {  color: #F1C534; } ul.linktree li span {  font-weight: bold; }  /* the footer area */ # ............  alter or otherwise hide the copyright output from SMF so please do not alter the two sections below. */  ............  li.copyright {  display: block;  line-height: 0;  font-size: small;  padding: 1em; } #footerarea ul li. ............ : block;  text-align: center; } /* the upshrink buttons */ #upshrink, #advsearch {  margin: 0 1ex; }  /*  ............ : 0; } table.table_list tbody.content td.stats {  font-size: 90%;  width: 15%;  text-align: center; }  ............  tbody.content td.lastpost {  line-height: 1.2em;  font-size: 85%;  width: 24%; } table.table_list tbody. ............  td {  overflow: hidden;  line-height: 2em;  font-weight: bold; } h3.titlebg, h4.titlebg {  border- ............ , tr.titlebg2 th, tr.titlebg2 td {  color: gold;  font-style: normal;  background: url(../images/titlebg. ............ } .titlebg, .titlebg a:link, .titlebg a:visited {  font-weight: bold;  color: gold;  font-style: normal; } ............  a:link, .titlebg2 a:visited {  color: gold;  font-style: normal;  text-decoration: underline; }  . ............ -bottom: 1px solid #2A2A2A; } .catbg, .catbg2 {  font-weight: bold; } .catbg3, tr.catbg3 td, .catbg3 a: ............ , .catbg3 a:visited {  font-size: 95%;  color: #fff;  text-decoration: none; } ............ /  p#stats {  text-align: right; } h3#newsfader {  font-size: 1em; } #smfNewsFader {  font-weight: bold;   ............ -height: 1.4em;  padding: 1em;  font-size: 1em;  text-align: center; } #upshrink_ic {   ............ : 0; } table.boardsframe td.info p.moderators {  font-size: 0.8em;  font-family: verdana, sans-serif; }  ............  {  clear: both;  width: 100%; } #posticons .buttonlist {  margin-right: 1em;  float: right; }  /*  ............  newsfader */ #smfFadeScroller {  text-align: center;  overflow:  ............  ul.horizlist label {  white-space: nowrap;  font-size: 90%;  font-weight: bold; }  /* Styles for  ............ ----- */  #childboards table {  width: 100%; } .modbuttons {  clear: both;  width: 100%; } .buttonlist, . ............  0.1em 0.5em;  margin: 0;  border-bottom: none;  font-weight: normal !important; } #topic_icons ul {   ............  1em 0.1em 1em;  margin: 0;  border-bottom: none;  font-weight: normal !important; } # ............  .edit_event {  color: #f00; } #moderationbuttons {  margin-left: 0.5em; } #postbuttons .nav, # ............ : 0.5em 0.5em 0 0;  text-align: right; } #postbuttons_lower .nav {  margin: 0 0.5em 0.5em 0; } # ............ , #postbuttons_lower {  text-align: right; }  /* Poll question * ............ ;  margin: 0 0 1em 0; } #poll_options div.submitbutton {  clear: both;  padding: 0 0 1em 2em; }  # ............  div.submitbutton.border {  border-bottom: 1px solid #696969;   ............  0 0 1em 0; } #poll_options dl.options dt.voted {  font-weight: bold; } #poll_options dl.options dd {   ............ : 1ex;  border: 2px dashed #cc3344;  color: #000;  font-weight: bold; } #forumposts h3.catbg3 {  font............ : none;  width: 50%;  min-height: 3em; } ul.postingbuttons {  float: right;  padding: 0 0.5em 0 0; } ul. ............  li {  float: left;  margin: 0 0.5em 0 0; } .modifybutton {  float: right;  margin: 0 0.5em 0.5em 0;  font:  ............ : 1em 0 0 16em; } #pollmoderation, #moderationbuttons_strip {  float: left; }  /* Styles for the quick  ............ : 0;  padding: 0;  width: 15%;  margin: .3em 0;  font-weight: bold; } #post_header dd {  float: left;   ............  1em; } #postAttachment dt, #postAttachment2 dt {  font-weight: bold; } #postAttachment3 {  margin-left:  ............  {  margin: .3em 0 .3em 1em; } /* The BBC buttons */ #bbcBox_message {  margin: 1em 0 0.5em 0; } # ............ : 0.5em;  clear: both; } #post_event legend {  font-weight: bold;  color: #000; } #post_event # ............ : both;  overflow: hidden; } #edit_poll legend {  font-weight: bold;  color: #000; } #edit_poll fieldset  ............ ----------------------------------------- */  .readbuttons {  clear: both;  width: 100%; } .buttonlist, . ............ -bottom: 0.5em; } fieldset.merge_options legend {  font-weight: bold; } .custom_subject {  margin: 0.5em  ............ {  float: left;  clear: both;  text-align: right;  font-weight: bold; } .login dd {  width: 54%;  float:  ............  right;  overflow: auto; }  dl.register_form dt {  font-weight: normal;  float: left;  clear: both;   ............ : 0.5em 0 0 0; }  dl.register_form dt strong {  font-weight: bold; }  dl.register_form dt span {   ............ ;  width: 49%;  margin: 0.5em 0 0 0; }  #confirm_buttons {  text-align: center;  padding: 1em 0; }  . ............ -border-radius: 5px; } .adm_section h4.titlebg {  font-size: 95%;  margin-bottom: 5px; } #main_container  ............ : 0.3em 0.7em; } #credits p {  padding: 0;  font-style: italic;  margin: 0; }  /* Styles for  ............ ; } /* the subject column */ .topic_table td {  font-size: 1em; } .topic_table td.subject {  padding:  ............ .topic_table td.stats, .topic_table td.lastpost {  font-size: 0.85em;  padding: 0;  margin: 0; } . ............  td.lastpost, .topic_table td.lastpost {  font-size: 0.9em;  line-height: 100%;  padding: 4px; }  ............  1em 0; } .errorbox h3 {  padding: 0;  margin: 0;  font-size: 1.1em;  text-decoration: underline; } . ............ : 0;  margin: 0;  float: left;  width: 1em;  font-size: 1.5em; }  /* Styles for the profile section. ............  {  width: 78%;  float: right; } #basicinfo h4 {  font-size: 135%;  font-weight: 100;  line-height: 105%; ............ : hidden; } #basicinfo h4 span.position {  font-size: 80%;  font-weight: 100;  display: block; } # ............ %;  float: left;  margin: 0 0 3px 0;  padding: 0;  font-weight: bold;  clear: both; } #detailedinfo div. ............ ;  border-top: 1px solid #666; } .signature h5 {  font-size: 100%;  margin-bottom: 10px; } # ............ %;  float: left;  margin: 0 0 3px 0;  padding: 0;  font-weight: bold;  clear: both; } #generalstats div. ............ %;  float: left;  margin: 0 0 3px 0;  padding: 0;  font-weight: bold;  clear: both; } #popularposts div. ............ : 0 0 0 0;  padding: 0.2em 0.5em 0.1em 0.2em;  font-size: 2.2em;  font-weight: bold;  color: #354c5f;  ............ #permissions li span.alert {  line-height: 2.9em;  font-size: 0.85em; }  #tracking div.content dl {   ............ %;  padding: 0;  width: 45%; } .ignoreboards a {  font-weight: bold;  text-decoration: none;  border- ............ ; } /*Issue a warning*/ #warn_body{  width: 80%;  font-size: 0.9em; }  /* Styles for the statistics  ......
......  elokuu 10, 2011, 10:25:10 IPYes, this part of the SMF interface is very poorly thought out. I've lost  ............  this very forum highlights the most important button (New Topic or Reply), making it scream out, "pick  ............ , pick me!" It's a shame that the default theme doesn't do that, and forum owners have to  ............ . It's not too difficult to modify the colors, but font size would be a bit trickier, as the button  ............  a new topic without a poll, press the "No Poll" button." I suspect from your comments that you're either  ............  using the SMF 2 default theme or maybe not even using SMF 2.   ............  site IS using the default theme and if you're referring to the NEW TOPIC  ............  below, then that's how it looks on all new SMF 2 installs.  Can you show a screenshot of your  ............ 's buttons or maybe post a link so we can see what the  ......
#695
Graphics and Templates / Re: Changing Line-Height
elokuu 07, 2011, 09:42:29 IP tekijältä yisuz
...... . */ table {  empty-cells: show; }  /* Set a fontsize that will look the same in all browsers. */  ............  {  background: #ffffff;  font: 76%/100% "Verdana", "Arial", "Helvetica", sans- ............ ; }  /* We can style the different types of input buttons to be uniform throughout different browsers and  ............  color themes.  .button_submit - covers input[type=submit], input[type= ............ ], button[type=submit] and button[type=button] in all  ............   .button_reset - covers input[type=reset] and button[type= ............ [type=file] throughout all browsers */  input, button, select, textarea {  font: 95%/115% verdana,  ............ . */ select option {  padding: 1px; }  /* The font size of textareas should be just a little bit  ............ . */ textarea {  font: 100%/130% verdana, Helvetica, sans-serif; }  /*  ............  bit differently, in order to make them look more button'ish. */ .button_submit, .button_reset {   ............   border: 1px solid #aaa;  cursor: pointer;  font-weight: normal; } input:hover, textarea:hover,  ............ , select:hover {  border: 1px solid #454545; } .button_submit:hover, .button_reset:hover {  border:  ............  0 -140px #cde7ff; } input:focus, textarea:focus, button:focus, select:focus {  border: 1px solid # ............ /* All input elements that are checkboxes or radio buttons shouldn't have a border around them. */ input. ............  color: #ccc;  background-color: #ccc; }  /* By default set the color on these tags as #000. */ h1, h2,  ............ , h4, h5, h6 {  color: #000;  font-size: 1em;  margin: 0;  padding: 0; }  /*  ............ ;  margin: 0 0 0.5em 0; } fieldset legend {  font-weight: bold;  color: #444; } /* No image  ............  strong as bold, and em as italics */ strong {  font-weight: bold; }  em {  font-style: italic; } /*  ............ : left; } .clear_right {  clear: right; }  /* Default font sizes: small (8pt), normal (10pt), and large  ............ (14pt). */ .smalltext, tr.smalltext th {  font-size: 0.85em;  font-family: verdana, sans-serif; ............  } .middletext {  font-size: 0.9em;  line-height: 1em;  font-family:  ............ , sans-serif; } .normaltext {  font-size: 1em;  line-height: 1.2em; } .largetext {   ............  font-size: 1.4em; } .centertext {  margin: 0 auto;   ............ , blockquote.bbc_alternate_quote {  font-size: x-small;  color: #000;  line-height: 1. ............  PHP ;). */ code.bbc_code {  display: block;  font-family: "dejavu sans mono", "monaco", "lucida  ............ ", "courier new", monospace;  font-size: x-small;  background: #eef;  border-top: ............  */ .codeheader, .quoteheader {  color: #666;  font-size: x-small;  font-weight: bold;  padding:  ............  change the code stuff... */ .codeoperation {  font-weight: normal; }  /* Styling for BBC tags */ . ............ ; } .bbc_img {  border: 0; } .bbc_table {  font: inherit;  color: inherit; } .bbc_table td {   ............  } .bbc_list {  text-align: left; } .bbc_tt {  font-family: "dejavu sans mono", "monaco", "lucida  ............  text - such as search results. */ .highlight {  font-weight: bold;  color: #ff7200 !important;   ............  td, tr.titlebg2 td {  color: #FAFAFA;  font-family: arial, helvetica, sans-serif;  font............ : 1.1em;  font-weight: bold;  background: url(../images/theme/ ............ , tr.catbg th, tr.catbg2 th {  color: #fff;  font-family: arial, helvetica, sans-serif;  font............ : 1.1em;  font-weight: bold;  background: url(../images/theme/ ............ : #fff; } .catbg select {  height: 1.5em;  font-size: 0.85em; }  /* Alternating backgrounds for  ............   /* the page navigation area */ .pagesection {  font-size: 0.9em;  padding: 0.2em;  overflow:  ............ , too! */ .lockedbg {  background: #d4dce2;  font-style: italic; } .lockedbg2 {  background: # ............ ;  font-style: italic; }  /* Posts and personal messages  ............ -top: 1px solid #aaa;  line-height: 1.4em;  font-size: 0.85em; } .custom_fields_above_signature {   ............ -top: 1px solid #aaa;  line-height: 1.4em;  font-size: 0.85em; }  /* Sometimes there will be an  ............ , a.moderation_link:visited {  color: red;  font-weight: bold; }  .openid_login {  background:  ............ , .plainbox {  padding: 0.5em 1em;  font-size: 0.9em;  line-height: 1.4em;  border:  ............  style */ .information {  padding: 0.5em 1em;  font-size: 0.9em;  line-height: 1.3em;  border:  ............ -x;  color: #f96f00;  text-align: center;  font-size: 16pt;  padding: 8px;  width: 100%;   ............  color: orange;  text-decoration: underline;  font-size: smaller;  float: right;  margin-right:  ............ ;  margin: 0 0 10px 0;  padding: 5px 0 0 0;  font-weight: bold;  clear: both; } dl.settings dt. ............  hidden;  height: 31px;  line-height: 31px;  font-size: 1.2em;  font-weight: bold; } h3.catbg a: ............  .table_grid tr.catbg, .table_grid tr.titlebg {  font-size: 0.95em;  border-bottom: 1px solid #fff; }  ............  td {  padding: 0.4em 0.8em;  cursor: default; }   /* Common styles used to add corners to  ............ /theme/main_block.png) 0 -40px no-repeat;  font-size: 5px;  line-height: 5px;  margin-bottom:  ............ /theme/main_block.png) 0 -71px no-repeat;  font-size: 5px;  line-height: 5px;  margin-bottom:  ............  {  display: block;  padding: 0 0 0 5px;  font-size: 0.9em; } /* the backgrounds first level  ............  none;  position: absolute;  width: 19.2em;  font-weight: normal;  border-bottom: solid 1px # ............  ul {  margin: -1.8em 0 0 13em; }  /* the active button */ .dropmenu li a.active {  background: url(../ ............ .png) no-repeat 100% 0;  color: #ffffff;  font-weight: bold; } .dropmenu li a.active span. ............ ;  right: 5000px; }  /* Styles for the standard button lists. ------------------------------------------- ............ ------------ */  .buttonlist ul {  float: right;  z-index: 100;   ............ : 5px;  margin: 0 0.2em 0 0; } .buttonlist ul li {  margin: 0;  padding: 0;  list- ............ : none;  float: left; } .buttonlist ul li a {  display: block;  font-size: 0. ............  text-transform: uppercase;  cursor: pointer; } .buttonlist ul li a:hover {  background: url(../images/ ............  0 0;  color: #fff;  text-decoration: none; } .buttonlist ul li a span {  background: url(../images/ ............  0 0;  position: relative;  right: -8px; } .buttonlist ul li a:hover span {  background: url(../ ............ .png) no-repeat 100% 0; } /* the active one */ .buttonlist ul li a.active {  background: url(../images/ ............ .png) no-repeat 0 -30px;  color: white;  font-weight: bold; } .buttonlist ul li a.active span {  ............ /theme/menu_gfx.png) no-repeat 100% -30px; } .buttonlist ul li a.active {  font-weight: bold; } . ............  list */ ul#navigation {  margin: 0;  font-size: 0.9em;  padding: 1em 0.4em; } ul# ............  li {  float: none;  font-size: 0.95em;  font-weight: bold;  display:  ............ ! */ h1.forumtitle {  line-height: 45px;  font-size: 1.8em;  font-family: Geneva, verdana,  ............  these items to the right */ #siteslogan, img#smflogo {  margin: 0;  padding: 0;  float:  ............  float: right;  margin: 1em; } /* ..so does the SMF logo */ img#smflogo {  margin-left: 1em; } /*  ............ : 1.5em; } #upper_section ul li.greeting {  font-size: 1.3em;  font-weight: bold;  line-height: ............  ul {  display: block;  margin: 0;  font-size: 0.9em;  padding: 1em 0 0.5em 0;  border- ............  li {  float: left;  padding: 0 0.5em 0 0;  font-size: 0.95em; }  /* The footer wih copyright  ............ : 4px; } #footer_section span.smalltext {  font-size: 100%; } #footer_section div.frame {   ............ ; } #footer_section ul li, #footer_section p {  font-size: 0.8em; } #footer_section ul li {  display: ............ : block; } select.qaction, input.qaction {  font-size: 0.85em;  padding: 0; } #mlist table tbody  ............  0; } table.table_list tbody.content td.stats {  font-size: 90%;  width: 15%;  text-align: center; } ............ .content td.lastpost {  line-height: 1.3em;  font-size: 85%;  width: 24%; } table.table_list  ............ / .table_list tbody.content td.info a.subject {  font-weight: bold;  font-size: 110%;  color: # ............  tbody.content td.info a.subject:hover {  font-weight: bold;  font-size: 110%;  color: #000;  ............  tbody.content td.children {  color: #555;  font-size: 85%; } p.moderators {  font-size: 0.8em;   ............  font-family: verdana, sans-serif; } /* hide the table  ............  0;  line-height: 1em; } #posting_icons ul {  font-size: 0.8em; } #posting_icons img {  vertical- ............ : middle;  margin: 0 0 0 4ex; } #postbuttons_upper ul li a span {  line-height: 19px;   ............  newsfader */ #newsfader {  margin: 0 2px; } #smfFadeScroller {  text-align: center;  padding:  ............ .5em 0.2em 0.5em; } #upshrinkHeaderIC p.stats {  font-size: 1.1em;  padding-top: 8px; } form#ic_login  ............ ;  margin: 0 0 0.5em 0;  text-align: right;  font-size: 0.9em;  position: relative;  top: -20px; ............ ----------------------------------------- */  #postbuttons div.buttons {  padding: 0.5em;  width: 40%;   ............  float: right; } #postbuttons div.middletext {  width: 60%; } #postbuttons  ............  {  display: block;  text-align: right; } #postbuttons span.lower {  clear: right; } #postbuttons . ............  {  float: right; } #postbuttons #pagelinks {  padding-top: 1em; } # ............ ;  margin: 0 0 1em 0; } #poll_options div.submitbutton {  border-bottom: 1px solid #9999aa;  clear:  ............ : left; }  #poll_options dl.options .voted {  font-weight: bold; }  #poll_options dl.options dd {   ............  } .poster h4 {  margin: 0.2em 0 0.4em 1.1em;  font-size: 120%; } .poster h4, .poster h4 a {  color: ............ .keyinfo {  float: left;  width: 50%; } .modifybutton {  clear: right;  float: right;  margin:  ............  20px 10px 0;  text-align: right;  font: bold 0.85em arial, sans-serif;  color: #334466; ............   }  /* The quick buttons */ div.quickbuttons_wrap {  padding: 0.2em 0;   ............  width: 100%;  float: left; }  ul.quickbuttons {  margin: 0.9em 11px 0 0;  clear: right;   ............ : right;  text-align: right;  font: bold 0.85em arial, sans-serif; } ul.quickbuttons  ............  display: inline;  margin: 0 0 0 11px; } ul.quickbuttons li a {  padding: 0 0 0 20px;  display: block; ............ ;  line-height: 18px;  float: left; } ul.quickbuttons a:hover {  color: #a70; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 0; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -30px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -60px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -90px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -150px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -180px; } ul.quickbuttons li. ............  {  background: url(../images/theme/quickbuttons.png) no-repeat 0 -210px; } ul.quickbuttons li. ............ : 0;  width: 15%;  margin: .5em 0 0 0;  font-weight: bold; } #post_header dd, .postbox dd {   ............ ; } #postAttachment dt, #postAttachment2 dt {  font-weight: bold; } #postAttachment3 {  margin-left: ............  {  margin: .3em 0 .3em 1em; } /* The BBC buttons */ #bbcBox_message {  margin: 0.75em 0.5em; } # ............ ----------------------------------------- */  #readbuttons_top .pagelinks, #readbuttons .pagelinks {   ............ -bottom: 1em;  width: 60%; } #readbuttons .pagelinks {  padding-top: 1em; } #recent {   ............ : left;  clear: both;  text-align: right;  font-weight: bold; } .login dd {  width: 54%;   ............  /* overflow: auto; */ }  dl.register_form dt {  font-weight: normal;  float: left;  clear: both;   ............ : 0.5em 0 0 0; }  dl.register_form dt strong {  font-weight: bold; }  dl.register_form dt span {   ............  width: 49%;  margin: 0.5em 0 0 0; }  #confirm_buttons {  text-align: center;  padding: 1em 0; }  . ............ -right: 10px; } .adm_section h4.titlebg {  font-size: 95%;  margin-bottom: 5px; } # ............ : 1px solid #ddd; } #credits p {  padding: 0;  font-style: italic;  margin: 0; }   ......
#696
Classic Themes / Re: [theme] Juno (SMF v1.0.5 - 1.1RC2)
tammikuu 16, 2006, 04:35:21 AP tekijältä bloc
...... . it will appear on top of the theme.  - about the button-generator....it could use some updating..however  ............  texts on what the buttons/icons are could also be good. It should however  ............  characters I think..since its just a "normal" font? Have to check more.  - "news" is just a graphic  ............   - edit area in messages share the same height as default theme really. You could easily change it by  ............  new topic while reading topic is not present in default theme either..the way its done is to create new  ............  only when in messageindex. Thats more the way SMF works...and feels logical too. In a message view  ......
#697
......  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>   ............ -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_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  <span style="float:right; margin-right:10px; font-size:70%;"><b>Dilber MC</b> Theme by <b><a href=" ............  echo '  <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>';   // the [chat] button  $chatPath = str_replace("index.php", "chat/ ............ );  $num = (empty($modSettings['enableChatButtonNo'])) ? 0 : count(chatOnlineUsers());  echo $ ............  </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 ==  ......
#698
Español (Spanish) / Re: [Duda] Mi Radio en SMF.-
heinäkuu 26, 2011, 09:56:48 IP tekijältä DoctorMalboro
......  <?php<br />/**<br /> * Simple Machines Forum (SMF)<br /> *<br /> * @package SMF<br /> * @author  ............  /> * @license http://www.simplemachines.org/about/smf/license.php BSD<br /> *<br /> * @version 2.0<br /> ............  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></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");< ............ > ', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo. ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script><br />  ............  type="submit" value="', $txt['login'], '" class="button_submit" /><br /><br /> <div class="info">', $ ............  name="submit" value="', $txt['search'], '" class="button_submit" /><br /> <input type="hidden" name=" ............ /> sId: \'upshrink\',<br /> srcExpanded: smf_images_url + \'/upshrink.png\',<br />  ............ ']), ',<br /> srcCollapsed: smf_images_url + \'/upshrink2.png\',<br />  ............  navigation tree.<br /> theme_linktree();<br /> //SMFPacks Shoutbox --><br /> if (function_exists(' ............ ')) template_shoutbox('main');<br /> // <-- SMFPacks Shoutbox<br /><br /> echo'<!-- ............ ">', theme_copyright(), '</li><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check?uri= ............ ]) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type= ............ </a></li>' : '', '<br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ ="menu_nav">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> echo '<br /> ............  <li id="button_', $act, '"><br /> <a class="', $button[' ............ '] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target= ............ "' . $button['target'] . '"' : '', '><br /> <span class="' ............ , isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $ ............ '], '</span><br /> </a>';<br /> if (!empty($button['sub_buttons']))<br /> {<br /> echo '<br />  ............  <ul>';<br /><br /> foreach ($button['sub_buttons'] as $childbutton)<br /> {<br />  ............  '<br /> <li><br /> <a href="', $childbutton['href'], '"', isset($childbutton['target']) ? '  ............ ="' . $childbutton['target'] . '"' : '', '><br /> <span',  ............ ($childbutton['is_last']) ? ' class="last"' : '', '>', $ ............ ['title'], !empty($childbutton['sub_buttons']) ? '...' : '', '</span><br />  ............  // 3rd level menus :)<br /> if (!empty($childbutton['sub_buttons']))<br /> {<br /> echo '<br /> ............  <ul>';<br /><br /> foreach ($childbutton['sub_buttons'] as $grandchildbutton)<br />  ............ > <li><br /> <a href="', $grandchildbutton['href'], '"', isset($grandchildbutton['target']) ? ............  ' target="' . $grandchildbutton['target'] . '"' : '', '><br /> <span',  ............ ($grandchildbutton['is_last']) ? ' class="last"' : '', '>', $ ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............  $strip_options = array();<br /><br /> // List the buttons in reverse order for RTL languages.<br /> if ($ ............ ['right_to_left'])<br /> $button_strip = array_reverse($button_strip, true);<br />< ............  /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<br /> <li><a' . (isset($value['id']) ? ' ............  id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ]] . '</span></a></li>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  // Make the last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' float' . $direction : ............  '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  '"': ''), '><br /> <ul>',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
#699
SMF 2.0.x Support / Re: Help Here
heinäkuu 20, 2011, 12:15:37 AP tekijältä alexobando
...... ="text/javascript"><!-- // --><![CDATA[<br /> var smf_avatarMaxWidth = ' . (int) $modSettings[' ............ '] . ';<br /> var smf_avatarMaxHeight = ' . (int) $modSettings[' ............ '] .= '<br /> window.addEventListener("load", smf_avatarResize, false);';<br /> else<br /> $ ............  = window.onload;<br /> window.onload = smf_avatarResize;';<br /><br /> // !!! Move this  ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_scripturl = "' . $scripturl . '";<br /> // ]]></ ............ /> }<br /> }<br /><br /> if (isset($settings['use_default_images']) && $settings['use_default_images'] == ' ............ ' && isset($settings['default_template']))<br /> {<br /> $settings['theme_url'] ............  = $settings['default_theme_url'];<br /> $settings['images_url'] = $ ............ ['default_images_url'];<br /> $settings['theme_dir'] = $ ............ ['default_theme_dir'];<br /> }<br />}<br /><br />// Show  ............ " style="display: inline; visibility: visible; font-family: Verdana, Arial, sans-serif;">' . $ ............  = $db_count;<br /><br /> if (isset($settings['use_default_images']) && $settings['use_default_images'] == ' ............ ' && isset($settings['default_template']))<br /> {<br /> $settings['theme_url'] ............  /> }<br />}<br /><br />// Creates an image/text button<br />function create_button($name, $alt, $label =  ............ ?<br /> if (function_exists('template_create_button') && !$force_use)<br /> return  ............  = '');<br /><br /> if (!$settings['use_image_buttons'])<br /> return $txt[$alt];<br /> elseif (! ............ ($settings['use_buttons']))<br /> return '<img src="' . $settings[' ............ '] . '/buttons/' . $name . '" alt="' . $txt[$alt] . '" ' . $ ............ <br /> return;<br /><br /> // Remove the files in SMF's own disk cache, if any<br /> $dh = opendir($ ............ ['lastActive'] * 60;<br /><br /> // All the buttons we can possible want and then some, try pulling  ............  final list of buttons from cache first.<br /><br /> global $adkportal;< ............  : $scripturl;<br /> if (($menu_buttons = cache_get_data('menu_buttons-' . implode('_', $ ............  $modSettings['settings_updated'])<br /> {<br /> $buttons = array(<br /> 'home' => array(<br /> ' ............  $home_url,<br /> 'show' => true,<br /> 'sub_buttons' => array(<br /> ),<br /> 'is_last' => $ ............ => !empty($adkportal['adk_enable']),<br /> 'sub_buttons' => array(<br /> ),<br /> ),<br /> ' ............  && allowedTo('adk_downloads_view'),<br /> 'sub_buttons' => array(<br /> ),<br /> ),<br /> 'help'  ............ =help',<br /> 'show' => true,<br /> 'sub_buttons' => array(<br /> ),<br /> ),<br /> ' ............  'show' => $context['allow_search'],<br /> 'sub_buttons' => array(<br /> ),<br /> ),<br /> 'admin' ............  'show' => $context['allow_admin'],<br /> 'sub_buttons' => array(<br /> 'featuresettings' => array(< ............ $context['allow_moderation_center'],<br /> 'sub_buttons' => array(<br /> 'modlog' => array(<br />  ............ ' => $context['allow_edit_profile'],<br /> 'sub_buttons' => array(<br /> 'summary' => array(<br />  ............ > 'show' => $context['allow_pm'],<br /> 'sub_buttons' => array(<br /> 'pm_read' => array(<br />  ............ ' => $context['allow_calendar'],<br /> 'sub_buttons' => array(<br /> 'view' => array(<br />  ............ ' => $context['allow_memberlist'],<br /> 'sub_buttons' => array(<br /> 'mlist_view' => array(<br /> ............  'show' => $user_info['is_guest'],<br /> 'sub_buttons' => array(<br /> ),<br /> ),<br /> ' ............  'show' => $user_info['is_guest'],<br /> 'sub_buttons' => array(<br /> ),<br /> 'is_last' => !$ ............  'show' => !$user_info['is_guest'],<br /> 'sub_buttons' => array(<br /> ),<br /> 'is_last' => !$ ............  ),<br /> );<br /><br /> // Allow editing menu buttons easily.<br /> call_integration_hook(' ............ ', array(&$buttons));<br /><br /> // Now we put the buttons in the  ............  so the theme can use them.<br /> $menu_buttons = array();<br /> foreach ($buttons as $act => $ ............ )<br /> if (!empty($button['show']))<br /> {<br /> $button[' ............ '] = false;<br /><br /> // Make sure the last button truely is the last button.<br /> if (!empty($ ............ ['is_last']))<br /> {<br /> if (isset($last_button))<br /> unset($menu_buttons[$last_button][' ............ ']);<br /> $last_button = $act;<br /> }<br /><br /> // Go through  ............  sub buttons if there are any.<br /> if (!empty($button[' ............ ']))<br /> foreach ($button['sub_buttons'] as $key => $subbutton)<br /> {< ............  /> if (empty($subbutton['show']))<br /> unset($button['sub_buttons'] ............ [$key]);<br /><br /> // 2nd level sub buttons next...<br /> if (!empty($subbutton[' ............ ']))<br /> {<br /> foreach ($subbutton['sub_buttons'] as $key2 => $sub_button2)<br />  ............  {<br /> if (empty($sub_button2['show']))<br /> unset($button[' ............ '][$key]['sub_buttons'][$key2]);<br /> }<br /> }<br /> } ............ <br /><br /> $menu_buttons[$act] = $button;<br /> }<br /><br /> if (! ............ 'cache_enable'] >= 2)<br /> cache_put_data('menu_buttons-' . implode('_', $user_info['groups']) . '-' . $ ............ ['language'], $menu_buttons, $cacheTime);<br /> }<br /><br /> $context[' ............ '] = $menu_buttons;<br /><br /> // Logging out requires the session  ............  in the url.<br /> if (isset($context['menu_buttons']['logout']))<br /> $context['menu_buttons'][' ............ ']['href'] = sprintf($context['menu_buttons']['logout']['href'], $context['session_var'], $ ............  are doing so we can set the active tab.<br /> // Default to home.<br /> $current_action = 'home';<br /><br  ............ ' : 'home';<br /><br /> if (isset($context['menu_buttons'][$context['current_action']]))<br /> $ ............  = 'moderate';<br /><br /> $context['menu_buttons'][$current_action]['active_button'] = true;<br /> ............ ']['unread_messages'] > 0 && isset($context['menu_buttons']['pm']))<br /> {<br /> $context['menu_buttons'] ............ ['pm']['alttitle'] = $context['menu_buttons']['pm']['title'] . ' [' . $context['user'][' ............ '] . ']';<br /> $context['menu_buttons']['pm']['title'] .= ' [<strong>' . $context[' ............  and ensure it's stored in settings.<br />function smf_seed_generator()<br />{<br /> global $modSettings; ......
...... , how many have you seen asking "How do I add a button/tab" to my current theme? How many of those users  ............  theme  "does it install" "can I perform the basic SMF functions: register, login,post,read?"  Yes!-> ............  has customization options (selectable colors/font size) that would be a good thing. If the theme  ............  significantly different, or too similar to the default? Or why not just dispense with that effort, the  ............  underpinning of the operating system (OS) which SMF is , in this context.  That is why I cant make my  ............  - his Paradigm is "Bridges Must Not Modify SMF or Target System at All" - Too restrictive! the  ......
Advertisement: