diff --git a/plugins/mobile_unl/index.php b/plugins/mobile_unl/index.php new file mode 100755 index 0000000000000000000000000000000000000000..977713fe97fbe167189b37b8d1af732db0add13f --- /dev/null +++ b/plugins/mobile_unl/index.php @@ -0,0 +1,23 @@ +<?php +/** + * Elgg Mobile + * A Mobile Client For Elgg + * + * @package Elgg + * @subpackage Core + * @author Mark Harding + * @link http://maestrozone.com + * + */ + /** + * Start the Elgg engine + */ + define('externalpage',true); + require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); + + //Load the front page + global $CONFIG; + set_input('view', 'mobile'); + $content = elgg_view_layout('two_column_left_sidebar', elgg_view("account/forms/login")); + page_draw(null, $content); +?> diff --git a/plugins/mobile_unl/manifest.xml b/plugins/mobile_unl/manifest.xml new file mode 100755 index 0000000000000000000000000000000000000000..b6901d7492cb290e8c36bbb247d311baad97c252 --- /dev/null +++ b/plugins/mobile_unl/manifest.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<plugin_manifest> + <field key="author" value="UNL" /> + <field key="version" value="0.3" /> + <field key="description" value="Elgg Mobile UNL Modifications" /> + <field key="website" value="http://www.unl.edu/" /> + <field key="copyright" value="(C) UNL 2010" /> + <field key="licence" value="BSD" /> + <field key="elgg_version" value="2009072201" /> +</plugin_manifest> \ No newline at end of file diff --git a/plugins/mobile_unl/start.php b/plugins/mobile_unl/start.php new file mode 100755 index 0000000000000000000000000000000000000000..307ac85e4874b558b8467e14e2422ccf45b0db07 --- /dev/null +++ b/plugins/mobile_unl/start.php @@ -0,0 +1,25 @@ +<?php +/** + * Elgg Mobile + * A Mobile Client For Elgg + * + * @package Elgg + * @subpackage Core + * @author Mark Harding + * @link http://maestrozone.com + * + */ + + function mobile_unl_init(){ + + // extend_view('metatags','mobile/metatags'); + +// Close the mobile_init + } +// Initialise log browser + register_elgg_event_handler('init','system','mobile_unl_init'); +//elgg_register_simplecache_view(mobile); +register_action("mobile/login",false,$CONFIG->pluginspath . "mobile/actions/login.php", true); + + +?>