From 11606820a6f4df89a885ae31fcff8b42a67b316b Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 30 Mar 2010 16:28:41 +0000 Subject: Updated UI for commentwall on profile page. git-svn-id: http://code.elgg.org/elgg/trunk@5551 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../default/profile/commentwall/commentwall.php | 4 ++-- .../profile/commentwall/commentwall_content.php | 26 +++++++++++----------- .../default/profile/commentwall/commentwalladd.php | 4 ++-- mod/profile/views/default/profile/css.php | 7 ++++++ 4 files changed, 24 insertions(+), 17 deletions(-) (limited to 'mod/profile/views/default') diff --git a/mod/profile/views/default/profile/commentwall/commentwall.php b/mod/profile/views/default/profile/commentwall/commentwall.php index 9c1ff3fdb..f693a3317 100644 --- a/mod/profile/views/default/profile/commentwall/commentwall.php +++ b/mod/profile/views/default/profile/commentwall/commentwall.php @@ -7,7 +7,7 @@ if (is_array($vars['annotation']) && sizeof($vars['annotation']) > 0) { //start the div which will wrap all the message board contents - echo "
"; + echo "
"; //loop through all annotations and display foreach($vars['annotation'] as $content) { @@ -18,5 +18,5 @@ if (is_array($vars['annotation']) && sizeof($vars['annotation']) > 0) { echo "
"; } else { - echo "
" . elgg_echo("profile:commentwall:none") . "
"; + echo "

" . elgg_echo("profile:commentwall:none") . "

"; } \ No newline at end of file diff --git a/mod/profile/views/default/profile/commentwall/commentwall_content.php b/mod/profile/views/default/profile/commentwall/commentwall_content.php index d2a313d93..1317ba62e 100644 --- a/mod/profile/views/default/profile/commentwall/commentwall_content.php +++ b/mod/profile/views/default/profile/commentwall/commentwall_content.php @@ -3,30 +3,30 @@ * Elgg Message board individual item display page */ ?> -
+
-
+
get_entity($vars['annotation']->owner_guid), 'size' => 'tiny')); ?>
- -

- owner_guid)->name . " " . friendly_time($vars['annotation']->time_created); ?> -

- -
parse_urls($vars['annotation']->value))); ?>
-
+ +
canEdit()) { - echo "
" . elgg_view("output/confirmlink",array( + echo ""; + )) . "
"; } //end of can edit if statement ?> + +

+ owner_guid)->name . " " . friendly_time($vars['annotation']->time_created); ?> +

+ + parse_urls($vars['annotation']->value))); ?>
-
-
+
diff --git a/mod/profile/views/default/profile/commentwall/commentwalladd.php b/mod/profile/views/default/profile/commentwall/commentwalladd.php index 0d696b955..084ffc400 100644 --- a/mod/profile/views/default/profile/commentwall/commentwalladd.php +++ b/mod/profile/views/default/profile/commentwall/commentwalladd.php @@ -3,10 +3,10 @@ * Elgg profile comment wall add */ ?> -
+
-
+
diff --git a/mod/profile/views/default/profile/css.php b/mod/profile/views/default/profile/css.php index 7a82b2bec..57e54cc52 100644 --- a/mod/profile/views/default/profile/css.php +++ b/mod/profile/views/default/profile/css.php @@ -209,6 +209,13 @@ } +/* *************************************** + commentwall within profile +*************************************** */ +#comment_wall_add textarea { + width:685px; +} + /* *************************************** twitter panel within profile *************************************** */ -- cgit v1.2.3