Skip to content

Commit

Permalink
Sourcelink should go in footer...
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Apr 27, 2005
1 parent 8fbdc99 commit 02aa708
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion blocks/rss_client/block_rss_client.php
Expand Up @@ -207,7 +207,7 @@ function get_rss_by_id($rssid, $display_description, $shownumentries, $showtitle

if (!empty($rss->channel['link'])) {
if (!empty($this->config) && isset($this->config->block_rss_client_show_channel_link) && $this->config->block_rss_client_show_channel_link) {
$returnstring .= '<div class="channellink"><br /><a href="'. $rss->channel['link'] .'">'. get_string('block_rss_client_channel_link', 'block_rss_client') .'</a></div>';
$this->content->footer = '<a href="'. $rss->channel['link'] .'">'. get_string('block_rss_client_channel_link', 'block_rss_client') .'</a>';
}
if (!empty($feedtitle) ) {
$feedtitle = '<a href="'. $rss->channel['link'] .'">'. $feedtitle .'</a>';
Expand Down
19 changes: 8 additions & 11 deletions blocks/rss_client/styles.php
@@ -1,22 +1,19 @@
.block_rss_client .link {
border-top:1px solid;
border-top-color:#DDDDDD;
padding-bottom:5px;
font-size:0.82em;
border-top:1px solid;
border-top-color:#DDDDDD;
padding-bottom:5px;
font-size:0.82em;
}

.block_rss_client .description {
color:#555555;
font-size:0.78em;
padding-left:10px;
padding-bottom:8px;
color:#555555;
font-size:0.78em;
padding-left:10px;
padding-bottom:8px;
}

.block_rss_client .title {
}

.block_rss_client .image {
}

.block_rss_client .channellink {
}

0 comments on commit 02aa708

Please sign in to comment.