Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Haun tulos hakusanalle: Default smf Button Font

Tuloksien järjestys
#961
SMF 1.1.x Support / Re: Firefox Ends News with Vertical Bar
marraskuu 29, 2005, 08:48:59 AP tekijältä adamspt2
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc1"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc1" media="print" />';< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0);'; ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ="top" class="smalltext" style="width: 100%; font-family: verdana, arial, sans-serif;">';<br /><br / ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ ="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> <input type="hidden" name=" ............ "', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a><br /> <input type="hidden" name= ............ " value="" checked="checked"></input><br /><font size="-1" color="#000000">Web</font><br /></td>< ............ ="sitesearch" value="UKHoopsFans"></input><br /><font size="-1" color="#000000">UKHoopsFans</font><br /> ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............  style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline?  Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ =help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#962
SMF 1.1.x Support / Re: Registering using two databases
syyskuu 09, 2005, 05:14:10 IP tekijältä Captain_Morrigan
......  href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '  </span>  </td>  </tr>';  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script><br /> <script  ............ " type="text/javascript"><!--<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............  you want...<br /> echo '<br /> <span style="font-family: Georgia, sans-serif; font-size: xx-large;" ............ ="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';<br /><br / ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value="1440" ............ >', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ ="', $txt[34], '" /><br /><br /> ', $txt['smf52'], '<br /> </form>';<br /> }<br /><br />  ............ ['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $modSettings['totalTopics'], '</b> ', ............ /td><br /> </tr></table></td></tr></table><center><font color=#2C622D>', theme_copyright(), '';<br /><br / ............ >echo '</font></center></td></tr></table> ';<br /><br /> //  ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> echo '<br /> </div> ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ > // Folder style or inline?  Inline has a smaller font.<br /> echo '<span class="nav"', $settings[' ............ '] ? ' style="font-size: smaller;"' : '', '>';<br /><br /> // Each  ............ , $txt;<br /><br /> // Show the [home] and [help] buttons.<br /> echo '<br /> <a href="', $scripturl, '" ............ >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=mlist">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ '];<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /> if ($context['user']['is_guest'])<br /> {< ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ .com/membership.php">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ......
#963
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as opposed to text buttons? */<br /> $settings[ ............ 'use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc3" media="print" /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/', $cssfix, '.css" />';<br />< ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc3"></script>< ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ '] . '"))<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");< ............ ($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[' ............ '], '"><span>', $button['title'], '</span></a></li>';<br /><br /> // The  ............ >';<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[] = '<br /> <li><a' . (isset($value['id']) ? ' ............  id="button_strip_' . $value['id'] . '"' : '') . ' class=" ............ ]] . '</span></a></li>';<br /> }<br /><br /> // No buttons? No button strip either.<br /> if (empty($ ............  // Make the last one, as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', !empty($direction) ? ' align_' . $direction  ............ : '', '"', (empty($buttons) ? ' style="display: none;"' : ''), (!empty($ ............  '"': ''), '><br /> <ul>',<br /> implode('', $buttons), '<br /> </ul><br /> </div>';<br />}<br />< ......
#964
Español (Spanish) / Re: ayuda con subs.php
marraskuu 16, 2009, 11:35:31 IP tekijältä LA-GUERRA
...... '~<a\shref="http://www.simplemachines.org/"[^<>]*>(SMF|Powered by SMF)~', $forum_copyright) &&  ............ /www.simplemachines.org/about/copyright.php"[^<>]*>SMF\s.{1,6}[\s\d,ndash\-&;]*Simple Machines LLC~', $ ............ '] = $db_count;   if (isset($settings['use_default_images']) && $settings['use_default_images'] == ' ............ ' && isset($settings['default_template']))  {  $settings['theme_url'] = $ ............ (true) && !empty($context['template_layers']) && SMF !== 'SSI' && !WIRELESS)  {  // DO NOT MODIFY  ............  block !important; visibility: visible !important; font-size: large !important; font-weight: bold; color:  ............ .org/" style="color: black !important; font-size: large !important;">SMF</a> so they can  ............ ($returned_words);  } }  // Creates an image/text button function create_button($name, $alt, $label = ' ............ , $txt, $context;   if (!$settings['use_image_buttons'])  return $txt[$alt];  elseif (!empty($ ............ ['use_buttons']))  return '<img src="' . $settings[' ............ '] . '/buttons/' . $name . '" alt="' . $txt[$alt] . '" ' . $ ............  = $modSettings['lastActive'] * 60;   // All the buttons we can possible want and then some, try pulling  ............  final list of buttons from cache first.  if (($buttonData =  ............ ('menu_buttons-' . implode('_', $user_info['groups']) . '-' . $ ............  <= $modSettings['settings_updated'])  {  $buttons = array(  'home' => array(  'title' => $txt[ ............ '] : $scripturl,  'show' => true,  'sub_buttons' => array(  ),  ),  'forum' => array(   ............ ['sp_portal_mode'], array(1, 3)),  'sub_buttons' => array(  ),  ),  'help' => array(  ' ............  . '?action=help',  'show' => true,  'sub_buttons' => array(  ),  ),  'rules' => array(   ............ ['rules_enable_member_access']),  'sub_buttons' => array(  ),  ),  'search' => array(   ............ ,  'show' => $context['allow_search'],  'sub_buttons' => array(  ),  ),  'admin' => array(   ............ ',  'show' => $context['allow_admin'],  'sub_buttons' => array(  'featuresettings' => array(   ............ ' => $context['allow_moderation_center'],  'sub_buttons' => array(  'modlog' => array(  'title'  ............ 'show' => $context['allow_edit_profile'],  'sub_buttons' => array(  'summary' => array(  'title' ............ =pm',  'show' => $context['allow_pm'],  'sub_buttons' => array(  'pm_read' => array(  'title' ............  'show' => $context['allow_calendar'],  'sub_buttons' => array(  'view' => array(  'title' => ............  'show' => allowedTo('mgallery_access'),  'sub_buttons' => array(),  ),  'mlist' => array(  ' ............  'show' => $context['allow_memberlist'],  'sub_buttons' => array(  'mlist_view' => array(  ' ............ ',  'show' => $user_info['is_guest'],  'sub_buttons' => array(  ),  ),  'register' => array(   ............ ',  'show' => $user_info['is_guest'],  'sub_buttons' => array(  ),  'is_last' => true,  ),   ............ ',  'show' => !$user_info['is_guest'],  'sub_buttons' => array(  ),  'is_last' => true,  ),   ............ );   $load_menu_js = false;  // Now we put the buttons in the context so the theme can use them.  $ ............  = array();  foreach ($buttons as $act => $button)  if (!empty($button['show'] ............ ))  {  $button['active_button'] = false;   // Make sure the  ............  button truely is the last button.  if (!empty($button............ 'is_last']))  {  if (isset($last_button))  unset($menu_buttons[$last_button][' ............ ']);  $last_button = $act;  }   // Go through the sub buttons  ............  there are any.  if (!empty($button['sub_buttons']))  foreach ($button[' ............ '] as $key => $subbutton)  {  if (empty($subbutton['show']))   ............  unset($button['sub_buttons'][$key]);  }   // If this  ............  has some sub buttons then we need to tell the template to load the  ............  javascript file.  if (!empty($button['sub_buttons']))  $load_menu_js = true;   $ ............ [$act] = $button;  }  $buttonData = array($menu_buttons, $ ............ ['cache_enable'] >= 2)  cache_put_data('menu_buttons-' . implode('_', $user_info['groups']) . '-' . $ ............ ['language'], $buttonData, $cacheTime);  }   list($context[' ............ '], $context['load_menu_js']) = $buttonData;   // Logging out requires the session id in  ............  url.  if (isset($context['menu_buttons']['logout']))  $context['menu_buttons']['logout' ............ ]['href'] = sprintf($context['menu_buttons']['logout']['href'], $context['session_var'], $ ............  we are doing so we can set the active tab.  // Default to home.  $current_action = $modSettings[' ............ ']) ? 'forum' : 'home';   if (isset($context['menu_buttons'][$context['current_action']]))  $ ............ ')))  $current_action = 'login';   $context['menu_buttons'][$current_action]['active_button'] = true;   //  ............ ']['unread_messages'] > 0 && isset($context['menu_buttons']['pm']))  $context['menu_buttons']['pm'][' ............  seed and ensure it's stored in settings. function smf_seed_generator() {  global $modSettings;   //  ......
#965
Install and Upgrade Help / Re: HELP!!!111!!!11!!!1!1!!!
heinäkuu 28, 2009, 07:22:02 IP tekijältä calthephenom
......  do allow us to install SMF, but on windows,i can install phpbb, but it doesn' ............ *******************************************<br />* SMF: Simple Machines Forum  ............ ============= *<br />* Software Version: SMF 1.1.10 *< ............  you have probably guessed, is the crux on which SMF functions.<br /> Everything should start here, so  ............  of this file is the action array in<br /> the smf_main() function. It is formatted as so:<br /><br  ............  simple, no?<br />*/<br /><br />$forum_version = 'SMF 1.1.10';<br /><br />// Get everything started up.. ............ .<br />define('SMF', 1);<br />@set_magic_quotes_runtime(0);<br /> ............ ['rand_seed']) || mt_rand(1, 250) == 69)<br /> smf_seed_generator();<br /><br />// Determine if this  ............ ! Do we want these hard coded?<br /> $modSettings['defaultMaxMessages'] = 5;<br /> $modSettings[' ............  like this for memory's sake.)<br />call_user_func(smf_main());<br /><br />// Call obExit specially; we' ............  />// The main controlling function.<br />function smf_main()<br />{<br /> global $modSettings, $ ............  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'], '";  // ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)  Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.  Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............  + (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))  echo '  <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............  <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />   ............ " height="32">  <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';   // this is the upshrink button for the user info section  echo '   ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>    ............  <option value="60">', $txt['smf53'], '</option>  < ............  value="1440">', $txt['smf47'], '</option>  < ............  value="10080">', $txt['smf48'], '</option>  < ............  value="43200">', $txt['smf49'], '</option>  < ............  value="-1" selected="selected">', $txt['smf50'], '</option>  </ ............  <span class="middletext">', $txt['smf52'], '</span>  <input  ............ "><!-- // --><![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=" ............  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: smaller; margin-bottom: 2ex; margin-top:  ............ , $first , '">&nbsp;</td>';   // Show the [home] button.  echo ($current_action=='home' || $context[' ............  . '">&nbsp;</td>' : '';   // Show the [help] button.  echo ($current_action == 'help' || $context[' ............ ">&nbsp;</td>' : '';   // How about the [search] button?  if ($context['allow_search'])  echo ($ ............  . '">&nbsp;</td>' : '';   // the [member] list button  if ($context['allow_memberlist'])  echo ($ ............ : '';    // If the user is a guest, show [login] button.  if ($context['user']['is_guest'])  echo ( ............  // If the user is a guest, also show [register] button.  if ($context['user']['is_guest'])  echo ( ......
#966
...... , MySQL, bulletin, board, free, open, source,   smf, simple, machines, forum" />  <script language=" ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/script.js?fin11"></script>  <script language=" ............ ="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "http://www.classicwinnebagos.org/ ............ /Themes/default";  var smf_images_url = "http://www. ............ .org/Forums/Themes/default/images";  var smf_scripturl = "http://www. ............ .org/index.php?option=com_smf&Itemid=43";  var smf_iso_case_folding =  ............ ;  var smf_charset = "UTF-8";  // ]]></script>  <title> ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/style.css?fin11" />  <link rel="stylesheet"  ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/print.css?fin11" media="print" />  <link rel=" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=help" target="_blank" />  ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=search" />  <link rel=" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43" />  <link rel="alternate" type=" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;type=rss;action=.xml" />  < ............  yshout_php="/Forums/index.php?yshout&option=com_smf&Itemid=43&action=profile";  // ]]></script>  < ............  #yshout {  font-size: 12px;   ............   }  #yshout .shout-timestamp {  font-style: normal;  font-weight: normal;   ............ }  #yshout .shout-adminlinks { /* del and ban buttons */  font-size: 8pt;  color: # ............  #yshout #shout-text {  font-size: 7pt;   ............  margin-right: 3px;  }  #yshout #shout-button {   ............  function shrinkHeader(mode)  {  smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ?   "/upshrink2.gif" : "/ ............  shrinkHeaderIC(mode)  {  smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url   + (mode ? "/expand.gif" : "/collapse. ............ ://i115.photobucket.com/albums/n314/Liv42dayOK/CW/smf/3dCWlogo-1.jpg"    ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/CWForumTitle.jpg" alt="" />  </ ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/3dCWlogo.jpg" alt="" />  </td>  ............ " height="32">   <span style="font-size: 130%;"> Hello <b>Phåråoh</b></span>   ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile#" onclick=" ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/upshrink.gif" alt="*" title="Shrink or  ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile"><img src="http:/ ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;  action=unread">Show unread  ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;  action=unreadreplies">Show  ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=536"> ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/Abe_s_BagoTest1.gif" alt="" align="middle  ............ " style="display: inline; vertical-align: middle; font: inherit;"><tr><td style="filter: Glow(color=red,  ............ =2); font: inherit;"><span style="font-size: 10pt; line- ............ ><br />&nbsp; &nbsp; &nbsp; &nbsp;<b><span style="font-size: 10pt; line-height: 1.3em;">SEARCH THE  ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=search2"   method="post"  ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;  action=search;advanced"><img  ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/filter.gif" align="middle"   style="margin: ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=calendar">Our Calendar</ ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=admin">Admin</a>   ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=mlist">Our Members</a>   ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile">My Profile</a>   ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=pm">My Messages </a>   ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=classifieds">Classifieds  ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=store">Club Store</a>   ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=search">Advanced Search</ ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=help">Forum Help</a>   ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43">Forum Home</a>  </td>   ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=logout;sesc= ............  .text, .nametext, .blacktext10, .blacktext12 {  font-family: Veranda;  font-size: 17px;  color:  ............ (153, 40, 0);  font-weight: bold;  font-style: normal;  text- ............ .nametext {  padding: 5px;  display: block;  font-family: Veranda;  font-size: 14px;  color:  ............ (7, 0, 0);  font-weight: bold;  font-style: normal;  text- ............  } /* No idea */ .whitetext12, .orangetext15 {  font-family: Veranda;  font-size: 12px;  color:  ............ (0, 7, 1);  font-weight: bold;  font-style: normal;  text- ............ , a.redlink:hover {  color: rgb(40, 77, 0);  font-weight: bold;  font-style: normal;  text- ............ .man:hover, a:hover {  color: rgb(204, 0, 0);  font-weight: bold;  font-style: normal;  text- ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/icons/profile_sm.gif" alt="" align="top" /> ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/useron.gif" alt="Online" align="middle" />< ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/flags/us.png" alt="Country" /></td>    ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/email_sm.gif" alt="Email" /></td>   ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/www.gif" alt="Website" /></td>   ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=store;cat=3" target=" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=trackip;searchip=68.45. ............ .net" style="width: 100%; overflow: hidden; font-style: italic;">c-68-45-108-30.hsd1.pa.comcast. ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=report"> ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=showPosts" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=statPanel" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=buddies"> ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=36">tiinytina</ ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/buddy_useroff.gif" alt="Offline" align=" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=3">Clyde9</a>< ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/buddy_useroff.gif" alt="Offline" align=" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=summary"> ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=statPanel" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=showPosts" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=trackUser" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=trackIP"> ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa= ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=account"> ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa= ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa= ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=pictures"> ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=theme"> ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa= ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=pmprefs"> ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=buddies">Edit Buddies</a> ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa= ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=pictures"> ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=pictures; ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=pictures; ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=pictures; ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=pictures; ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=pictures; ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=pictures; ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=comment; ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1">Phåråoh</a>< ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/useron.gif" alt="Online" align="middle" />< ............  <tr>  <td>yeah, I ditched the cool font and went back to bland crackers.</td>   ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=comment"> ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=comment; ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=282">Chuck</a>< ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/useroff.gif" alt="Offline" align="middle" / ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=282;sa=comment" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=comment; ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=459"> ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/useroff.gif" alt="Offline" align="middle" / ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=459;sa=comment" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=comment; ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=3">Clyde9</a></ ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/useroff.gif" alt="Offline" align="middle" / ............ >  <tr>  <td><span style="font-size: 12pt; line-height: 1.3em;"><span style=" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=3;sa=comment"> ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=comment; ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=459"> ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/useroff.gif" alt="Offline" align="middle" / ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=459;sa=comment" ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=1;sa=comment; ............ ://www.classicwinnebagos.org/index.php?option=com_smf&amp;Itemid=43&amp;action=profile;u=5"> ............ ="http://www.classicwinnebagos.org/Forums/Themes/default/images/useroff.gif" alt="Offline" align="middle" / ......
#967
Arquivo / Re: mudar banner num forum
kesäkuu 17, 2009, 01:24:36 IP tekijältä rezende
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............  $settings, $options, $txt;   /* Use images from default theme when using templates from the default theme? ............   if this is 'always', images from the default theme will be used.  if this is 'defaults',  ............  from the default theme will only be used with default templates.   ............  is 'never' or isn't set at all, images from the default theme will not be used. */  $settings[' ............  What document type definition is being used? (for font size and other issues.)  'xhtml' for an  ............  for.  This should probably be the version of SMF it was created for. */  $settings[' ............   $settings['use_tabs'] = true;   /* Use plain buttons - as oppossed to text buttons? */  $settings[' ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc1"></script>   ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/theme.js?rc1"></script>   ............ ="text/javascript"><!-- // --><![CDATA[  var smf_theme_url = "', $settings['theme_url'], '";   ............  smf_default_theme_url = "', $settings[' ............ '], '";  var smf_images_url = "', $settings['images_url'], '";   ............  var smf_scripturl = "', $scripturl, '";  var  ............ '] ? 'true' : 'false', ';  var smf_charset = "', $context['character_set'], '";', $ ............ '] . '"))  window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");' : ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc1" media="print" /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ie7.css" />';  // ..and IE6!  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ie6.css" />';  // Firefox -  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ff.css" />';   // RTL  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/rtl.css" />';   // Show all  ............  main header object.  var mainHeader = new smfToggle("upshrink", ', empty($options[' ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))  return;   // ............  '  <ul>';  foreach ($context['menu_buttons'] as $act => $button)  echo '<li><a ', ............  $button['active_button'] ? ' class="current"' : '' , '  ............ ="', $button['href'], '"><span>', $button['title'], '</span></ ............ }  Koodi [Valitse] Laajenna // Generate a strip of buttons. function template_button_strip($button_strip, $ ............ , $context, $txt, $scripturl;   // Create the buttons...  $buttons = array();  foreach ($ ............ ']) || !empty($context[$value['test']]))  $buttons[] = '<a href="' . $value['url'] . '" ' . (isset($ ............ ['text']] . '</span></a>';  }   if (empty($buttons))  return '';   // Make the last one, as  ............  as possible.  $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);   echo '  <div  ............ ="buttonlist', $direction != 'top' ? '_bottom' : '', '">   ............ ">  <li>', implode('</li><li>', $buttons), '</li>  </ul>  </div>';  }  ?>  ......
#968
Arşiv / Re: Linktree kısmı anasayfadan kaldırma
toukokuu 29, 2009, 09:29:06 AP tekijältä lordreco
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  /><br /> <br /> <input type="submit" class="button" value="Git" tabindex="1004" /></div><br /> < ............ ="image" src="', $settings['images_url'], '/go_button.gif" class="search_button"/><br /> </form><br  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br /><p>< ............ ="submit" value="Giriş" accesskey="s" class="loginbutton" /><br /> <br /> <input type="hidden" name=" ............ "25" tabindex="1001" /><input type="submit" class="button" value="Go" tabindex="1004" /></div><br /> < ............ <br /><tr><br /><br /> <br /> <div class="smallfont" style="font-size:8pt"> <strong></strong></div>';< ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............  <td valign="middle" align="center" style="smallfont"><br /> ', theme_copyright(), '<br><font size= ............ "1" font color="#00305d">FunkyFresh by <a href="http://www. ............ -bu-sayfada-t10080.0.html" target="_blank" title="SMF Temalar">FoRuMBoL Themes</a></font><br /> </td> ............ ="right" width="100%"><br /> <div class="smallfont"><br /> <strong><br /> <a href="mailto:admin@ ............ /lordreco-temalari-artik-bu-sayfada-t10080.0.html">SMF Temalar</a> -<br /> <br /> <br /> <a  ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............  // Folder style or inline? Inline has a smaller font.<br /> echo '<span class="inlineimg">';<br  ............ ' : 'admin';<br /><br /><br /> // Show the [home] button.<br /> echo '<br /><br /><ul><li><a href="', $ ............ ></a></li></ul>';<br /><br /> // Show the [help] button.<br /><br /> echo '<br /><ul><li><a href="', $ ............ </a></li></ul>'; <br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ </li></ul>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............  /><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 == ......
#969
SMF Coding Discussion / Re: ADDIND menu button
huhtikuu 28, 2009, 09:34:22 IP tekijältä jpaytoncfd
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?rc1"></script>< ............ " type="text/javascript" src="', $settings['default_theme_url'], '/scripts/theme.js?rc1"></script><br  ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_default_theme_url = "', $settings[' ............ '], '";<br /> var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";', $ ............ '] . '"))<br /> window.open(smf_prepareScriptUrl(smf_scripturl) + "action=pm");' : ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/print.css?rc1" media="print" /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ie7.css" />';<br /> // ..and  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ie6.css" />';<br /> // Firefox  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/ff.css" />';<br /><br /> //  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/rtl.css" />';<br /><br /> //  ............  main header object.<br /> var mainHeader = new smfToggle("upshrink", ', empty($options[' ............ ="catbg"><br /> <img class="floatcenter" id="smflogo" src="http://chforum.netau.net/Themes/default............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("sb_collapsed", mode ? 1 : 0, null, ............ .getElementById("ajax_shoutbox_collapse").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ">', theme_copyright(), '</li><br /> <li><a id="button_xhtml" href="http://validator.w3.org/check/ ............  '"><span>XHTML</span></a></li><br /> <li><a id="button_rss" href="', $scripturl , '?type=rss;action=.xml" ............ </span></a></li><br /> <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class=" ............ ($context['linktree']) || (!empty($context['dont_default_linktree']) && !$force_show))<br /> return;<br /> ............ ="clearfix">';<br /><br /> foreach ($context['menu_buttons'] as $act => $button)<br /> {<br /> $classes =  ............ ();<br /> if (!empty($button['active_button']))<br /> $classes[] = 'active';< ............  /> if (!empty($button['is_last']))<br /> $classes[] = 'last';<br /> $ ............ , $classes);<br /> <br /> echo '<br /> <li id="button_', $act, '"', !empty($classes) ? ' class="' . $ ............  : '', '><br /> <a title="', $act, '" href="', $button['href'], '"><br /> <span>', ($button[' ............ '] ? '<em>' : ''), $button['title'], ($button['active_button'] ? '</em>' : '' ............  </div>';<br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $txt, $scripturl;<br /><br /> // Create the buttons...<br /> $buttons = array();<br /> foreach ($ ............ ']) || !empty($context[$value['test']]))<br /> $buttons[] = '<a href="' . $value['url'] . '"' . (isset($ ............ ['text']] . '</span></a>';<br /><br /> if (empty($buttons))<br /> return '';<br /><br /> // Make the last  ............ , as easy as possible.<br /> $buttons[count($buttons) - 1] = str_replace('<span>', '< ............  class="last">', $buttons[count($buttons) - 1]);<br /><br /> echo '<br />  ............ <div class="buttonlist', $direction != 'top' ? '_bottom' : '', '">< ............ ="clearfix"><br /> <li>', implode('</li><li>', $buttons), '</li><br /> </ul><br /> </div>';<br />}<br  ......
#970
SMF 1.1.x Support / Re: adding this?[help}
huhtikuu 09, 2009, 03:45:39 IP tekijältä Marcus Forsberg
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ <br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />  ............ /javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ );';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats'][' ............ 'show_load_time'])<br /> echo '<br />'. $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];<br /><br /> echo '<br /> </div><br />  ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  /> <ul>';<br /> <br /> // Show the [home] button.<br /> echo '<li><a href="', $scripturl, '">'  ............ </a></li>';<br /> <br /> // Show the [help] button.<br /> echo '<li><a href="', $scripturl, '? ............ /a></li>';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br />  ............  , '</a></li>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............  // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ ['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> } ............ <br /> elseif (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$ ............ . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br / ............ > if (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /> ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $ ......
#971
SMF Coding Discussion / Re: Creating a centered menu (SMF 2.0)
huhtikuu 06, 2009, 11:52:58 AP tekijältä KahneFan
......  the CSS I use on my tabs-gray-blue theme (iPost's default theme). You are welcome to also DL and dissect  ............ ;  position:fixed;  top: 0px;  left: 0px;  font-size: 75%; } #centeredmenu:hover {  background: ............ :hover {  color:#fff;  background:#000;  font-weight:bold; }  NOTE FROM ABOVE CODE: This part  ............  <ul class="clearfix">';   foreach ($context['menu_buttons'] as $act => $button)  {  $classes = array();   ............  (!empty($button['active_button']))  $classes[] = 'active';  if  ............ (!empty($button['is_last']))  $classes[] = 'last';  $classes =  ............ (' ', $classes);    echo '  <li id="button_', $act, '"', !empty($classes) ? ' class="' . $ ............ . '"' : '', '>  <a title="', $act, '" href="', $button['href'], '">  <span>', ($button[' ............ '] ? '<em>' : ''), $button['title'], ($button['active_button'] ? '</em>' : '' ............ <ul>';   // Go through each of the main menu buttons.  foreach ($context['menu_buttons'] as $act => ............  $button)  {  echo '  <li>   ............  <a href="', $button['href'], '"><span>' , $button['title'] , '</span>< ......
#972
...... , I'm only using the default theme. I have deleted the other two options--  ............  the index.template is... public_html/forum/Themes/default/index.template.php  Koodi [Valitse] Laajenna <? ............  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" />'; ............  Lightbox Scripts (except for the stats page and SMF Garage)<br /> if($context['current_action'] != ' ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/mootools1.11.js"></script><br /> < ............  <script type="text/javascript" src="', $settings['default_theme_url'], '/slimbox.js"></script><br />  ............ <link rel="stylesheet" href="', $settings['default_theme_url'], '/slimbox.css" type="text/css" media= ............ /* 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 />  ............ " 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. ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))<br /> echo '<br /> <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............ <br /> <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /><br /> < ............ ="titlebg2" height="32"><br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';<br /><br /> // this is the upshrink button for the user info section<br /> echo '<br /> < ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type="hidden"  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '">&nbsp;</td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............ : '';<br /><br /> <br /> <br /> // EzPortal Forum Button<br /> global $ezpSettings;<br /> <br /> if ($ ............  . '">&nbsp;</td>' : '';<br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ ['custom_tab_label'] : $txt['custom_tab_label_default'], '</a><br /> </td>' , $current_action == ' ............ </td>' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............ ;</td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............ >' : '';<br /><br /><br /> // the [banlist] list button<br /> if ($context['allow_banlist'])<br /> echo ( ............  /><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 == ......
#973
SMF 1.1.x Support / Re: ADD OWN LOGO
kesäkuu 06, 2008, 08:21:08 AP tekijältä dazastuart
......  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'], '";  // ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)  Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.  Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';   // Show  ............  + (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (mode ? 1 : 0);';  else  echo '  smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............  document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ ']))  echo '  <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', ............  <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />   ............ " height="32">  <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';   // this is the upshrink button for the user info section  echo '   ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>    ............  <option value="60">', $txt['smf53'], '</option>  < ............  value="1440">', $txt['smf47'], '</option>  < ............  value="10080">', $txt['smf48'], '</option>  < ............  value="43200">', $txt['smf49'], '</option>  < ............  value="-1" selected="selected">', $txt['smf50'], '</option>  </ ............  <span class="middletext">', $txt['smf52'], '</span>  <input  ............ "><!-- // --><![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=" ............  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: smaller; margin-bottom: 2ex; margin-top:  ............ , $first , '">&nbsp;</td>';   // Show the [home] button.  echo ($current_action=='home' || $context[' ............  . '">&nbsp;</td>' : '';   // Show the [help] button.  echo ($current_action == 'help' || $context[' ............ ">&nbsp;</td>' : '';   // How about the [search] button?  if ($context['allow_search'])  echo ($ ............  . '">&nbsp;</td>' : '';   // the [member] list button  if ($context['allow_memberlist'])  echo ($ ............ ">&nbsp;</td>' : '';   // the [Downloads System] button  if ($context['allow_downloads_view'])   ............     // 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 ( ............  </tr>  </table>';  }  // Generate a strip of buttons. function template_button_strip($button_strip, $ ............  = false, $custom_td = '') {  global $settings, $buttons, $context, $txt, $scripturl;   // Create the  ............ ...  foreach ($button_strip as $key => $value)  {  if (isset($ ............ $context[$value['test']]))  {  unset($button_strip[$key]);  continue;  }   ............  (!isset($buttons[$key]) || $force_reset)  $buttons[$key] = ............ '') . '>' . $txt[$value['text']] . '</a>';   $button_strip[$key] = $buttons[$key];  }   if (empty($ ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td>  <td class="', $direction ==  ......
#974
Modificaciones (Mods) / Re: AYUDA con mod Global Headers Footers
toukokuu 27, 2008, 05:59:57 IP tekijältä sandara-chan
......  menu sub template should display all the relevant buttons the user<br /><br /> wants and or needs.<br />< ............ , $txt;<br /><br /><br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /><br /> if this is 'always', images from the default theme will be used.<br /><br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /><br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /><br /> 'xhtml' for  ............  /><br /> This should probably be the version of SMF it was created for. */<br /><br /> $settings[' ............ '] = true;<br /><br /><br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /><br /> $ ............ ['use_buttons'] = true;<br /><br /><br /><br /> /* Show sticky  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />< ............ /javascript"><!-- // --><![CDATA[<br /><br /> var smf_theme_url = "', $settings['theme_url'], '";<br />< ............  /> var smf_images_url = "', $settings['images_url'], '";<br / ............ ><br /> var smf_scripturl = "', $scripturl, '";<br /><br /> var  ............ '] ? 'true' : 'false', ';<br /><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 /><br />  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /><br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />< ............  echo '<br /><br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  echo '<br /><br /> smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  /><br /> else<br /><br /> echo '<br /><br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  /><br /> else<br /><br /> echo '<br /><br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br /> < ............  /><br /> <br /><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /><br /><br /> // This  ............  '<br /><br /> window.addEventListener("load", smf_codeFix, false);<br /><br /><br /><br />  ............  smf_codeFix()<br /><br /> {<br /><br /> var  ............  '<br /><br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /><br /> window.onload = smf_codeFix;<br /><br /><br /><br /> function  ............ /><br /><br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  /><br /> // Show the [home] button.<br /><br /> echo '<li><a' , $current_action== ............  /><br /> // Show the [help] button.<br /><br /> echo '< ............  /> // How about the [search] button?<br /><br /> if ($context['allow_search'])<br  ............  /><br /> // the [member] list button<br /><br /> if ($context[' ............  // If the user is a guest, show [login] button.<br /><br /> if ($context[ ............  // If the user is a guest, also show [register] button.<br /><br /> if ($context[ ............  />}<br /><br /><br /><br />// Generate a strip of buttons.<br /><br />function template_button_strip($ ............  = '')<br /><br />{<br /><br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /><br />< ............  /> // Create the buttons...<br /><br /> foreach ($button_strip as $key =>  ............ ['test']]))<br /><br /> {<br /><br /> unset($button_strip[$key]);<br /><br /> continue;<br /><br />  ............  }<br /><br /> elseif (!isset($buttons[$key]) || $force_reset)<br /><br /> $buttons[$ ............ ['text']] . '</a>';<br /><br /><br /><br /> $button_strip[$key] = $buttons[$key];<br /><br /> }<br />< ............  /><br /><br /> if (empty($button_strip))<br /><br /> return '<td>&nbsp;</td>';<br  ............ ', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /><br /> <td class="', $ ......
#975
Graphics and Templates / Re: Placing a banner!?
maaliskuu 24, 2008, 12:38:23 IP tekijältä Final60
......  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?rc3"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc3" media="print" />';< ............ /* 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 />  ............  of simple rollover to get the effect where the button stays hightlit until<br /> // the menu is  ............ $a<6 ; $a++)<br /> {<br /> if(!empty($settings['buttonlist'.$a.'_header']))<br /> {<br /> echo '<br  ............ () { document.getElementById("' . $settings['buttonlist'.$a.'_header'] . '").className = "hover"; };< ............ () { document.getElementById("' . $settings['buttonlist'.$a.'_header'] . '").className = ""; };';<br / ............  echo '<br /> smf_setThemeOption("collapse_leftbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkLeftbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  echo '<br /> smf_setThemeOption("collapse_rightbar", mode ? 1 : 0,  ............  document.getElementById("upshrinkRightbar").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_am", mode ? 1 : 0, ............ /> document.getElementById("upshrink_am").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; padding-top: 1em; padding-bottom:  ............ ; $a<6 ; $a++)<br /> {<br /> if(!empty($settings['buttonlist'.$a.'_header']))<br /> {<br /> <br />  ......
#976
Modifications and Packages / Re: Show Google Pagerank
tammikuu 09, 2008, 03:31:23 IP tekijältä Marook
......  menu sub template should display all the relevant buttons the user<br /> wants and or needs.<br /><br />  ............ , $options, $txt;<br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /> if this is 'always', images from the default theme will be used.<br /> if this is 'defaults',  ............  from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /> 'xhtml' for an  ............ .<br /> This should probably be the version of SMF it was created for. */<br /> $settings[' ............ ['use_tabs'] = true;<br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /> $ ............ ['use_buttons'] = true;<br /><br /> /* Show sticky and lock  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> var  ............ '] ? 'true' : 'false', ';<br /> var smf_charset = "', $context['character_set'], '";<br /> ............ ['allow_color_change'] == 'no'))<br /> {<br /> // Defaults.<br /> $options['theme_color'] = isset($ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />'; ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (mode ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + '  . '"/'. $settings[' ............  ? 1 : 0);';<br /> else<br /> echo '<br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + '  . '"/'. $settings[' ............ /> echo ' <br /> <td><br /> <span style="font-family: \'Trebuchet MS\', Verdana, sans-serif;  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /> <br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="- ............ " selected="selected">', $txt['smf50'], '</option><br /> </select><br />  ............  /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type=" ............ -color: #6699CC; color: #6699CC; width: 20px; font-size: 1px;" type="submit" value="lightblue" name=" ............ -color: #5371AD; color: #5371AD; width: 20px; font-size: 1px;" type="submit" value="lightnavy" name=" ............ -color: #6C7F93; color: #6C7F93; width: 20px; font-size: 1px;" type="submit" value="lightsilver"  ............ -color: #53ADAD; color: #53ADAD; width: 20px; font-size: 1px;" type="submit" value="lightturquoise"  ............ -color: #4DB45D; color: #4DB45D; width: 20px; font-size: 1px;" type="submit" value="lightgreen" name= ............ -color: #93A659; color: #93A659; width: 20px; font-size: 1px;" type="submit" value="lightolive" name= ............ -color: #D8A259; color: #D8A259; width: 20px; font-size: 1px;" type="submit" value="lightgolden"  ............ -color: #a67259; color: #a67259; width: 20px; font-size: 1px;" type="submit" value="lightbrown" name= ............ -color: #E15050; color: #E15050; width: 20px; font-size: 1px;" type="submit" value="lightred" name=" ............ -color: #D47BC5; color: #D47BC5; width: 20px; font-size: 1px;" type="submit" value="lightrose" name=" ............ -color: #A185D6; color: #A185D6; width: 20px; font-size: 1px;" type="submit" value="lightlilac" name= ............ -color: #7F88B2; color: #7F88B2; width: 20px; font-size: 1px;" type="submit" value="lightviolet"  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ > <span style="float:right; margin-right:10px; font-size:70%;"><b>Dilber MC</b> Theme by <b><a href=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: 85%; margin-bottom: 2ex; margin-top: 2ex;">' ............ "><br /> </td>';<br /><br /> // Show the [home] button.<br /> echo'<br /> <td align="center" class=" ............  , '</a><br /> </td>';<br /> // Show the [help] button.<br /> echo'<br /> <td align="center" class=" ............ ><br /> </td>';<br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo'< ............  <br /> </td>'; <br /> // the [member] list button<br /> if ($context['allow_memberlist']) <br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest']) <br /> ............  <br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td>&nbsp;</td>';<br /><br  ............ ' : 'main', 'strip">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td><br /> <td class="', $direction == ......
......  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%; ">', ............ ="titlebg2" height="32"><br /> <span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', ............ '], '</span>';<br /><br /> // this is the upshrink button for the user info section<br /> echo '<br /> < ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............ "><br /> <option value="60">', $txt['smf53'], '</option><br /> <option value=" ............ ">', $txt['smf47'], '</option><br /> <option value=" ............ ">', $txt['smf48'], '</option><br /> <option value=" ............ ">', $txt['smf49'], '</option><br /> <option value="-1"  ............ ="selected">', $txt['smf50'], '</option><br /> </select><br />  ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /> <input type="hidden"  ............ /javascript"><!-- // --><![CDATA[<br /> function smfFooterHighlight(element, value)<br /> {<br />  ............ .src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ ="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout=" ............ /> echo '<br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /> // This is an  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /> function smf_codeFix()< ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ;<br /><br /> echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............  , '"> </td>';<br /><br /> // Show the [home] button.<br /> echo ($current_action=='home' || $context[' ............  . '"> </td>' : '';<br /><br /> // Show the [help] button.<br /> echo ($current_action == 'help' || $ ............ </td>' : '';<br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ( ............  '"> </td>' : '';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ >';<br /><br />}<br /><br />// Generate a strip of buttons.<br />function template_button_strip($ ............ , $custom_td = '')<br />{<br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /> //  ............  the buttons...<br /> foreach ($button_strip as $key => $ ............ $context[$value['test']]))<br /> {<br /> unset($button_strip[$key]);<br /> continue;<br /> }<br />  ............  (!isset($buttons[$key]) || $force_reset)<br /> $buttons[$key] =  ............ '>' . $txt[$value['text']] . '</a>';<br /><br /> $button_strip[$key] = $buttons[$key];<br /> }<br /><br />  ............  (empty($button_strip))<br /> return '<td> </td>';<br /><br />  ............ 'main' : 'mirror', 'tab_back">', implode(' | ', $button_strip) , '</td><br /> <td class="', $direction == ............  '"> </td>';<br />}<br /><br />?>it's the standard default template. i'm trying to add in that ssi_recent  ......
#978
SMF 1.1.x Support / Re: Need help linking SMF Gallery Lite 1.7.1
kesäkuu 24, 2007, 02:35:19 IP tekijältä hypnoscope
......  menu sub template should display all the relevant buttons the user<br /><br /> wants and or needs.<br />< ............ , $txt;<br /><br /><br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /><br /> if this is 'always', images from the default theme will be used.<br /><br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /><br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /><br /> 'xhtml' for  ............  /><br /> This should probably be the version of SMF it was created for. */<br /><br /> $settings[' ............ '] = false;<br /><br /><br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /><br /> $ ............ ['use_buttons'] = false;<br /><br /><br /><br /> /* Show  ............ ['theme_color'];<br /><br />else{<br /><br /> // Defaults.<br /><br /> $options['theme_color'] = isset($ ............ ['default_theme_color']) ? $settings['default_theme_color']  ............ <br /> $options['theme_color'] = isset($settings['default_theme_color']) ? $settings['default_theme_color']  ............ ="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" /><br /><br /> <script  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc3"></script><br /><br / ............ /javascript"><!-- // --><![CDATA[<br /><br /> var smf_theme_url = "', $settings['theme_url'], '";<br />< ............  /> var smf_images_url = "', $settings['images_url'], '";<br / ............ ><br /> var smf_scripturl = "', $scripturl, '";<br /><br /> var  ............ '] ? 'true' : 'false', ';<br /><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 /><br />  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /><br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />< ............ <br /><br /> echo '<br /><br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............  document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............ ; background-color: #503000; color: #503000; font-size: 6px;" type="submit" value="brown" name=" ............ ; background-color: #600000; color: #600000; font-size: 6px;" type="submit" value="red" name=" ............ ; background-color: #908000; color: #908000; font-size: 6px;" type="submit" value="golden" name=" ............ ; background-color: #005000; color: #005000; font-size: 6px;" type="submit" value="green" name=" ............ ; background-color: #000040; color: #000040; font-size: 6px;" type="submit" value="blue" name=" ............ ; background-color: #606060; color: #606060; font-size: 6px;" type="submit" value="silver" name=" ............ ="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;"><br /><br />  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br /><br / ............ ><br /><br /> <option value="60">', $txt['smf53'], '</option><br /><br /> <option  ............ ="1440">', $txt['smf47'], '</option><br /><br /> <option  ............ ="10080">', $txt['smf48'], '</option><br /><br /> <option  ............ ="43200">', $txt['smf49'], '</option><br /><br /> <option  ............ ="-1" selected="selected">', $txt['smf50'], '</option><br /><br /> </select><br / ............ /><br /> <span class="middletext">', $txt['smf52'], '</span><br /><br /> <input type=" ............ ="0"><tr><td align="left" style="color: #88908a; font-size: 8pt; font-family: tahoma, helvetica, serif;" ............ ['totalMessages'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b><br /><br /> ', $ ............  </td><td align="right" style="color: #b0b0b0; font-size: 8pt; font-family: tahoma, helvetica, serif;" ............  echo<br /><br /> $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'];<br /><br /><br /><br /> echo '<br /> ............  <a target="_blank" href="http://www.bloczone.net/smf">Bloc</a></span></td><br /><br /> </ ............  '<br /><br /> window.addEventListener("load", smf_codeFix, false);<br /><br /><br /><br />  ............  smf_codeFix()<br /><br /> {<br /><br /> var  ............  '<br /><br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /><br /> window.onload = smf_codeFix;<br /><br /><br /><br /> function  ............  // Folder style or inline? Inline has a smaller font.<br /><br /> echo '<span class="nav">';<br  ............ ><br /><br /> // Show the [home] and [help] buttons.<br /><br /><br /><br /> echo '<td><a  ............ ="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=help" >', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  /><br /><br /> // How about the [search] button?<br /><br /> if ($context['allow_search'])< ............ , '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  the user is a guest, show [login] and [register] buttons.<br /><br /> if ($context['user'][' ............ , '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ , '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............  }<br /><br /><br /><br /> // first button...is it on?<br /><br /> if(isset($settings[' ............ ']) && $settings['custombutton1_use']==true){<br /><br /> // is it  ............ ?<br /><br /> if(isset($settings['custombutton1_member']) && $settings['custombutton1_member']== ............ <br /> if(isset($settings['custombutton1']) && !empty($settings['custombutton1']) &&  ............ ($settings['custombutton1_link']) && !empty($settings['custombutton1_link'] ............  echo '<td><a href="'. $settings['custombutton1_link'].'"><img src="' . $settings['images_url'] . ............  '/' . $settings['custombutton1'] . '" alt="" style="margin: 0px 0;" border="0" / ............ <br /> if(isset($settings['custombutton1']) && !empty($settings['custombutton1']) &&  ............ ($settings['custombutton1_link']) && !empty($settings['custombutton1_link'] ............  echo '<td><a href="'. $settings['custombutton1_link'].'"><img src="' . $settings['images_url'] . ............  '/' . $settings['custombutton1'] . '" alt="" style="margin: 0px 0;" border="0" / ............  }<br /><br /> }<br /><br /> // second button...is it on?<br /><br /> if(isset($settings[' ............ ']) && $settings['custombutton2_use']==true){<br /><br /> // is it  ............ ?<br /><br /> if(isset($settings['custombutton2_member']) && $settings['custombutton2_member']== ............ <br /> if(isset($settings['custombutton2']) && !empty($settings['custombutton2']) &&  ............ ($settings['custombutton2_link']) && !empty($settings['custombutton2_link'] ............  echo '<td><a href="'. $settings['custombutton2_link'].'"><img src="' . $settings['images_url'] . ............  '/' . $settings['custombutton2'] . '" alt="" style="margin: 0px 0;" border="0" / ............ <br /> if(isset($settings['custombutton2']) && !empty($settings['custombutton2']) &&  ............ ($settings['custombutton2_link']) && !empty($settings['custombutton2_link'] ............  echo '<td><a href="'. $settings['custombutton2_link'].'"><img src="' . $settings['images_url'] . ............  '/' . $settings['custombutton2'] . '" alt="" style="margin: 0px 0;" border="0" / ............  }<br /><br /> }<br /><br /> // third button...is it on?<br /><br /> if(isset($settings[' ............ ']) && $settings['custombutton3_use']==true){<br /><br /> // is it  ............ ?<br /><br /> if(isset($settings['custombutton3_member']) && $settings['custombutton3_member']== ............ <br /> if(isset($settings['custombutton3']) && !empty($settings['custombutton3']) &&  ............ ($settings['custombutton3_link']) && !empty($settings['custombutton3_link'] ............  echo '<td><a href="'. $settings['custombutton3_link'].'"><img src="' . $settings['images_url'] . ............  '/' . $settings['custombutton3'] . '" alt="" style="margin: 0px 0;" border="0" / ............ <br /> if(isset($settings['custombutton3']) && !empty($settings['custombutton3']) &&  ............ ($settings['custombutton3_link']) && !empty($settings['custombutton3_link'] ............  echo '<td><a href="'. $settings['custombutton3_link'].'"><img src="' . $settings['images_url'] . ............  '/' . $settings['custombutton3'] . '" alt="" style="margin: 0px 0;" border="0" / ............  /><br /><br />}<br /><br />// Generate a strip of buttons, out of buttons.<br /><br />function  ............ ($button_strip, $direction = 'top', $force_reset = false, $ ............  = '')<br /><br />{<br /><br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /><br />< ............  /> if (empty($button_strip))<br /><br /> return '';<br /><br /><br />< ............  /> // Create the buttons...<br /><br /> foreach ($button_strip as $key =>  ............ ['test']]))<br /><br /> {<br /><br /> unset($button_strip[$key]);<br /><br /> continue;<br /><br />  ............  }<br /><br /> elseif (!isset($buttons[$key]) || $force_reset)<br /><br /> $buttons[$ ............ ['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/'  ............ ['text']]) . '</a>';<br /><br /><br /><br /> $button_strip[$key] = $buttons[$key];<br /><br /> }<br />< ............ , '>', implode($context['menu_separator'], $button_strip) , '</td>';<br /><br />}<br /><br /><br />< ......
#979
Arşiv / Re: Colatesi logo sorun
helmikuu 08, 2007, 03:08:56 IP tekijältä oguzz
......  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?rc2p"></script><br /> < ............ ="text/javascript"><!-- // --><![CDATA[<br /> var smf_theme_url = "', $settings['theme_url'], '";<br />  ............  var smf_images_url = "', $settings['images_url'], '";<br / ............ > var smf_scripturl = "', $scripturl, '";<br /> // ]]></ ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" media="print" />';< ............ /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)<br /> Thus, in  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /> Note that  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />  ............ (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. ............ " valign="top"><br /> ';<br /> // Show the [home] button.<br /> echo '<a href="', $scripturl, '?action= ............ <br /><br /><br /><br /> // How about the [search] button?<br /> if ($context['allow_search'])<br /> echo ' ............ .gif"></a>';<br /><br /> // the [member] list button<br /> if ($context['allow_memberlist'])<br />  ............  /><br /> // If the user is a guest, show [login] button.<br /> if ($context['user']['is_guest'])<br />  ............ /> // If the user is a guest, also show [register] button.<br /> if ($context['user']['is_guest'])<br />  ............ ['user']['is_logged'])<br /> echo '<br /> <font style="font-size: 8pt"><br /> <span style=" ............ -size: 100%;"> ', $txt['hello_member_ndt'], ' <font style="font-size: 8pt" color="#FF9900"><b>', $ ............ ['user']['name'] , '</b></font></span><br><br /> ';<br /><br /><br /> // If  ............ ';<br /><br /><br />echo '<br /> <span style="font-size: 100%;"> <a href="', $scripturl, '?action= ............ ">', $txt['show_unread_replies'], '</a><br /></font>';<br /><br /> }<br /> // Otherwise they're a  ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br />  ............  /> <tr> <br /> <td width="32%" align="left"><font style="font-size: 8pt" color="#FFFFFF">',$txt[35], ............ ':</font></td><br /> <td width="30%"><input type="text"  ............ .form.cookielength.disabled = this.checked;" /><font style="font-size: 8pt" color="#FFFFFF">Beni  ............ ?</font></td><br /> </tr><br /><tr><br /> <td width="32% ............ " align="left"><font style="font-size: 8pt" color="#FFFFFF">',$txt[36], ............ ':</font></td><br /> <td width="30%"><input type=" ............  /> <br /> <td valign="center" class="titlebg"><font style="font-size: 8pt">', theme_linktree(), '</ ............ /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 />echo ' <br><br><br /> ............  /><td width="30%"class="catbg" height="23"><br /><font face="Georgia" size="1">', $context['forum_name'], ............  '</font></td><br /><br /><td width="35%" class="catbg"  ............ > echo '<br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /> window.onload = smf_codeFix;<br /><br /> function smf_codeFix()<br / ............ ><br />';<br />}<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 == ......
#980
Showcase / Re: www.PentaxWorld.com ~ Pentax Users Forum
tammikuu 07, 2007, 11:20:24 AP tekijältä khoking
......  menu sub template should display all the relevant buttons the user<br /><br /> wants and or needs.<br />< ............ , $txt;<br /><br /><br /><br /> /* Use images from default theme when using templates from the default theme? ............ <br /><br /> if this is 'always', images from the default theme will be used.<br /><br /> if this is ' ............ ', images from the default theme will only be used with default templates.< ............  is 'never' or isn't set at all, images from the default theme will not be used. */<br /><br /> $settings[' ............  What document type definition is being used? (for font size and other issues.)<br /><br /> 'xhtml' for  ............  /><br /> This should probably be the version of SMF it was created for. */<br /><br /> $settings[' ............ '] = true;<br /><br /><br /><br /> /* Use plain buttons - as oppossed to text buttons? */<br /><br /> $ ............ ['use_buttons'] = true;<br /><br /><br /><br /> /* Show sticky  ............ , LX, Takumar, M42, Screw mount, simple machines, smf" /><br /><br /> <script language="JavaScript"  ............ ="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script><br />< ............ /javascript"><!-- // --><![CDATA[<br /><br /> var smf_theme_url = "', $settings['theme_url'], '";<br />< ............  /> var smf_images_url = "', $settings['images_url'], '";<br / ............ ><br /> var smf_scripturl = "', $scripturl, '";<br /><br /> var  ............ '] ? 'true' : 'false', ';<br /><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 /><br />  ............  Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.<br /><br /> Note  ............ ="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';<br /><br />< ............  /><br /> else<br /><br /> echo '<br /><br /> smf_setThemeOption("collapse_header", mode ? 1 : 0,  ............ <br /> document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/ ............  /><br /> else<br /><br /> echo '<br /><br /> smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, ............ /> document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse. ............ " type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script><br /><br /><br / ............ ><br /><br /> <option value="60">', $txt['smf53'], '</option><br /><br /> <option  ............ ="1440">', $txt['smf47'], '</option><br /><br /> <option  ............ ="10080">', $txt['smf48'], '</option><br /><br /> <option  ............ ="43200">', $txt['smf49'], '</option><br /><br /> <option  ............ ="-1" selected="selected">', $txt['smf50'], '</option><br /><br /> </select></td> ............ "><!-- // --><![CDATA[<br /><br /> function smfFooterHighlight(element, value)<br /><br /> {<br  ............ /><br /> element.src = smf_images_url + "/" + (value ? "h_" : "") + element. ............ " style="margin-top: 0; margin-bottom: 0"><br /> <font size="1">Site Copyright &copy; 2006-2007 <b><a  ............ .com">PentaxWorld.com</a></b> by Koh Kho King</font><p align="center" style="margin-top: 0; margin- ............ : 0"><br /><font size="1">All submitted content, either graphical  ............  and responsibility of the content creator.</font><p align="center" style="margin-top: 0; margin- ............ : 0"><br /><font size="1">Pentax is a registered trademarks of  ............  Imaging. </font><br /><p align="center" style="margin-top: 0;  ............ -bottom: 0"><font size="1"><br />PentaxWorld.com is not associated  ............  its <br />subsidiaries or affiliates in any way.</font><br /><p><br /><br /> <table cellspacing="0"  ............ ="http://www.mysql.com/" target="_blank" style="font-size:10px;">MySQL</a>&nbsp;|&nbsp;<a href="http:// ............ .php.net/" target="_blank" style="font-size:10px;">PHP</a>&nbsp;|&nbsp;<a href="http:// ............ .w3.org/check/referer" target="_blank" style="font-size:10px;">XHTML</a>&nbsp;|&nbsp;<a href="http:// ............ -validator/check/referer" target="_blank" style="font-size:10px;">CSS</a><br /><br /> </td><br /><br  ............  '<br /><br /> <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $ ............ ['load_queries'], $txt['smf302b'], '</span>';<br /><br /><br /><br /> // This  ............  '<br /><br /> window.addEventListener("load", smf_codeFix, false);<br /><br /><br /><br />  ............  smf_codeFix()<br /><br /> {<br /><br /> var  ............  '<br /><br /> window.addEventListener("load", smf_codeFix, false);<br /><br /> function  ............  = window.onload;<br /><br /> window.onload = smf_codeFix;<br /><br /><br /><br /> function  ............  /><br /><br /> echo '<div class="nav-tree" style="font-size: smaller; margin-bottom: 2ex; margin-top:  ............ > // Folder style or inline? Inline has a smaller font.<br /><br /> echo '<span class="nav-tree" style=" ............  // Folder style or inline? Inline has a smaller font.<br /><br /> echo '<span class="nav-tree">' ............  <tr>';<br /><br /><br /><br /> // Show the [home] button.<br /><br /> echo '<br /><br /> <td class="main- ............  '</a></td>';<br /><br /><br /> // Show the [help] button.<br /><br /> echo '<br /><br /> <td class="main- ............ <br /><br /><br /><br /> // How about the [search] button?<br /><br /> if ($context['allow_search'])<br />< ............  /> </table><br /><br /><div align="right" style="font-size:10px;"><a href="#" onClick="overlayclose(\' ............ '</a></td>';<br /><br /><br /> // Show the [links] button.<br /> if ($context['allow_view_smflinks'])<br />  ............ ><a href="', $scripturl, '?action=links">' , $txt['smflinks_menu'] , '</a></td>';<br /><br /><br /> //  ............  [member] list button<br /><br /> if ($context['allow_memberlist'])<br / ............  /><br /> // If the user is a guest, show [login] button.<br /><br /> if ($context['user']['is_guest'])<br  ............ /> // If the user is a guest, also show [register] button.<br /><br /> if ($context['user']['is_guest'])<br  ............  /> <br /><br /> // How about the [quick links] button?<br /><br /> if ($context['user']['is_logged'])< ............  /> </table><br /><br /><div align="right" style="font-size:10px;"><a href="#" onClick="overlayclose(\' ............  />}<br /><br /><br /><br />// Generate a strip of buttons.<br /><br />function template_button_strip($ ............  = '')<br /><br />{<br /><br /> global $settings, $buttons, $context, $txt, $scripturl;<br /><br /><br />< ............  /> // Create the buttons...<br /><br /> foreach ($button_strip as $key =>  ............ ['test']]))<br /><br /> {<br /><br /> unset($button_strip[$key]);<br /><br /> continue;<br /><br />  ............  }<br /><br /> elseif (!isset($buttons[$key]) || $force_reset)<br /><br /> $buttons[$ ............ ['text']] . '</a>';<br /><br /><br /><br /> $button_strip[$key] = $buttons[$key];<br /><br /> }<br />< ............  /><br /><br /> if (empty($button_strip))<br /><br /> return '<td>&nbsp;</td>';<br  ............ 'mirror', 'tab_back">', implode(' &nbsp;&nbsp; ', $button_strip) , '</td><br /><br /> <td class="', $ ......
Advertisement: