From 4766f36a4d74924f21ff329c4318ce4e069ffa04 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 3 Mar 2010 17:53:05 +0000 Subject: Pulled in the interface changes. git-svn-id: http://code.elgg.org/elgg/trunk@5257 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/pages/views/default/widgets/pages/edit.php | 17 +++++++++++++++++ mod/pages/views/default/widgets/pages/view.php | 26 ++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 mod/pages/views/default/widgets/pages/edit.php create mode 100644 mod/pages/views/default/widgets/pages/view.php (limited to 'mod/pages/views/default/widgets') diff --git a/mod/pages/views/default/widgets/pages/edit.php b/mod/pages/views/default/widgets/pages/edit.php new file mode 100644 index 000000000..8fb2511f7 --- /dev/null +++ b/mod/pages/views/default/widgets/pages/edit.php @@ -0,0 +1,17 @@ + + * @copyright Curverider Ltd 2008-2010 + * @link http://elgg.com/ + */ + +?> +

+ + +

\ No newline at end of file diff --git a/mod/pages/views/default/widgets/pages/view.php b/mod/pages/views/default/widgets/pages/view.php new file mode 100644 index 000000000..2ca32b284 --- /dev/null +++ b/mod/pages/views/default/widgets/pages/view.php @@ -0,0 +1,26 @@ + + + * @copyright Curverider Ltd 2008-2010 + * @link http://elgg.com/ + */ + + $num_display = (int) $vars['entity']->pages_num; + + $pages = elgg_list_entities(array('types' => 'object', 'subtypes' => 'page_top', 'container_guid' => page_owner(), 'limit' => $num_display, 'full_view' => FALSE)); + $pagesurl = $vars['url'] . "pg/pages/owned/" . page_owner_entity()->username; + $pages .= "
" . elgg_echo('pages:more') . "
"; + + echo "
" . $pages . "
"; + +?> \ No newline at end of file -- cgit v1.2.3