aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default/profile/profile_contents/twitter.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/views/default/profile/profile_contents/twitter.php')
-rwxr-xr-xmod/profile/views/default/profile/profile_contents/twitter.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/mod/profile/views/default/profile/profile_contents/twitter.php b/mod/profile/views/default/profile/profile_contents/twitter.php
index 75b6d0467..f9b6f5d54 100755
--- a/mod/profile/views/default/profile/profile_contents/twitter.php
+++ b/mod/profile/views/default/profile/profile_contents/twitter.php
@@ -2,9 +2,9 @@
/**
* Elgg twitter view page
*/
-
+
$twitter_username = $vars['entity']->twitter;
-
+
// if the twitter username is empty, then do not show
if($twitter_username){
?>
@@ -14,11 +14,6 @@ if($twitter_username){
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/<?php echo $twitter_username; ?>.json?callback=twitterCallback2&count=10"></script>
</div>
-<div id="profile_sidebar">
+
<?php
- echo elgg_view('profile/profile_ownerblock', array('smallicon' => true));
-?>
-</div>
-<?php
-}
-?> \ No newline at end of file
+} \ No newline at end of file