News:

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

Main Menu

now whats Wrong with buttons.

Started by !Hachi!, June 08, 2005, 10:36:06 AM

Previous topic - Next topic

!Hachi!

check buttons
In This URL BUTTONS Works Just perfectly     http://www.pakurdu.net/forum/index.php?action=forum

when we go in some threads it show image is not available
http://www.pakurdu.net/forum/index.php/topic,1216.new.html#new
               you  can see that there is no buttons in it....
                           and the question why its in same folder .......anyone got any point? ::) ::) ::) ::)
                   waiting your replies
Happy Ramadan

Oldiesmann

I don't see any missing buttons... Everything looks fine to me.
Michael Eshom
Christian Metal Fans

!Hachi!

but my firefox is not agree with that IE too :o
        i still got missing button in threads
example http://www.pakurdu.net/forum/index.php/topic,1216.new.html#new
               i am talking about home/help/search/profile.........buttons
Happy Ramadan

[Unknown]

<img src="http://www.pakurdu.net/forum/Themes/SMFone/images/english/register.gif" alt="<img src=images/reg-1.gif border=0>" />

Why is the alt set liike that?

It looks like you've modified the way the buttons are output, to me.

-[Unknown]

!Hachi!

well i use these code in index.template.php "smf one theme" as i don't know about php      // If the user is a guest, show [login] and [register] buttons.
   if ($context['user']['is_guest'])
   {
      echo '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" /><a class="menub" href="', $scripturl, '?action=login">' , $txt[34], '</a>', $context['menu_separator'], '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" /><a class="menub" href="', $scripturl, '?action=register">' , $txt[97], '</a>';
   }
   // Otherwise, they might want to [logout]...
   else
      echo '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" /><a class="menub" href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108], '</a>';

      // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" /><a class="menub" href="', $scripturl, '?action=profile">' , $txt[467], '</a>', $context['menu_separator'];

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" /><a class="menub" href="', $scripturl, '?action=admin">' , $txt[2], '</a>', $context['menu_separator'];
   // How about the [search] button?
   if ($context['allow_search'])
      echo '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[1802] . '" /><a class="menub" href="', $scripturl, '?action=search">' , $txt[1802], '</a>', $context['menu_separator'];

   // Show the [home] [forum] and [help] buttons.
   echo '
            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" /><a class="menub" href="', $scripturl, '?action=help" target="_blank">' , $txt[119], '</a>', $context['menu_separator'], '
                      <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/forum.gif" alt="' . $txt[001] . '" /><a class="menub" href="', $scripturl, '?action=forum">' , $txt[001], '</a>', $context['menu_separator'],'

            <img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" /><a class="menub" href="', $scripturl, '">' , $txt[103], '</a>', $context['menu_separator'];

//
     




}



Any suggestion?it works ok on local server  :(
Happy Ramadan

Oldiesmann

Try re-uploading index.template.php for that theme...
Michael Eshom
Christian Metal Fans

!Hachi!

Happy Ramadan

!Hachi!

Happy Ramadan

Oldiesmann

Download the theme again, extract all the files to your computer and then upload index.template.php
Michael Eshom
Christian Metal Fans

Advertisement: