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 )) {
2020}
2121
2222$ _header_navigation_config = Common::$ config ->bnetdocs ->navigation ;
23+ $ _header_user_register_disabled = Common::$ config ->bnetdocs ->user_register_disabled ;
2324
2425if ( !Common::$ config ->bnetdocs ->asset_versioning ) {
2526 $ _unique_asset = '' ;
@@ -120,7 +121,9 @@ $_campaign_vultr = (
120121 <a href="<?php echo Common::relativeUrlToAbsolute ($ _header_user_url ); ?> ">View Profile</a>
121122<?php } else { ?>
122123 <a href="<?php echo Common::relativeUrlToAbsolute ("/user/login " ); ?> ">Log In</a>
124+ <?php if (!$ _header_user_register_disabled ) { ?>
123125 <a href="<?php echo Common::relativeUrlToAbsolute ("/user/register " ); ?> ">Create</a>
126+ <?php } ?>
124127<?php } ?>
125128 <a>The Docs</a>
126129 <a href="<?php echo Common::relativeUrlToAbsolute ("/document/index " ); ?> ">Document Index</a>
You can’t perform that action at this time.
0 commit comments