diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-19 11:34:18 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-19 11:34:18 +0000 |
commit | ad7774834d191731edff82e58c97f11b1833c96e (patch) | |
tree | f1086df08c6fb4cc1d13e86b99ff85cc10bdafa6 /views/default | |
parent | 8a6223ae8a2a3fd32cdef0becb8a8f0eeba684b2 (diff) | |
download | elgg-ad7774834d191731edff82e58c97f11b1833c96e.tar.gz elgg-ad7774834d191731edff82e58c97f11b1833c96e.tar.bz2 |
ownerblock tweak
git-svn-id: https://code.elgg.org/elgg/trunk@2804 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/page_elements/owner_block.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php index 3c34a3224..6544e8aee 100644 --- a/views/default/page_elements/owner_block.php +++ b/views/default/page_elements/owner_block.php @@ -21,7 +21,7 @@ if ($owner) {
$icon = elgg_view("profile/icon",array('entity' => $owner, 'size' => 'tiny'));
if ($owner instanceof ElggUser || $owner instanceof ElggGroup) {
- //$info = $owner->name; + //$info = $owner->name;
$info = '<a href="' . $owner->getURL() . '">' . $owner->name . '</a>';
}
$display = "<div id=\"owner_block_icon\">" . $icon . "</div>";
@@ -45,17 +45,17 @@ } else {
$url .= "?view=rss";
}
- if (substr_count($url2,'?')) {
- $url2 .= "&view=odd";
- } else {
- $url2 .= "?view=opendd";
- }
+ //if (substr_count($url2,'?')) {
+ // $url2 .= "&view=odd";
+ //} else {
+ // $url2 .= "?view=opendd";
+ //}
$label = elgg_echo('feed:rss');
- $label2 = elgg_echo('feed:odd');
+ //$label2 = elgg_echo('feed:odd');
$contents .= <<<END
<div id="owner_block_rss_feed"><a href="{$url}" rel="nofollow">{$label}</a></div>
- <div id="owner_block_odd_feed"><a href="{$url2}" rel="nofollow">{$label2}</a></div>
+ <!-- <div id="owner_block_odd_feed"><a href="{$url2}" rel="nofollow">{$label2}</a></div> -->
END;
}
|