diff options
Diffstat (limited to 'mod/externalpages/views/default/expages/menu.php')
-rw-r--r-- | mod/externalpages/views/default/expages/menu.php | 29 |
1 files changed, 29 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..10c07397b --- /dev/null +++ b/mod/externalpages/views/default/expages/menu.php @@ -0,0 +1,29 @@ +<?php + + /** + * Elgg External pages menu + * + * @package ElggExpages + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Curverider Ltd <info@elgg.com> + * @copyright Curverider Ltd 2008-2010 + * @link http://elgg.com/ + * + */ + + //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 |