Posted By

humanoid on 02/19/10


drupal block theming

Versions (?)

Drupal 6 custom logged in block

 / Published in: PHP

  1. <?php global $user; ?>
  3. <div id="portal-login">
  4. <p><?php print l($user->name,'user/'.$user->uid); ?>, Sie sind angemeldet.<br />
  5. <b><?php print l("logout","logout"); ?></b></p>
  6. </div>

Report this snippet  


RSS Icon Subscribe to comments
Posted By: MikeyLikesIt on March 12, 2010

You should really be using the t() fucntion to print out "Sie sind angemeldet."

You need to login to post a comment.