diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-01 22:58:44 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-01 22:58:44 +0000 |
commit | ecfeaf08fffd1e9f347543d8d88799a4efb50827 (patch) | |
tree | a574b3e89db6d18cdc6531a7b539fa91d95daf02 /mod/blog/views/default | |
parent | 3e79004b04458c0ec11462a422dc67f2fb3c2bdb (diff) | |
download | elgg-ecfeaf08fffd1e9f347543d8d88799a4efb50827.tar.gz elgg-ecfeaf08fffd1e9f347543d8d88799a4efb50827.tar.bz2 |
updating the sidebar boxes to use the new module classes
git-svn-id: http://code.elgg.org/elgg/trunk@7809 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views/default')
-rw-r--r-- | mod/blog/views/default/blog/sidebar/archives.php | 6 | ||||
-rw-r--r-- | mod/blog/views/default/blog/sidebar/revisions.php | 10 | ||||
-rw-r--r-- | mod/blog/views/default/forms/blog/save.php | 2 |
3 files changed, 13 insertions, 5 deletions
diff --git a/mod/blog/views/default/blog/sidebar/archives.php b/mod/blog/views/default/blog/sidebar/archives.php index 9904be288..f08c7ea7e 100644 --- a/mod/blog/views/default/blog/sidebar/archives.php +++ b/mod/blog/views/default/blog/sidebar/archives.php @@ -25,6 +25,10 @@ if ($page_owner && $vars['page'] != 'friends') { } $content .= '</ul>'; - echo elgg_view('layout/objects/module', array('title' => $title, 'body' => $content)); + echo elgg_view('layout/objects/module', array( + 'title' => $title, + 'body' => $content, + 'class' => 'elgg-aside-module', + )); } }
\ No newline at end of file diff --git a/mod/blog/views/default/blog/sidebar/revisions.php b/mod/blog/views/default/blog/sidebar/revisions.php index e3919648b..b6c33fb38 100644 --- a/mod/blog/views/default/blog/sidebar/revisions.php +++ b/mod/blog/views/default/blog/sidebar/revisions.php @@ -42,14 +42,14 @@ if (elgg_instanceof($blog, 'object', 'blog') && $blog->canEdit()) { 'text' => elgg_echo('blog:status:published') )); - $time = "<span class='entity-subtext'>" + $time = "<span class='elgg-subtitle'>" . elgg_view_friendly_time($blog->publish_date) . "</span>"; $body .= "<li>$load : $time</li>"; } foreach ($revisions as $revision) { - $time = "<span class='entity-subtext'>" + $time = "<span class='elgg-subtitle'>" . elgg_view_friendly_time($revision->time_created) . "</span>"; if ($revision->name == 'blog_auto_save') { @@ -72,6 +72,10 @@ if (elgg_instanceof($blog, 'object', 'blog') && $blog->canEdit()) { $body .= '</ul>'; - echo elgg_view('layout/objects/module', array('title' => $title, 'body' => $body)); + echo elgg_view('layout/objects/module', array( + 'title' => $title, + 'body' => $body, + 'class' => 'elgg-aside-module', + )); } }
\ No newline at end of file diff --git a/mod/blog/views/default/forms/blog/save.php b/mod/blog/views/default/forms/blog/save.php index 8597c135c..76b474138 100644 --- a/mod/blog/views/default/forms/blog/save.php +++ b/mod/blog/views/default/forms/blog/save.php @@ -142,7 +142,7 @@ $body_input $categories_input -<p class="ptm pbm mbn entity-subtext elgg_hrt"> +<p class="elgg-subtitle ptm pbm mbn elgg_hrt"> $save_status <span class="blog-save-status-time">$saved</span> </p> |