diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/apitest/index.php | 10 | ||||
-rw-r--r-- | mod/apitest/start.php | 9 | ||||
-rw-r--r-- | mod/apitest/views/default/apitest/configform.php | 11 | ||||
-rw-r--r-- | mod/apitest/views/default/apitest/main.php | 11 |
4 files changed, 41 insertions, 0 deletions
diff --git a/mod/apitest/index.php b/mod/apitest/index.php index 16a7794df..80af2c3ff 100644 --- a/mod/apitest/index.php +++ b/mod/apitest/index.php @@ -1,4 +1,14 @@ <?php + /** + * Elgg API Tester + * + * @package ElggDevTools + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Marcus Povey <marcus@marcus-povey.co.uk> + * @copyright Curverider Ltd 2008 + * @link http://elgg.com/ + */ + require_once("../../engine/start.php"); global $CONFIG, $API_CLIENT; diff --git a/mod/apitest/start.php b/mod/apitest/start.php index f197b3e78..ded4d5d0d 100644 --- a/mod/apitest/start.php +++ b/mod/apitest/start.php @@ -1,4 +1,13 @@ <?php + /** + * Elgg API Tester + * + * @package ElggDevTools + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Marcus Povey <marcus@marcus-povey.co.uk> + * @copyright Curverider Ltd 2008 + * @link http://elgg.com/ + */ $API_CLIENT = new stdClass; diff --git a/mod/apitest/views/default/apitest/configform.php b/mod/apitest/views/default/apitest/configform.php index c637ae7b6..ccada5940 100644 --- a/mod/apitest/views/default/apitest/configform.php +++ b/mod/apitest/views/default/apitest/configform.php @@ -1,3 +1,14 @@ +<?php + /** + * Elgg API Tester + * + * @package ElggDevTools + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Marcus Povey <marcus@marcus-povey.co.uk> + * @copyright Curverider Ltd 2008 + * @link http://elgg.com/ + */ +?> <form method="post"> <input type="hidden" name="action" value="configure" /> <p>API Key: <input type="text" name="apikey" value="<?php echo $vars['apikey'];?>" /></p> diff --git a/mod/apitest/views/default/apitest/main.php b/mod/apitest/views/default/apitest/main.php index dfdbd482b..bca518cc0 100644 --- a/mod/apitest/views/default/apitest/main.php +++ b/mod/apitest/views/default/apitest/main.php @@ -1,3 +1,14 @@ +<?php + /** + * Elgg API Tester + * + * @package ElggDevTools + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Marcus Povey <marcus@marcus-povey.co.uk> + * @copyright Curverider Ltd 2008 + * @link http://elgg.com/ + */ +?> <script type="text/javascript" language="javascript"> <!-- function showhide(oid) |