aboutsummaryrefslogtreecommitdiff
path: root/mod/externalpages/views/default/expages/menu.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/externalpages/views/default/expages/menu.php')
-rw-r--r--mod/externalpages/views/default/expages/menu.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/mod/externalpages/views/default/expages/menu.php b/mod/externalpages/views/default/expages/menu.php
new file mode 100644
index 000000000..d91418065
--- /dev/null
+++ b/mod/externalpages/views/default/expages/menu.php
@@ -0,0 +1,25 @@
+<?php
+
+ /**
+ * Elgg External pages menu
+ *
+ * @package ElggExpages
+ *
+ */
+
+ //type
+ $type = $vars['type'];
+
+ //set the url
+ $url = $vars['url'] . "pg/expages/index.php?type=";
+
+?>
+
+<div id="elgg_horizontal_tabbed_nav">
+<ul>
+ <li <?php if($type == 'front') echo "class = 'selected'"; ?>><a href="<?php echo $url; ?>front"><?php echo elgg_echo('expages:frontpage'); ?></a></li>
+ <li <?php if($type == 'about') echo "class = 'selected'"; ?>><a href="<?php echo $url; ?>about"><?php echo elgg_echo('expages:about'); ?></a></li>
+ <li <?php if($type == 'terms') echo "class = 'selected'"; ?>><a href="<?php echo $url; ?>terms"><?php echo elgg_echo('expages:terms'); ?></a></li>
+ <li <?php if($type == 'privacy') echo "class = 'selected'"; ?>><a href="<?php echo $url; ?>privacy"><?php echo elgg_echo('expages:privacy'); ?></a></li>
+</ul>
+</div> \ No newline at end of file