don't show register link if the site is closed
darcs-hash:20080724235804-84dde-daf159e938289ad2d593d3825ce845bcbecac053.gz
This commit is contained in:
parent
e97c06e8e2
commit
e0e5013a32
@ -284,7 +284,9 @@ function common_nav_menu() {
|
||||
_('Logout'));
|
||||
} else {
|
||||
common_menu_item(common_local_url('login'), _('Login'));
|
||||
common_menu_item(common_local_url('register'), _('Register'));
|
||||
if (!common_config('site', 'closed')) {
|
||||
common_menu_item(common_local_url('register'), _('Register'));
|
||||
}
|
||||
common_menu_item(common_local_url('openidlogin'), _('OpenID'));
|
||||
}
|
||||
common_element_end('ul');
|
||||
|
Loading…
Reference in New Issue
Block a user