10
Quote:
irmtfan wrote:
In your front page icons sorted vertically
but its only in your front page.
in the other pages untill i could see all 2 icons location can be done with smarty var.
Yes, you're right! But I want a more common solution.
Quote:
I still cant understand what you mean by this:
Quote:I just need ability to difine xxx and yyy
i dont see any changes in your links and xlanguage smarty var links.
Links is same as xlanguage smarty var.
But sometimes language links need interlace with other code. Just like my front page code, If xlanguage can output just "href" smarty var, but not the complete "<a>", it would be more flexible.
<table border="0" cellpadding="0" cellspacing="0" id="header">
<tr>
<td rowspan="3" id="headerlogo"><a href="<{$xoops_url}>"><img src="<{$xoops_imageurl}>images/logo.gif" alt="<{$xoops_sitename}>" width="157" height="59" /></a></td>
<td colspan="2" id="headerwelcome"><{if $xoops_isuser}>Hello <{$xoops_uname}>,<script>showHello();</script>Welcome to <{$xoops_sitename}>!<{else}><script>showHello();</script>Welcome to <{$xoops_sitename}>!<{/if}></td>
</tr>
<tr>
<td rowspan="2" id="headermenu"><{include file="$xoops_theme/../malan_default/mainmenu/menu_en.html"}></td>
<td id="headerchinese"><a href="<{$xoops_url}>/index.php?lang=schinese"><img src="<{$xoops_imageurl}>images/chinese.gif" alt="中文" width="77" height="18" border="0" /></a></td>
</tr>
<tr>
<td id="headerenglish"><a href="<{$xoops_url}>/index.php?lang=english"><img src="<{$xoops_imageurl}>images/english.gif" alt="英文" width="77" height="18" border="0" /></a></td>
</tr>
</table>
XoopsChina Webmaster