News:

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

Main Menu

[agregar botones] Theme mozilla.

Started by aeiou15, July 19, 2010, 07:24:40 PM

Previous topic - Next topic

aeiou15

Hola a todos Aca dejo algunos botones para el theme mozilla  . A de servir a alguien que use ese theme.

*Recalco esto se agrega en mozilla/index.templade.php
version: 1.1.11 es la que yo uso

Buscar
   // the [member] list button


agregar antes: el codigo del boton.."~"









lista staff
http://custom.simplemachines.org/mods/index.php?mod=348

boton:

// the [staff list] button
   if ($context['allow_view_stafflist'])
   echo   '<li><a href="', $scripturl, '?action=staff">' ,  $txt['smfstaff_stafflist'] , '</a></li>';









SMF articles

http://custom.simplemachines.org/mods/index.php?mod=1354

boton:

// the [Articles] button
   if ($context['allow_view_smfarticles'])
      echo '<li><a href="', $scripturl,  '?action=articles">' , $txt['smfarticles_menu']  , '</a></li>';










MOD invite

http://custom.simplemachines.org/mods/index.php?mod=653

boton:


// Invite MOD.
   if (allowedTo('invite'))
   {
      global $modSettings;
      echo '<li><a href="', $scripturl, '?action=invite">' , (!empty($modSettings['invite_menu_title']) ? $modSettings['invite_menu_title'] : $txt['invite_title']) , '</a></li>';

}









SMshop

http://custom.simplemachines.org/mods/index.php?mod=65

boton:

// the [shop] button

   echo   '<li><a href="', $scripturl, '?action=shop">Shop</a></li>' , $current_action == 'shop' ? '' : '';














ojo: recalco de nuevo Es para theme mozilla

PD: espero que les sirva .
Visita mi Foro:


DoctorMalboro

Por favor, lee esto: http://www.simplemachines.org/community/index.php?topic=378348.0 y esto: http://www.simplemachines.org/community/index.php?topic=387067.0

Sino queres que te cierre el post:
1) Pone una letra normal.
2) Saca las mayúsculas del post.

Gracias... lo muevo a Tutoriales...

aeiou15

ya esta ya lo edite. ojala que le sirve a alguien..okis..seguire aportando mas para theme mozilla
Visita mi Foro:


Advertisement: