Created
July 28, 2017 13:17
-
-
Save RaymondBenc/db8bc1aaf171344630b3d9ca5ea80d60 to your computer and use it in GitHub Desktop.
Basic default.tpl for SocialEngine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header id="se-header"> | |
<!-- Site logo --> | |
<?php echo $this->logo; ?> | |
<!-- Main Search widget --> | |
<?php echo $this->search; ?> | |
<!-- Notification mini-menu --> | |
<?php echo $this->notify; ?> | |
<!-- PHP if statement to check if a user is logged in. --> | |
<?php if ($this->viewer->getIdentity()) { ?> | |
<?php } ?> | |
</header> | |
<nav> | |
<!-- Main navigation menu --> | |
<?php echo $this->menu; ?> | |
</nav> | |
<main> | |
<!-- Output the main content --> | |
<?php echo $this->content; ?> | |
</main> | |
<footer> | |
<!-- Footer menu and social links --> | |
<?php echo $this->footer; ?> | |
</footer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment