diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-25 11:02:17 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-25 11:02:17 +0000 |
commit | 306426b985dedac720be3ef6a62ed463dea3898c (patch) | |
tree | 46e59041727e805fa9a166965108e4b446d24c78 /mod/blog/views | |
parent | fe92806395c64a796d623fcce6c4122e6c3ee64f (diff) | |
download | elgg-306426b985dedac720be3ef6a62ed463dea3898c.tar.gz elgg-306426b985dedac720be3ef6a62ed463dea3898c.tar.bz2 |
Updates to Blogs edit UI.
git-svn-id: http://code.elgg.org/elgg/trunk@6202 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views')
-rw-r--r-- | mod/blog/views/default/blog/css.php | 13 | ||||
-rw-r--r-- | mod/blog/views/default/blog/forms/edit.php | 14 | ||||
-rw-r--r-- | mod/blog/views/default/blog/sidebar_revisions.php | 4 |
3 files changed, 15 insertions, 16 deletions
diff --git a/mod/blog/views/default/blog/css.php b/mod/blog/views/default/blog/css.php index ec58164ca..6847906c2 100644 --- a/mod/blog/views/default/blog/css.php +++ b/mod/blog/views/default/blog/css.php @@ -27,13 +27,10 @@ line-height: 1.4em; padding-bottom:12px; } - -input.blog_publish_day, -input.blog_publish_hour, -input.blog_publish_minute { - width: 25px; +form#blog_post_edit .submit_button { + margin-right:15px; } - -input.blog_publish_year { - width: 50px; +/* force tinymce input height for a more useful editing / blog creation area */ +form#blog_post_edit #description_parent #description_ifr { + height:400px !important; }
\ No newline at end of file diff --git a/mod/blog/views/default/blog/forms/edit.php b/mod/blog/views/default/blog/forms/edit.php index f8b39d964..48d47730c 100644 --- a/mod/blog/views/default/blog/forms/edit.php +++ b/mod/blog/views/default/blog/forms/edit.php @@ -185,10 +185,6 @@ $excerpt_input $body_input <br /> -<p id="blog_save_status"> - $save_status <span id="blog_save_status_time">$saved</span> -</p> - <p> <label for="blog_tags">$tags_label</label> $tags_input @@ -211,17 +207,21 @@ $body_input $categories_input +<div class="divider"></div> +<p class="margin_none margin_top entity_subtext"> + $save_status <span class="blog_save_status_time">$saved</span> +</p> + $guid_input $container_guid_input $forward_input $action_buttons -<span> - ___END; echo elgg_view('input/form', array( + 'internalid' => 'blog_post_edit', 'internalname' => 'blog_post', 'action' => "{$vars['url']}action/blog/save", 'body' => $form_body @@ -286,6 +286,7 @@ elgg_clear_sticky_form('blog'); // get a copy of the body to compare for auto save oldDescription = $('form[name=blog_post]').find('textarea[name=description]').val(); +/* we don't seems to be using the text counter anymoreÉ $('#excerpt.excerpt').each(function(){ var allowed = 200; @@ -313,6 +314,7 @@ elgg_clear_sticky_form('blog'); }); }); +*/ }); </script>
\ 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 7207d9c95..cb65b4d0c 100644 --- a/mod/blog/views/default/blog/sidebar_revisions.php +++ b/mod/blog/views/default/blog/sidebar_revisions.php @@ -44,7 +44,7 @@ if (elgg_instanceof($blog, 'object', 'blog') && $blog->canEdit()) { 'text' => elgg_echo('load') )); - $time = friendly_time($blog->publish_date); + $time = "<span class='entity_subtext'>".friendly_time($blog->publish_date)."</span>"; echo '<li> ' . elgg_echo('blog:status:published') . ": $time $load @@ -52,7 +52,7 @@ if (elgg_instanceof($blog, 'object', 'blog') && $blog->canEdit()) { } foreach ($revisions as $revision) { - $time = friendly_time($revision->time_created); + $time = "<span class='entity_subtext'>".friendly_time($revision->time_created)."</span>"; $load = elgg_view('output/url', array( 'href' => $load_base_url . $revision->id, 'text' => elgg_echo('load') |