Aquí les dejo mi code con integracion para i18n.
Como tambien necesitaba agregar una imagen, la puse mas abajo y separada por /div/
<div>
<?php global $user; ?>
<?php if ($user->uid) : ?>
<?php print(t('Logged in as:'))?> <?php print l($user->name,'user/'.$user->uid); ?> |
<?php print l((t('Logout')),"logout"); ?>
<?php else : ?>
<?php print l((t('Register')),"user/register"); ?> | <?php print(t('Login:'))?>
<form action="user" method="post"><input type="hidden" name="edit[destination]" value="user" />
<input type="text" maxlength="64" class="form-text" name="edit[name]" id="edit-name" size="15" value="" />
<input type="password" class="form-password" maxlength="64" name="edit[pass]" id="edit-pass" size="15" value=""/>
<input type="submit" name="op" value="<?php print(t('Log in'))?>" />
</form>
<?php endif; ?>
</div>
<div class="image">
<img width="164" height="80" border="0" alt="mi imagen" src="/es/system/files?file=images/mi_imagen.jpg" />
</div>tambien pueden verla aqui : here's my i18n integration
Martin GERSBACH à Paris, FRANCE
motto1 : «No entiendes realmente algo a menos que seas capaz de explicarselo a tu abuela». Albert Einstein