15/09/2008, 16:17
|
| | | Fecha de Ingreso: agosto-2008
Mensajes: 43
Antigüedad: 16 años, 3 meses Puntos: 0 | |
Respuesta: Barra de menus en pagina principal foro phpbb3 Me respondo yo mismo, el código seria muy parecido a este: Código reducido, por falta de espacio..
<!-- IF S_USER_LOGGED_IN -->
<li class="top"><a href="#" id="controlpanel" class="top_link"><span class="down">Control Panel</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
<!-- IF S_USER_LOGGED_IN -->
<li><b>Users</b></li>
<li><a href="{U_PROFILE}" class="fly">{L_PROFILE}<!--[if gte IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]--><ul>
<li><a href="./ucp.php?i=163">Overview</a></li>
<li><a href="./ucp.php?i=164">Profile</a></li>
<li><a href="./ucp.php?i=165">Board Preferences</a></li>
<li><a href="./ucp.php?i=166">Private Messages</a></li>
<li><a href="./ucp.php?i=167">User Groups</a></li>
<li><a href="./ucp.php?i=168">Friends & Foes</a></li>
</ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<!-- ENDIF -->
<!-- IF U_MCP -->
<li><b>Moderators</b></li>
<li><a href="{U_MCP}">{L_MCP}</a></li>
<!-- ENDIF -->
<!-- IF U_ACP -->
<li><b>Administrators</b></li>
<li><a href="{U_ACP}">{L_ACP}</a></li>
<!-- ENDIF -->
</ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<!-- ENDIF -->
<li class="top"><a href="{U_INDEX}" id="forumlinks" class="top_link"><span class="down">Forum</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
<li><b>Information</b></li>
<li><a href="{U_FAQ}">{L_FAQ}</a></li>
<!-- IF S_DISPLAY_MEMBERLIST --><li><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
<!-- IF not S_IS_BOT and U_MARK_FORUMS or U_MARK_TOPICS --><li><b>Manage</b></li><!-- ENDIF -->
<!-- IF not S_IS_BOT and U_MARK_FORUMS --><li><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
<!-- IF not S_IS_BOT and U_MARK_TOPICS --><li><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a></li><!-- ENDIF -->
</ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<!-- IF S_DISPLAY_SEARCH -->
<li class="top"><a href="{U_SEARCH}" id="forumsearch" class="top_link"><span class="down">{L_SEARCH}</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
<li><b>Common Searches</b></li>
<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED} </a></li>
<li><a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_T OPICS}</a></li>
<!-- IF S_USER_LOGGED_IN -->
<li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
<li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
<!-- ENDIF -->
<li><b>Custom Searches</b></li>
<li><a href="{U_SEARCH}">Advanced Search</a></li>
</ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<!-- ENDIF -->
<li class="top"><a href="#" id="phpbbresources" class="top_link"><span class="down">Links</span><!--[if gte IE 7]><!--></a><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]--><ul class="sub">
<li><b>Header 1</b></li>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
<li><b>Header 2</b></li>
<li><a href="#">Link 5</a></li>
<li><a href="#">Link 6</a></li>
<li><a href="#">Link 7</a></li>
<!-- IF U_ACP -->
<li><b>Admin Links</b></li>
<li><a href="#">Link 8</a></li>
<li><a href="#">Link 9</a></li>
<li><a href="#">Link 10</a></li>
<!-- ENDIF -->
</ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
<!-- IF S_USER_LOGGED_IN -->
<li class="top"><a href="{U_SEARCH_NEW}" class="top_link"><span>{L_SEARCH_NEW}</span></a></li>
<!-- ENDIF -->
</ul>
</div>
<div id="page-header">
<div class="headerbar">
<div class="inner"><span class="corners-top"><span></span></span>
<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
<br />
<div id="site-description">
<h1>{SITENAME}</h1>
<p>{SITE_DESCRIPTION}</p>
<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
</div>
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
<div id="search-box">
<form action="{U_SEARCH}" method="post" id="search">
<fieldset>
<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.va lue='';" onblur="if(this.value=='')this.value='{LA_SEARCH_M INI}';" />
<input class="button2" value="{L_SEARCH}" type="submit" /><br />
<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
</fieldset>
</form>
</div>
<!-- ENDIF -->
<span class="corners-bottom"><span></span></span></div>
</div>
<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="linklist navlinks">
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>‹</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAM E}</a><!-- END navlinks --></li>
<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>
<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
</ul>
<span class="corners-bottom"><span></span></span></div>
</div>
</div>
<a name="start_here"></a>
<div id="page-body">
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
<div id="message" class="rules">
<div class="inner"><span class="corners-top"><span></span></span>
<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF --> |