diff options
Diffstat (limited to 'entities')
-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 |