aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-12 10:11:52 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-12 10:11:52 +0000
commit4c7837dafcf4b1c68c011f178315f38285aa0030 (patch)
tree2641ad0ddfbf134d8ebac031cd719b9207382c69 /mod
parent12c2361b2bf7eb15f79bcfa288da8d3a253c07fc (diff)
downloadelgg-4c7837dafcf4b1c68c011f178315f38285aa0030.tar.gz
elgg-4c7837dafcf4b1c68c011f178315f38285aa0030.tar.bz2
Removed unneeded div from around submenu lists.
git-svn-id: http://code.elgg.org/elgg/trunk@5373 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/blog/views/default/blog/sidebar_menu.php4
-rw-r--r--mod/groups/views/default/groups/side_menu.php4
-rw-r--r--mod/members/index.php5
-rw-r--r--mod/profile/views/default/profile/submenu.php2
-rw-r--r--mod/riverdashboard/views/default/riverdashboard/menu.php4
5 files changed, 9 insertions, 10 deletions
diff --git a/mod/blog/views/default/blog/sidebar_menu.php b/mod/blog/views/default/blog/sidebar_menu.php
index 74d69356b..1a6124dbd 100644
--- a/mod/blog/views/default/blog/sidebar_menu.php
+++ b/mod/blog/views/default/blog/sidebar_menu.php
@@ -37,6 +37,6 @@ if ($loggedin_user) {
?>
-<ul>
-<li>Drafts</li>
+<ul class="submenu">
+ <li><a href="">Drafts</a></li>
</ul> \ No newline at end of file
diff --git a/mod/groups/views/default/groups/side_menu.php b/mod/groups/views/default/groups/side_menu.php
index 67cea1634..a86cd8adb 100644
--- a/mod/groups/views/default/groups/side_menu.php
+++ b/mod/groups/views/default/groups/side_menu.php
@@ -1,8 +1,8 @@
-<div class="submenu page_navigation"><ul>
+<ul class="submenu page_navigation">
<?php
if(isloggedin()){
echo "<li><a href=\"{$vars['url']}pg/groups/member/{$_SESSION['user']->username}\">". elgg_echo('groups:yours') ."</a></li>";
echo "<li><a href=\"{$vars['url']}pg/groups/invitations/{$_SESSION['user']->username}\">". elgg_echo('groups:invitations') ."</a></li>";
}
?>
-</ul></div> \ No newline at end of file
+</ul> \ No newline at end of file
diff --git a/mod/members/index.php b/mod/members/index.php
index 6df2ceeb1..2962f7768 100644
--- a/mod/members/index.php
+++ b/mod/members/index.php
@@ -27,11 +27,10 @@ $filter = get_input("filter", "newest");
$tag = get_input('tag');
// friends links
-$area1 = "<div class='submenu page_navigation'>";
-$area1 .= "<ul><li><a href=\"" . $CONFIG->wwwroot."pg/friends/" . page_owner_entity()->username . "\">". elgg_echo('friends') . "</a></li>";
+$area1 = "<ul class='submenu page_navigation'><li><a href=\"" . $CONFIG->wwwroot."pg/friends/" . page_owner_entity()->username . "\">". elgg_echo('friends') . "</a></li>";
$area1 .= "<li><a href=\"" . $CONFIG->wwwroot."pg/friendsof/" . page_owner_entity()->username . "\">". elgg_echo('friends:of') . "</a></li>";
$area1 .= "<li class='selected'><a href=\"" . $CONFIG->wwwroot."mod/members/index.php\">". elgg_echo('members:browse') . "</a></li>";
-$area1 .= "</ul></div>";
+$area1 .= "</ul>";
//search members
$area1 .= elgg_view("members/search");
diff --git a/mod/profile/views/default/profile/submenu.php b/mod/profile/views/default/profile/submenu.php
index 906200a00..682b910c2 100644
--- a/mod/profile/views/default/profile/submenu.php
+++ b/mod/profile/views/default/profile/submenu.php
@@ -15,7 +15,7 @@
?>
-<ul>
+<ul class="submenu profilelinks">
<li><a href="<?php echo $CONFIG->wwwroot . "mod/profile/edit.php"; ?>"><?php echo elgg_echo('profile:details'); ?></a></li>
<li><a href="<?php echo $CONFIG->wwwroot."mod/profile/editicon.php"; ?>"><?php echo elgg_echo('profile:editicon'); ?></a></li>
<li><a href="<?php echo $CONFIG->wwwroot."pg/profile/" . $_SESSION['user']->username; ?>"><?php echo elgg_echo('profile:back'); ?></a></li>
diff --git a/mod/riverdashboard/views/default/riverdashboard/menu.php b/mod/riverdashboard/views/default/riverdashboard/menu.php
index 8a8964384..bfb0f4172 100644
--- a/mod/riverdashboard/views/default/riverdashboard/menu.php
+++ b/mod/riverdashboard/views/default/riverdashboard/menu.php
@@ -14,7 +14,7 @@ switch($vars['orient']) {
break;
}
?>
-<div class="submenu"><ul>
+<ul class="submenu riverdashboard">
<?php
if(isloggedin()){
?>
@@ -25,4 +25,4 @@ switch($vars['orient']) {
<?php
}
?>
-</ul></div> \ No newline at end of file
+</ul> \ No newline at end of file