Edit the “page.tpl.php” file, look for the below module and either remove the complete module if you want both login and register removed or edit it to remove only register link.
<?php if (!$is_admin): ?>
<div id=”authorize”>
<ul><?php global $user; if ($user->uid != 0) { print ‘<li>’ .t(‘Logged in as ‘). ‘<a href=”‘ .url(‘user/’.$user->uid). ‘”>’ .$user->name. ‘</a></li>’; print ‘<li><a href=”‘ .url(‘user/logout’). ‘”>’ .t(‘Logout’). ‘</a></li>’; } else { print ‘<li><a href=”‘ .url(‘user’). ‘”>’ .t(‘Login’). ‘</a></li>’; print ‘<li><a href=”‘ .url(‘user/register’). ‘”>’ .t(‘Register’).'</a></li>’;} ?></ul>
</div>
<?php endif; ?>
0 people found this article useful
This article was helpful
This article was helpful
0 people found this article useful