From: nfreear Date: Fri, 1 Dec 2006 10:10:56 +0000 (+0000) Subject: Adding space in channel element. Minor whitespace cleanup. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=808c2a69fe4a2a13c913fad2adb34efd8a7e116e;p=moodle.git Adding space in channel element. Minor whitespace cleanup. --- diff --git a/blocks/login/block_login.php b/blocks/login/block_login.php index a32be62a2c..45c956089c 100644 --- a/blocks/login/block_login.php +++ b/blocks/login/block_login.php @@ -3,7 +3,7 @@ class block_login extends block_base { function init() { $this->title = get_string('login'); - $this->version = 2004081600; + $this->version = 2006102700; //TODO } function applicable_formats() { @@ -48,18 +48,19 @@ class block_login extends block_base { $this->content->text = ''; if (empty($USER->loggedin) or isguest()) { // Show the block - $this->content->text .= '
'; - $this->content->text .= ''; +/// $this->content->text .= ''; //DONOTCOMMIT:TODO - $this->content->text .= ''; - $this->content->text .= ''; + $this->content->text .= "\n".''; - $this->content->text .= ''; - $this->content->text .= ''; + $this->content->text .= '
: '; + $this->content->text .= '
'; - $this->content->text .= ''; + $this->content->text .= '
: '; + $this->content->text .= '
'; - $this->content->text .= '
'.get_string('username').':
'.get_string('password').':
 
'; + $this->content->text .= '
'; + + $this->content->text .= "\n"; if (!empty($signup)) { $this->content->footer .= '
'.get_string('startsignup').'
'; diff --git a/blocks/rss_client/block_rss_client.php b/blocks/rss_client/block_rss_client.php index 6841dffb3d..c2c9914827 100644 --- a/blocks/rss_client/block_rss_client.php +++ b/blocks/rss_client/block_rss_client.php @@ -202,12 +202,12 @@ isset($this->config->block_rss_client_show_channel_image) && $this->config->block_rss_client_show_channel_image && isset($rss->image) && isset($rss->image['link']) && isset($rss->image['title']) && isset($rss->image['url']) ) { - $returnstring .= '
'. $rss->image['title'] .'
'; + $returnstring .= "\n".'
'. $rss->image['title'] .'
'; } if ($showtitle) { $returnstring .= '
'. $feedtitle .'
'; - } + } $formatoptions->para = false; @@ -283,4 +283,5 @@ } } } -?> + +?> \ No newline at end of file