diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-11 17:18:49 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-11 17:18:49 +0000 |
commit | 714ccd2989c219b592460d80b0a455baca1a5fd1 (patch) | |
tree | 128f5769c06418c80a29a54dce3ec0c10f2a47d3 /mod/test/index.php | |
parent | 517d262f59179cd29036b4280a6c5ed5c3a87f33 (diff) | |
download | elgg-714ccd2989c219b592460d80b0a455baca1a5fd1.tar.gz elgg-714ccd2989c219b592460d80b0a455baca1a5fd1.tar.bz2 |
God bless 'em! Plugins now autoregister their own views.
git-svn-id: https://code.elgg.org/elgg/trunk@168 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/test/index.php')
-rw-r--r-- | mod/test/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/test/index.php b/mod/test/index.php index ffa4387e1..a8a9d347f 100644 --- a/mod/test/index.php +++ b/mod/test/index.php @@ -5,7 +5,7 @@ global $CONFIG;
//var_export($CONFIG);
-
- echo page_draw("Test plugin","");
+ $body = elgg_view("test/testplugin/pageshell");
+ page_draw("Test plugin",$body);
?>
\ No newline at end of file |