From 982389815df230607100c9ee2ec1c40583026e4b Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 23 Jun 2008 17:23:30 +0000 Subject: Widgets now save on a per-widget basis. TODO: get the collapsing widgets to work once they've saved .. git-svn-id: https://code.elgg.org/elgg/trunk@1073 36083f99-b078-4883-b0ff-0f9b5a30f544 --- entities/index.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'entities/index.php') diff --git a/entities/index.php b/entities/index.php index 6c2d4fd0d..cc523a0eb 100644 --- a/entities/index.php +++ b/entities/index.php @@ -17,6 +17,12 @@ // Get the GUID of the entity we want to view $guid = (int) get_input('guid'); + $shell = get_input('shell'); + if ($shell == "no") { + $shell = false; + } else { + $shell = true; + } // Get the entity, if possible if ($entity = get_entity($guid)) { @@ -32,6 +38,10 @@ } // Display the page - page_draw("", $body); + if ($shell) { + page_draw("", $body); + } else { + echo $body; + } ?> \ No newline at end of file -- cgit v1.2.3