From 2668b8089f966fcaac3fae4a449c2875f227731c Mon Sep 17 00:00:00 2001 From: pete Date: Mon, 16 Nov 2009 21:11:28 +0000 Subject: Search UI cleaned up git-svn-id: http://code.elgg.org/elgg/trunk@3689 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/search/views/default/search/comments/listing.php | 19 ++++++++++--------- mod/search/views/default/search/listing.php | 16 +++++++++------- mod/search/views/default/search/tags/listing.php | 16 +++------------- 3 files changed, 22 insertions(+), 29 deletions(-) (limited to 'mod/search/views') diff --git a/mod/search/views/default/search/comments/listing.php b/mod/search/views/default/search/comments/listing.php index 13f368f2b..1bd1dedea 100644 --- a/mod/search/views/default/search/comments/listing.php +++ b/mod/search/views/default/search/comments/listing.php @@ -92,15 +92,16 @@ foreach ($vars['entities'] as $entity) { $time = friendly_time($tc); $body .= <<<___END - -

$title

- - $description
- $icon $time - $more_link -
-
+
+
$icon
+
+

$title

$description +

$time - $more_link

+
+
___END; } -$body .= $nav; -echo elgg_view('page_elements/contentwrapper', array('body' => $body)); +echo $body; +echo $nav; +//echo elgg_view('page_elements/contentwrapper', array('body' => $body)); diff --git a/mod/search/views/default/search/listing.php b/mod/search/views/default/search/listing.php index fe983c790..5a5ecd218 100644 --- a/mod/search/views/default/search/listing.php +++ b/mod/search/views/default/search/listing.php @@ -79,13 +79,15 @@ foreach ($entities as $entity) { $time = friendly_time(($tu > $tc) ? $tu : $tc); $body .= <<<___END - -

$title

- $description
- $icon $time - $more_link -
+
+
$icon
+
+

$title

$description +

$time - $more_link

+
+
___END; } - -echo elgg_view('page_elements/contentwrapper', array('body' => $body)); +echo $body; +//echo elgg_view('page_elements/contentwrapper', array('body' => $body)); echo $nav; diff --git a/mod/search/views/default/search/tags/listing.php b/mod/search/views/default/search/tags/listing.php index 9b229b349..47a57e973 100644 --- a/mod/search/views/default/search/tags/listing.php +++ b/mod/search/views/default/search/tags/listing.php @@ -9,7 +9,6 @@ */ ?> -
$body)); +//echo elgg_view('page_elements/contentwrapper', array('body' => $body)); foreach ($entities as $entity) { if ($owner = $entity->getOwnerEntity()) { @@ -40,16 +39,7 @@ foreach ($entities as $entity) { $tu = $entity->time_updated; $time = friendly_time(($tu > $tc) ? $tu : $tc); - echo <<<___END - -

$title

- - $entity_html - $tags - -
-___END; + $body .= $entity_html; } - +echo $body; ?> -
\ No newline at end of file -- cgit v1.2.3