aboutsummaryrefslogtreecommitdiff
path: root/mod/externalpages/views/default/expages/menu.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-04 00:59:34 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-04 00:59:34 +0000
commit354d9eebf2c84b66f1103a61a8f4ffa832f350b6 (patch)
treea893e0cb765fddcbea6be6eea00f597907bbf114 /mod/externalpages/views/default/expages/menu.php
parentaff69d65ead2b3e7cb702a852761b2bbe5398c5e (diff)
downloadelgg-354d9eebf2c84b66f1103a61a8f4ffa832f350b6.tar.gz
elgg-354d9eebf2c84b66f1103a61a8f4ffa832f350b6.tar.bz2
Updated external pages to new interface.
git-svn-id: http://code.elgg.org/elgg/trunk@5268 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/externalpages/views/default/expages/menu.php')
-rw-r--r--mod/externalpages/views/default/expages/menu.php35
1 files changed, 15 insertions, 20 deletions
diff --git a/mod/externalpages/views/default/expages/menu.php b/mod/externalpages/views/default/expages/menu.php
index 10c07397b..7e4f2c981 100644
--- a/mod/externalpages/views/default/expages/menu.php
+++ b/mod/externalpages/views/default/expages/menu.php
@@ -1,29 +1,24 @@
<?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/
+ *
+ */
- /**
- * 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=";
+$type = $vars['type'];
+$url = $vars['url'] . "pg/expages/index.php?type=";
?>
-<div id="elgg_horizontal_tabbed_nav">
+<div class="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 == '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