aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-12 20:33:11 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-12 20:33:11 +0000
commitdb557a6331d2be1496d22627b3de61575567ad1a (patch)
tree2eb09b5ad5fb4abdcce759581bf5d4abeea259c6 /mod
parent4c84500ceeb484df84d116257e28b4924f2a7740 (diff)
downloadelgg-db557a6331d2be1496d22627b3de61575567ad1a.tar.gz
elgg-db557a6331d2be1496d22627b3de61575567ad1a.tar.bz2
put remaining core plugins through the canvas views
git-svn-id: https://code.elgg.org/elgg/trunk@903 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/apitest/index.php5
-rw-r--r--mod/exporttest/index.php11
-rw-r--r--mod/guidbrowser/index.php2
3 files changed, 11 insertions, 7 deletions
diff --git a/mod/apitest/index.php b/mod/apitest/index.php
index 80af2c3ff..105c44409 100644
--- a/mod/apitest/index.php
+++ b/mod/apitest/index.php
@@ -70,9 +70,10 @@
foreach ($commands as $command => $details)
$list .= apitest_draw_command_form($command, $details);
- $body = elgg_view("apitest/main", array(
+ $body = elgg_view_layout("one_column", elgg_view("apitest/main", array(
"config" => apitest_draw_config_panel(),
"commandlist" => $list
- ));
+ )));
+
page_draw("API Commands",$body);
?> \ No newline at end of file
diff --git a/mod/exporttest/index.php b/mod/exporttest/index.php
index 3c1320e1f..f3010d971 100644
--- a/mod/exporttest/index.php
+++ b/mod/exporttest/index.php
@@ -21,17 +21,20 @@
if ($guid)
{
- echo elgg_view("exporttest/outputxml", array("xml" => export($guid)));
+ echo elgg_view_layout("one_column", elgg_view("exporttest/outputxml", array("xml" => export($guid))));
}
else if ($action=='import')
{
- $body = print_r(import(get_input('xml')), true);
- $body .= elgg_view("exporttest/main", array("owner_id" => $owner_id));
+ $area1 = print_r(import(get_input('xml')), true);
+ $area1 .= elgg_view("exporttest/main", array("owner_id" => $owner_id));
+
+ $body = elgg_view_layout("one_column", $area1);
+
page_draw("Import results",$body);
}
else
{
- $body = elgg_view("exporttest/main", array("owner_id" => $owner_id));
+ $body = elgg_view_layout("one_column", elgg_view("exporttest/main", array("owner_id" => $owner_id)));
page_draw("Export a GUID",$body);
}
?> \ No newline at end of file
diff --git a/mod/guidbrowser/index.php b/mod/guidbrowser/index.php
index 49d6f8824..cbb3986d2 100644
--- a/mod/guidbrowser/index.php
+++ b/mod/guidbrowser/index.php
@@ -47,7 +47,7 @@
$page_owner = page_owner_entity();
// Display
- $body = guidbrowser_display($offset, $limit, $type, $subtype);
+ $body = elgg_view_layout("one_column", guidbrowser_display($offset, $limit, $type, $subtype));
// Display page
page_draw(elgg_echo("guidbrowser"), $body);