News:

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

Main Menu

[Theme] PitchBlack for SMF 1.0.5

Started by 1MileCrash, September 24, 2005, 09:15:24 PM

Previous topic - Next topic

daragor

Quote from: Tippmaster on October 23, 2005, 06:19:12 PM
you want the button png, is what you're saying?

yes please! the .png for create with spanish text... is posible?
sorry for my english
Webscom: Wordpress + SMF
Software Libre, Noticias y Entretenimiento.-

1MileCrash

sure, i appreciate it. ill pm it to you.

Quote from: Cyphran on October 26, 2005, 01:20:45 PM
A question. I am getting this error in the log, but it does not seem to have any direct visual or operational effect. Should I just ignore it? It occurs everytime a thread is viewed.

8: Undefined index: current_FFic
File: /home/alaerth/public_html/forum/Themes/Pitchblack10/Display.template.php (eval?)
Line: 110


Thanks again for a great theme. I would change it over to 1.1 myself, but I assume it would take too long since I would have to learn what to change.

i really dont know what the problem is. i dont even know what current_FFic is. Im sure someone knows.
The only thing php can't do is tell you how much milk is left in the fridge.



BoOoB0B

hello, do you think you'll create french buttons ?

1MileCrash

The only thing php can't do is tell you how much milk is left in the fridge.



trenchteam


1MileCrash

It's going to be updated to 1.1 final, when it's availible.
The only thing php can't do is tell you how much milk is left in the fridge.



Cyphran

Cool, that makes me happy. I tried to convert it myself, but I was having some problems with a few table calls.

Gigerm-Unit

just to let u know i am adding your theme to my site!
As we walk to the valley of the dead we gain power of a gun of doom made by god and designed by lucifer we use it to destroy everything good or evil.

maviarab

Tippmaster, as requested.  :)

<?php
// Version: 1.0; index

/*   This template is, perhaps, the most important template in the theme.  It
   contains the main template layer that displays the header and footer of
   the forum, namely with main_above and main_below.  It also contains the
   menu sub template, which appropriately displays the menu; the init sub
   template, which is there to set the theme up; (init can be missing.) and
   the linktree sub template, which sorts out the link tree.

   The init sub template should load any data and set any hardcoded options.

   The main_above sub template is what is shown above the main content, and
   should contain anything that should be shown up there.

   The main_below sub template, conversely, is shown after the main content.
   It should probably contain the copyright statement and some other things.

   The linktree sub template should display the link tree, using the data
   in the $context['linktree'] variable.

   The menu sub template should display all the relevant buttons the user
   wants and or needs.

   For more information on the templating system, please see the site at:
   http://www.simplemachines.org/
*/

// Initialize the template... mainly little settings.
function template_init()
{
   global $context, $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', images from the default theme will only be used with default templates.
      if this is 'never' or isn't set at all, images from the default theme will not be used. */
   $settings['use_default_images'] = 'never';

   /* What document type definition is being used? (for font size and other issues.)
      'xhtml' for an XHTML 1.0 document type definition.
      'html' for an HTML 4.01 document type definition. */
   $settings['doctype'] = 'xhtml';
    $settings['catch_action'] = array('sub_template' => 'action_wrap');
}
function template_action_wrap()
{
   global $context, $settings, $options, $scripturl, $txt;

   if (@$_REQUEST['action'] == 'tos')
echo doUBBC(file_get_contents('agreement.txt'));
   else
      echo '
      <h4>404 Error</h4>

      <p>Sorry, the page you were looking for does not exist.<br>
      Please go <a href="javascript:history.go(-1);">back</a> or
      view the <a href="', $scripturl, '">forum index</a>. If you followed a valid link, please contact the forum administrator.';
}

// The main sub template above the content.
function template_main_above()
{
   global $context, $settings, $options, $scripturl, $txt, $modSettings;

   // Show right to left and the character set for ease of translating.
   echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html', $context['right_to_left'] ? ' dir="rtl"' : '', '><head>
   <meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
   <meta name="description" content="', $context['page_title'], '" />
   <meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
   <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script>
   <script language="JavaScript" type="text/javascript"><!--
      var smf_theme_url = "', $settings['theme_url'], '";
      var smf_images_url = "', $settings['images_url'], '";
   // --></script>
   <title>', $context['page_title'], '</title>';

   // This is here because Gecko browsers properly support white-space....
   if ($context['browser']['is_gecko'])
      echo '
   <style type="text/css"><!--
      .code
      {
         white-space: pre;
      }
   --></style>';

   echo '
   <link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css" />';

   /* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
      Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
      Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
      Standards compliance mode happens when you use xhtml... */
   if ($context['browser']['needs_size_fix'])
      echo '
   <link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';

   // Show all the relative links, such as help, search, contents, and the like.
   echo '
   <link rel="help" href="', $scripturl, '?action=help" target="_blank" />
   <link rel="search" href="' . $scripturl . '?action=search" />
   <link rel="contents" href="', $scripturl, '" />';

   // If we're viewing a topic, these should be the previous and next topics, respectively.
   if (!empty($context['current_topic']))
      echo '
   <link rel="prev" href="' . $scripturl . '?action=;topic=' . $context['current_topic'] . '.0;prev_next=prev" />
   <link rel="next" href="' . $scripturl . '?action=;topic=' . $context['current_topic'] . '.0;prev_next=next" />';

   // If we're in a board, or a topic for that matter, the index will be the board's index.
   if (!empty($context['current_board']))
      echo '
   <link rel="index" href="' . $scripturl . '?action=;board=' . $context['current_board'] . '.0" />';

     // We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
$options['collapse_header'] = !empty($_COOKIE['upshrink']);

   // Output any remaining HTML headers. (from mods, maybe?)
   echo $context['html_headers'], '

   <script language="JavaScript" type="text/javascript"><!--
      var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';

      function shrinkHeader(mode)
      {';

   // Guests don't have theme options!!
   if ($context['user']['is_guest'])
      echo '
         document.cookie = "upshrink=" + (mode ? 1 : 0);';
   else
      echo '
         document.getElementById("upshrinkTemp").src = "', $scripturl, '?action=jsoption;var=collapse_header;val=" + (mode ? 1 : 0) + ";sesc=', $context['session_id'], ';" + (new Date().getTime());';

   echo '
         document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

         document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";

         current_header = mode;
      }
   // --></script>

<script type="text/javascript" src="', $settings['theme_url'], '/rollover.js">

/***********************************************
* DOM Image Rollover II- By Adam Smith (http://www.codevendor.com)
* Script featured on and available at Dynamic Drive (http://www.dynamicdrive.com)
* Keep this notice intact for usage please
***********************************************/

</script>
</head>
<body><center><table width="803" cellspacing="0" style="border: 1px solid black"><tr><td width="100%" align="left">';

   // Because of the way width/padding are calculated, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
   echo '
   <div id="headerarea" style="padding: 12px 30px 4px 30px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';

   // The logo and the three info boxes.
   echo '
      <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="position: relative;">
         <tr>
            <td colspan="2" valign="bottom" style="padding: 5px; white-space: nowrap;">';

   // The header, with the logo, news, menu, and user info
   echo '
               <table width="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="170" height="26" align="left" valign="top"><img src="' . $settings['images_url'] . '/topleft.gif" width="170" height="27" alt=" " border="0" /></td>
    <td width="100%" style="background-image:url(' . $settings['images_url'] . '/topgrad.gif)" align="center" valign="middle"><b>',$context['forum_name'],'</b></td>
    <td width="170" height="27" align="right" valign="top"><img src="' . $settings['images_url'] . '/topright.gif" width="170" height="27" alt=" " border="0" /></td>
  </tr>
</table>
               <table width="100%" cellspacing="0" style="border 1px solid black" cellpadding="0"><tr><td width="100%" height="50" style="border: 1px solid black;" valign="bottom" align="right"><img src="' . $settings['images_url'] . '/logopitchblack.gif" height="101" width="600" style="float: left"/></td></tr><tr><td height="25" width="100%" background="' . $settings['images_url'] . '/titlebg.jpg" style="border: 1px solid black; padding-right: 2px;" align="right" valign="center"><img src="' . $settings['images_url'] . '/navbg2.gif" height="25" width="130" style="float: left"/><a href="#collapse" onclick="shrinkHeader(!current_header); return false;"><img id="upshrink" src="', $settings['images_url'], '/', empty($options['collapse_header']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" border="0" /></a><img id="upshrinkTemp" src="', $settings['images_url'], '/blank.gif" alt="" style="margin-right: 2ex;" />';
template_menu();
echo'</td></tr><tr id="upshrinkHeader"><td style="border: 1px solid black; padding-left: 15px; padding-right: 15px;">';

   // If the user is logged in, display stuff like their name, new messages, etc.
   if ($context['user']['is_logged'])
   {
      echo '
            ', $txt['hello_member'], ' <b>', $context['user']['name'], '</b>', $context['allow_pm'] ? ', ' . $txt[152] . ' <a href="' . $scripturl . '?action=pm">' . $context['user']['messages'] . ' ' . ($context['user']['messages'] != 1 ? $txt[153] : $txt[471]) . '</a>' . $txt['newmessages4'] . ' ' . $context['user']['unread_messages'] . ' ' . ($context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1']) : '', '.';

      // Are there any members waiting for approval?
      if (!empty($context['unapproved_members']))
         echo '<br />
            ', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=regcenter">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'];

      // Is the forum in maintenance mode?
      if ($context['in_maintenance'] && $context['user']['is_admin'])
         echo '<br />
            <b>', $txt[616], '</b>';
   }
   // Otherwise they're a guest - so rudely ask them to register or login.
   else
      echo '
            ', $txt['welcome_guest'];

   echo '
           ' , $context['user']['is_logged'] ? '<br/><a href="index.php?action=unread">Show new posts.</a> &nbsp;&nbsp;<a href="index.php?action=unreadreplies">Show new replies.</a> &nbsp;&nbsp;<a href="index.php?action=unread;all">Show all unread.</a>' : '' , '<font style="float: right">News: ', $context['random_news_line'], '</font></td></tr></table>
<table width="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="170" height="17" align="left" valign="top"><img src="' . $settings['images_url'] . '/botleft.gif" width="170" height="17" alt="" border="0" /></td>
    <td width="100%" style="background-image:url(' . $settings['images_url'] . '/bot.gif)" align="center" valign="middle"></td>
    <td width="170" height="17" align="right" valign="top"><img src="' . $settings['images_url'] . '/botright.gif" width="170" height="17" alt="" border="0" /></td>
  </tr>
</table>';




   echo '
            </td>
         </tr>
      </table>

      ';

      // The Custom Content
      

   echo '', $settings['forum_about'], '<p/>';

// The guest login panel. only show it if the user is a guest.duh?

echo' ' , $context['user']['is_guest'] ? '<table class="windowbg" align="right"><tr><td><form action="'. $scripturl. '?action=login2" method="post" style="margin: 3px 1ex 1px 0; text-align:right;"><input type="text" name="user" size="10" /><input type="password" name="passwrd" size="10" /><input type="submit" value="'. $txt[34]. '" /><br /></form></td></tr></table>' : '' , '

   </div>';

   // The main content should go here.  A table is used because IE 6 just can't handle a div.
   echo '
   <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center"><tr>
      <td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';
}

function template_main_below()
{
   global $context, $settings, $options, $scripturl, $txt;

   echo '</td>
   </tr></table>';

   // Show the miscellanious links, as well as the copyright. Remeber, the copyright must be visible.
   echo '
   
<div align="center">
<table border="1" width="701" height="30" bordercolor="#000107" bgcolor="#252F38" style="border-collapse: collapse; margin-bottom: 1px; margin-top: 1px;" >
  <tr>
   <td>
<marquee behavior=scroll direction="left" align="center" onmouseover="this.stop()" onmouseout="this.start()" width="100%" height="30">
<a href="http://www.zabaware.com/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/zabaware.gif" width="88" height="31" border="0" alt="Zabaware - The home of UltraHal"></a>
<a>&nbsp;</a>
<a href="http://www.regnow.com/softsell/nph-softsell.cgi?item=10335-1&affiliate=48642/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/buyhal.gif" width="88" height="31" border="0" alt="Buy Ultrahal6 Through DigitalGirl"></a>
<a>&nbsp;</a>
<a href="http://www.haptek.com/" target="_blank"><img src="http://http:/72.240.116.125/dg/dgforum/AffiliateBanners/haptek.gif" width="88" height="31" border="0" alt="Haptek & PeoplePutty"></a>
<a>&nbsp;</a>
<a href="http://knytetrypper.com/index.html/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/knytetrypper.gif" width="88" height="31" border="0" alt="KnyteTrypper Home"></a>
<a>&nbsp;</a>
<a href="http://fuzziedice.com/ai/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/fdlogo.gif" width="88" height="31" border="0" alt="Fuzzie Dice - AI & KITT"></a>
<a>&nbsp;</a>
<a href="http://www.alicebot.org/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/alice.gif" width="88" height="31" border="0" alt="A.L.I.C.E. - Artificial Intelligence Foundation"></a>
<a>&nbsp;</a>
<a href="http://www.worldchatterbots.com/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/worldchatterbots.gif" width="88" height="31" border="0" alt="Bot Central"></a>
<a>&nbsp;</a>
<a href="http://knytetrypper.com/ain.html/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/ainexus.gif" width="88" height="31" border="0" alt="The AI Nexus"></a>
<a>&nbsp;</a>
<a href="http://www.clone3d.com/" target="_blank"><img src="http:/72.240.116.125/dg/dgforum/AffiliateBanners/clone3dSML.gif" width="88" height="31" border="0" alt="The Home of Mr Mind"></a>
</a></marquee></td>
  </tr>
</table>      

   <div id="footerarea" style="text-align: center; padding-bottom: 1ex;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">
      <script language="JavaScript" type="text/javascript"><!--
         function smfFooterHighlight(element, value)
         {
            element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
         }
      // --></script>
      <table cellspacing="0" cellpadding="3" border="0" align="center" width="90%">
         <tr>
            <td width="40%" valign="middle" align="left">
             <font size="1">',$txt[9000],'</font>
            </td>
            
            <td width="28%" valign="middle" align="left">

            </td><td valign="middle" align="center" style="white-space: nowrap;">
               ', theme_copyright(), ' <br><font size="1">', $settings['custom_copyright'], '</font>
            </td>
         </tr>
      </table>';

   // Show the load time?
   if ($context['show_load_time'])
      echo '
      <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>';

   echo '
      <center><table width="700"><tr><td width="100%" background="' . $settings['images_url'] . '/titlebg.jpg" align="center" style="border: 1px solid black"><a href="#"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/top.gif" border="0" style="float: left"/></a><font color="#333333"> ', $context['current_time'], '</font><a href="#back"  onClick="history.go(-1)"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/goback.gif" border="0" style="float: right"/></a></td></tr></table></center><p/><center><a href="index.php?;action=tos">Terms of use</a></center></div>
';

   // This is an interesting bug in Internet Explorer AND Safari.  Rather annoying, it makes overflows just not tall enough.
   if ($context['browser']['is_ie'] && !$context['browser']['is_ie4'] || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'])
   {
      // The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself.
      echo '
      <script language="JavaScript" type="text/javascript"><!--';

      // Unfortunately, Safari does not have a "getComputedStyle" implementation yet, so we have to just do it to code...
      if ($context['browser']['is_safari'])
         echo '
         window.addEventListener("load", smf_codeFix, false);

         function smf_codeFix()
         {
            var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

            for (var i = 0; i < codeFix.length; i++)
            {
               if (codeFix.className == "code" && codeFix.offsetHeight < 20)
                  codeFix.style.height = (codeFix.offsetHeight + 20) + "px";
            }
         }';
      else
      {
         echo '
         var window_oldOnload = window.onload;
         window.onload = smf_codeFix;

         function smf_codeFix()
         {
            var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

            for (var i = 0; i < codeFix.length; i++)
            {
               if (codeFix.currentStyle.overflow == "auto" && (codeFix.currentStyle.height == "" || codeFix.currentStyle.height == "auto") && (codeFix.scrollWidth > codeFix.clientWidth || codeFix.clientWidth == 0))
                  codeFix.style.height = (codeFix.offsetHeight + 36) + "px";
            }

            if (window_oldOnload)
               window_oldOnload();
         }';
      }

      echo '
      // --></script>';
   }

   echo '
   </td></tr></table></center></body>
</html>';
}

// Show a linktree.  This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
   global $context, $settings, $options;

   // Folder style or inline?  Inline has a smaller font.
   echo '<span class="nav"', $settings['linktree_inline'] ? ' style="font-size: smaller;"' : '', '>';

   // Each tree item has a URL and name.  Some may have extra_before and extra_after.
   foreach ($context['linktree'] as $link_num => $tree)
   {
      // Show the | | |-[] Folders.
      if (!$settings['linktree_inline'])
      {
         if ($link_num > 0)
            echo str_repeat('<img src="' . $settings['images_url'] . '/icons/linktree_main.gif" alt="| " border="0" />', $link_num - 1), '<img src="' . $settings['images_url'] . '/icons/linktree_side.gif" alt="|-" border="0" />';
         echo '<img src="' . $settings['images_url'] . '/icons/folder_open.gif" alt="+" border="0" />&nbsp; ';
      }

      // Show something before the link?
      if (isset($tree['extra_before']))
         echo $tree['extra_before'];

      // Show the link, including a URL if it should have one.
      echo '<b>', $settings['linktree_link'] && isset($tree['url']) ? '<a href="' . $tree['url'] . '" class="nav">' . $tree['name'] . '</a>' : $tree['name'], '</b>';

      // Show something after the link...?
      if (isset($tree['extra_after']))
         echo $tree['extra_after'];

      // Don't show a separator for the last one.
      if ($link_num != count($context['linktree']) - 1)
         echo $settings['linktree_inline'] ? ' &nbsp;|&nbsp; ' : '<br />';
   }

   echo '</span>';
}

// Show the menu up top.  Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

   // Show the [home] and [help] buttons.
   echo '
            <a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home_hov.gif""/>' : $txt[103]), '</a>', $context['menu_separator'], '
            <a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help_hov.gif"/>' : $txt[119]), '</a>', $context['menu_separator'];

   // How about the [search] button?
   if ($context['allow_search'])
      echo '
            <a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search_hov.gif"/>' : $txt[182]), '</a>', $context['menu_separator'];

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo '
            <a href="', $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin_hov.gif"/>' : $txt[2]), '</a>', $context['menu_separator'];

   // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo '
            <a href="', $scripturl, '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile_hov.gif"/>' : $txt[467]), '</a>', $context['menu_separator'];

   // The [calendar]!
   if ($context['allow_calendar'])
      echo '
            <a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar_hov.gif"/>' : $txt['calendar24']), '</a>', $context['menu_separator'];

   // If the user is a guest, show [login] and [register] buttons.
   if ($context['user']['is_guest'])
   {
      echo '
            <a href="', $scripturl, '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login_hov.gif""/>' : $txt[34]), '</a>', $context['menu_separator'], '
            <a href="', $scripturl, '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register_hov.gif"/>' : $txt[97]), '</a>';
   }
   // Otherwise, they might want to [logout]...
   else
      echo '
            <a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" style="margin: 2px 0;" border="0" srcover="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout_hov2.gif"/>' : $txt[108]), '</a>';
}

?>

Champi

Great job.. do you think you will make it with the update for 1.1rc1..

crazystu

Although I do like this theme I don't think it really suits the title "Pitch Black"....
Because it's not really black :P

1MileCrash

The only thing php can't do is tell you how much milk is left in the fridge.



Delicocuk

IP follow mistake there

8: Undefined offset: 9000
Dosya: /home/cyber/public_html/forum/Themes/default/Themes.template.php (eval?)
satır: 260
?action=theme;sa=admin;sesc


8: Undefined offset: 9000
Dosya: /home/cyber/public_html/forum/Themes/Pitchblack/BoardIndex.template.php (eval?)
satır: 260


8: Undefined offset: 9000
Dosya: /home/cyber/public_html/forum/Themes/Pitchblack/Profile.template.php (eval?)
satır: 260
?action=profile;u=559

The Sale What I Used  :  1.0.5  >:( >:(

PSPXavier

That "Live Preview" is different. What is it?

1MileCrash

it's my site's theme. it's overriding right now because im tuning it. a demo to pitchblack can found at..*googles* http://igniseus.com/forum/index.php?PHPSESSID=915dc9ecae822b064a272598df0946c7&;
The only thing php can't do is tell you how much milk is left in the fridge.



PSPXavier

#55
Ummm--- How do you add a banner to this templete?

And one other comment-- how come when you add a URL to Custom Content in url tags, it still wont let you click it?

PSPXavier


1MileCrash

Quotehow come when you add a URL to Custom Content in url tags, it still wont let you click it?

url tags? you mean <a> tags? it does...

QuoteUmmm--- How do you add a banner to this templete?

which template? more specific. i have no idea what you're asking for.
The only thing php can't do is tell you how much milk is left in the fridge.



PSPXavier

#58
ohh-- I was using <url>

And I'm talking about the templete in the topic name...................(PitchBlack)

UPDATE: nope <a> didn't work either... Here's my code, and you can check it out for yourself here>>>>>>http://www.pspzone.mfhosting.com/smf/index.php

My Code is<a=www.psp.d4a.com>Old Site</a>

1MileCrash

ok, your using different terminology, that's why i asked "what template"

Template - templates are files which contrtol certain parts of a theme, index.template.php controls the header and footer, boardindex.template is the board index, etc.

Theme - The whole thing..

you'll still have to be more specific. i dont know where (what template?), what kind of banner, or anything.

Quote from: PSPXavier on January 07, 2006, 05:56:35 PM

UPDATE: nope <a> didn't work either... Here's my code, and you can check it out for yourself here>>>>>>http://www.pspzone.mfhosting.com/smf/index.php

My Code is<a=www.psp.d4a.com>Old Site</a>

your code is wrong...you didnt specify a reference (url)

it should be
<a href="http://www.psp.d4a.com">Old Site</a>

take a look at html tutorials..
The only thing php can't do is tell you how much milk is left in the fridge.



Advertisement: