aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 17:43:23 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 17:43:23 +0000
commitee25c76e0bab45893a9d52a3820a16be2d481010 (patch)
tree63792d4a58d56953ede040831e18b176107d23a1 /settings
parent317d14bba5d58975446ecd9ab1b37a89c647fc1b (diff)
downloadelgg-ee25c76e0bab45893a9d52a3820a16be2d481010.tar.gz
elgg-ee25c76e0bab45893a9d52a3820a16be2d481010.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@1078 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'settings')
-rw-r--r--settings/index.php26
-rw-r--r--settings/plugins/index.php22
-rw-r--r--settings/statistics/index.php22
-rw-r--r--settings/user/index.php22
4 files changed, 92 insertions, 0 deletions
diff --git a/settings/index.php b/settings/index.php
new file mode 100644
index 000000000..47cf9caba
--- /dev/null
+++ b/settings/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/settings/plugins/index.php b/settings/plugins/index.php
new file mode 100644
index 000000000..d9c5de6fb
--- /dev/null
+++ b/settings/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/settings/statistics/index.php b/settings/statistics/index.php
new file mode 100644
index 000000000..303838a81
--- /dev/null
+++ b/settings/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/settings/user/index.php b/settings/user/index.php
new file mode 100644
index 000000000..274e86e9b
--- /dev/null
+++ b/settings/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