diff options
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;
}
|