aboutsummaryrefslogtreecommitdiff
path: root/usersettings
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 16:27:05 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 16:27:05 +0000
commit737394eb15a2ef0c1f5a085d7f5958d2f3e66b89 (patch)
treed3d3d9f880e9ffd63b73d9f3ab83c1ce0fda825f /usersettings
parentdc28ff0bed2216d97e24b1286c68190c843cb684 (diff)
downloadelgg-737394eb15a2ef0c1f5a085d7f5958d2f3e66b89.tar.gz
elgg-737394eb15a2ef0c1f5a085d7f5958d2f3e66b89.tar.bz2
Refs #76: User settings page (to Elgg Classic standard). Committing some work before shutting down for the day.
git-svn-id: https://code.elgg.org/elgg/trunk@1068 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'usersettings')
-rw-r--r--usersettings/index.php26
-rw-r--r--usersettings/plugins/index.php22
-rw-r--r--usersettings/statistics/index.php22
-rw-r--r--usersettings/user/index.php22
4 files changed, 92 insertions, 0 deletions
diff --git a/usersettings/index.php b/usersettings/index.php
new file mode 100644
index 000000000..47cf9caba
--- /dev/null
+++ b/usersettings/index.php
@@ -0,0 +1,26 @@
+<?php
+ /**
+ * Elgg user settings system index
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ // Get the Elgg framework
+ require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
+
+ // Make sure only valid users can see this
+ gatekeeper();
+
+
+
+ /// Default settings
+
+
+ // Display main admin menu
+ page_draw(elgg_echo("admin"),elgg_view_layout("one_column", elgg_view("usersettings/main")));
+?> \ No newline at end of file
diff --git a/usersettings/plugins/index.php b/usersettings/plugins/index.php
new file mode 100644
index 000000000..d9c5de6fb
--- /dev/null
+++ b/usersettings/plugins/index.php
@@ -0,0 +1,22 @@
+<?php
+ /**
+ * Elgg user settings functions.
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ // Get the Elgg framework
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+ // Make sure only valid admin users can see this
+ gatekeeper();
+
+
+ // Display main admin menu
+ page_draw(elgg_echo("usersettings:plugins"),elgg_view_layout("one_column",elgg_view("usersettings/plugins")));
+?> \ No newline at end of file
diff --git a/usersettings/statistics/index.php b/usersettings/statistics/index.php
new file mode 100644
index 000000000..303838a81
--- /dev/null
+++ b/usersettings/statistics/index.php
@@ -0,0 +1,22 @@
+<?php
+ /**
+ * Elgg user settings functions.
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ // Get the Elgg framework
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+ // Make sure only valid admin users can see this
+ gatekeeper();
+
+
+ // Display main admin menu
+ page_draw(elgg_echo("usersettings:statistics"),elgg_view_layout("one_column",elgg_view("usersettings/statistics")));
+?> \ No newline at end of file
diff --git a/usersettings/user/index.php b/usersettings/user/index.php
new file mode 100644
index 000000000..274e86e9b
--- /dev/null
+++ b/usersettings/user/index.php
@@ -0,0 +1,22 @@
+<?php
+ /**
+ * Elgg user settings functions.
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ // Get the Elgg framework
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+ // Make sure only valid admin users can see this
+ gatekeeper();
+
+
+ // Display main admin menu
+ page_draw(elgg_echo("usersettings:user"),elgg_view_layout("one_column",elgg_view("usersettings/user")));
+?> \ No newline at end of file