aboutsummaryrefslogtreecommitdiff
path: root/views/default/usersettings/main_opt
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 /views/default/usersettings/main_opt
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 'views/default/usersettings/main_opt')
-rw-r--r--views/default/usersettings/main_opt/plugins.php19
-rw-r--r--views/default/usersettings/main_opt/statistics.php17
-rw-r--r--views/default/usersettings/main_opt/user.php17
3 files changed, 53 insertions, 0 deletions
diff --git a/views/default/usersettings/main_opt/plugins.php b/views/default/usersettings/main_opt/plugins.php
new file mode 100644
index 000000000..7a5030579
--- /dev/null
+++ b/views/default/usersettings/main_opt/plugins.php
@@ -0,0 +1,19 @@
+<?php
+ /**
+ * Elgg plugin sub-component on the main menu.
+ *
+ * @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/
+ */
+
+ global $CONFIG;
+?>
+<div class="admin-menu-option">
+ <h2><?php echo elgg_echo('usersettings:plugins'); ?> </h2>
+ <p><?php echo elgg_echo('usersettings:plugins:opt:description'); ?><br />
+ <a href="<?php echo $CONFIG->wwwroot . "pg/usersettings/plugins/"; ?>"><?php echo elgg_echo('usersettings:plugins:opt:linktext'); ?></a></p>
+</div> \ No newline at end of file
diff --git a/views/default/usersettings/main_opt/statistics.php b/views/default/usersettings/main_opt/statistics.php
new file mode 100644
index 000000000..973c4f7ce
--- /dev/null
+++ b/views/default/usersettings/main_opt/statistics.php
@@ -0,0 +1,17 @@
+<?php
+ /**
+ * Elgg satistics sub-component on the main menu.
+ *
+ * @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/
+ */
+?>
+<div class="admin-menu-option">
+ <h2><?php echo elgg_echo('usersettings:statistics'); ?> </h2>
+ <p><?php echo elgg_echo('usersettings:statistics:opt:description'); ?><br />
+ <a href="<?php echo $CONFIG->wwwroot . "pg/usersettings/statistics/"; ?>"><?php echo elgg_echo('usersettings:statistics:opt:linktext'); ?></a></p>
+</div>
diff --git a/views/default/usersettings/main_opt/user.php b/views/default/usersettings/main_opt/user.php
new file mode 100644
index 000000000..77d3340e3
--- /dev/null
+++ b/views/default/usersettings/main_opt/user.php
@@ -0,0 +1,17 @@
+<?php
+ /**
+ * Elgg user sub-component on the main menu.
+ *
+ * @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/
+ */
+?>
+<div class="admin-menu-option">
+ <h2><?php echo elgg_echo('usersettings:user'); ?> </h2>
+ <p><?php echo elgg_echo('usersettings:user:opt:description'); ?><br />
+ <a href="<?php echo $CONFIG->wwwroot . "pg/usersettings/user/"; ?>"><?php echo elgg_echo('usersettings:user:opt:linktext'); ?></a></p>
+</div> \ No newline at end of file