/** * Opens a window to show a list of posters in a thread (misc.php?do=whoposted)
/** * Opens the reputation window * * @param integer Post ID * * @return boolean false; */ function reputation(postid) { return openWindow( 'reputation.php?' + SESSIONURL + 'p=' + postid, 400, 241, 'Reputation' ); }
<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>
<if condition="$show['reputationlink']"><a href="#" onclick="reputation($post[postid]); return false;"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>
{ return openWindow( 'reputation.php?' + SESSIONURL + 'p=' + postid, 400, 241, 'Reputation' );