<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I created a little UI (not much) for Evans open id media wiki extension</DIV>
<DIV>To look at the UI go to: <A href="http://www.bandit-project.org/images/4/47/Openidlogin.PNG">http://www.bandit-project.org/images/4/47/Openidlogin.PNG</A></DIV>
<DIV> </DIV>
<DIV>php for the UI:</DIV>
<DIV>function openIDLink( ) {<BR> global $wgUser;<BR> $sk =& $wgUser->getSkin();<BR> $output = "<li id='pt-openidlogin'><a href='";<BR> $output .= htmlspecialchars($sk->makeSpecialUrl('OpenIDLogin', 'returnto=' . $sk->thisurl )); <BR> $output .= "' style='background: url(<A href="http://www.openid.net/login-bg.gif">http://www.openid.net/login-bg.gif</A>) no-repeat; background-color: #fff; background-position: 0 50%; color: #000; padding-left: 18px;' >OpenID Login</a></li>"; <BR> return $output;<BR>}</DIV>
<DIV> </DIV>
<DIV>I just called this function in my monobook.php script where it generates the personal tools:</DIV>
<DIV> <!-- BEGIN personal tools --><BR> <div class="portlet" id="p-personal"><BR> <h5><BR> <?php $this->msg('personaltools') ?><BR> </h5><BR> <div class="pBody"><BR> <ul><BR> <?php foreach($this->data['personal_urls'] as $key => $item) { ?><BR> <li id="pt-<?php echo htmlspecialchars($key) ?>"><a href="<?php<BR> echo htmlspecialchars($item['href']) ?>"<?php<BR> if(!empty($item['class'])) { ?> class="<?php<BR> echo htmlspecialchars($item['class']) ?>"<?php } ?>><BR> <?php<BR> echo htmlspecialchars($item['text']) ?><BR> </a></li><BR> <?php } echo <STRONG>openIDLink</STRONG>(); ?><BR> </ul><BR> </div><BR> </div><BR> <!-- END personal tools --></DIV></BODY></HTML>