Simple Machines Community Forum

SMF Support => Español (Spanish) => Language Specific Support => Tutoriales => Topic started by: aeiou15 on July 19, 2010, 07:24:40 PM

Title: [agregar botones] Theme mozilla.
Post by: aeiou15 on July 19, 2010, 07:24:40 PM
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 .
Title: Re: [BOTONES] Theme MOZILLA.
Post by: DoctorMalboro on July 19, 2010, 07:31:22 PM
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...
Title: Re: [BOTONES] Theme mozilla.
Post by: aeiou15 on July 19, 2010, 07:41:04 PM
ya esta ya lo edite. ojala que le sirve a alguien..okis..seguire aportando mas para theme mozilla