Permalink
Browse files

reformatted the code in page/elements/header_logo view due to line le…

…ngth
  • Loading branch information...
1 parent 43ac188 commit c2cbd1fa8f488d8f7f769ae09e680eb2e22fc640 @cash cash committed with brettp Jul 3, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 views/default/page/elements/header_logo.php
@@ -1,13 +1,15 @@
<?php
/**
* Elgg header logo
- * The logo to display in elgg-header.
*/
$site = elgg_get_site_entity();
$site_name = $site->name;
+$site_url = elgg_get_site_url();
?>
<h1>
- <a class="elgg-heading-site" href="<?php echo elgg_get_site_url(); ?>"><?php echo $site_name; ?></a>
+ <a class="elgg-heading-site" href="<?php echo $site_url; ?>">
+ <?php echo $site_name; ?>
+ </a>
</h1>

0 comments on commit c2cbd1f

Please sign in to comment.