diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-24 00:12:17 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-24 00:12:17 +0000 |
commit | 01afda7ed87e7def6a411d871daf49522e977b26 (patch) | |
tree | 53a2ca457b94c777db3a808afad0173f4b96095b | |
parent | 7cca9471c04848c4e41077c83b01089d0736fbed (diff) | |
download | elgg-01afda7ed87e7def6a411d871daf49522e977b26.tar.gz elgg-01afda7ed87e7def6a411d871daf49522e977b26.tar.bz2 |
organized the river views according to the subview pattern
git-svn-id: http://code.elgg.org/elgg/trunk@8452 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | views/default/river/item.php | 6 | ||||
-rw-r--r-- | views/default/river/item/body.php (renamed from views/default/core/river/body.php) | 2 | ||||
-rw-r--r-- | views/default/river/item/controls.php (renamed from views/default/core/river/controls.php) | 0 | ||||
-rw-r--r-- | views/default/river/item/footer.php (renamed from views/default/core/river/footer.php) | 0 | ||||
-rw-r--r-- | views/default/river/item/image.php (renamed from views/default/core/river/image.php) | 0 |
5 files changed, 4 insertions, 4 deletions
diff --git a/views/default/river/item.php b/views/default/river/item.php index 1f28bcb76..55e108482 100644 --- a/views/default/river/item.php +++ b/views/default/river/item.php @@ -2,9 +2,9 @@ $item = $vars['item']; $vars = array( - 'image' => elgg_view('core/river/image', array('item' => $item)), - 'body' => elgg_view('core/river/body', array('item' => $item)), - 'image_alt' => elgg_view('core/river/controls', array('item' => $item)), + 'image' => elgg_view('river/item/image', array('item' => $item)), + 'body' => elgg_view('river/item/body', array('item' => $item)), + 'image_alt' => elgg_view('river/item/controls', array('item' => $item)), 'class' => 'elgg-river-item', ); diff --git a/views/default/core/river/body.php b/views/default/river/item/body.php index e3c34acda..7d36222ac 100644 --- a/views/default/core/river/body.php +++ b/views/default/river/item/body.php @@ -21,7 +21,7 @@ $header = "$subject_link <span class=\"elgg-river-timestamp\">$timestamp</span>" $body = elgg_view($item->getView(), array('item' => $item)); // footer -$footer = elgg_view('core/river/footer', $vars); +$footer = elgg_view('river/item/footer', $vars); echo elgg_view('page/components/module', array( 'header' => $header, diff --git a/views/default/core/river/controls.php b/views/default/river/item/controls.php index 9c3305635..9c3305635 100644 --- a/views/default/core/river/controls.php +++ b/views/default/river/item/controls.php diff --git a/views/default/core/river/footer.php b/views/default/river/item/footer.php index 7cf9dd925..7cf9dd925 100644 --- a/views/default/core/river/footer.php +++ b/views/default/river/item/footer.php diff --git a/views/default/core/river/image.php b/views/default/river/item/image.php index afb6b4019..afb6b4019 100644 --- a/views/default/core/river/image.php +++ b/views/default/river/item/image.php |