File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ if ( isset( Authentication::$user )) {
20
20
}
21
21
22
22
$ _header_navigation_config = Common::$ config ->bnetdocs ->navigation ;
23
+ $ _header_user_register_disabled = Common::$ config ->bnetdocs ->user_register_disabled ;
23
24
24
25
if ( !Common::$ config ->bnetdocs ->asset_versioning ) {
25
26
$ _unique_asset = '' ;
@@ -120,7 +121,9 @@ $_campaign_vultr = (
120
121
<a href="<?php echo Common::relativeUrlToAbsolute ($ _header_user_url ); ?> ">View Profile</a>
121
122
<?php } else { ?>
122
123
<a href="<?php echo Common::relativeUrlToAbsolute ("/user/login " ); ?> ">Log In</a>
124
+ <?php if (!$ _header_user_register_disabled ) { ?>
123
125
<a href="<?php echo Common::relativeUrlToAbsolute ("/user/register " ); ?> ">Create</a>
126
+ <?php } ?>
124
127
<?php } ?>
125
128
<a>The Docs</a>
126
129
<a href="<?php echo Common::relativeUrlToAbsolute ("/document/index " ); ?> ">Document Index</a>
You can’t perform that action at this time.
0 commit comments