diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-23 17:23:30 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-23 17:23:30 +0000 |
commit | 982389815df230607100c9ee2ec1c40583026e4b (patch) | |
tree | e485b12d4412d6430bf03d06f5b4dd3146e5f379 /entities/index.php | |
parent | 2dad5867569b3b30920220c8ed1edd912b55811c (diff) | |
download | elgg-982389815df230607100c9ee2ec1c40583026e4b.tar.gz elgg-982389815df230607100c9ee2ec1c40583026e4b.tar.bz2 |
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
Diffstat (limited to 'entities/index.php')
-rw-r--r-- | entities/index.php | 12 |
1 files changed, 11 insertions, 1 deletions
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 |