diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-26 21:08:18 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-26 21:08:18 +0000 |
commit | 585a1ba974329a2915fefeb67f62740f0cd0613e (patch) | |
tree | f33603bd0a187722d9fb83d3055f7e00bfd60a03 /mod/riverdashboard/index.php | |
parent | 840b0d624556fcdab1372b99ad59bf18a5bd35eb (diff) | |
download | elgg-585a1ba974329a2915fefeb67f62740f0cd0613e.tar.gz elgg-585a1ba974329a2915fefeb67f62740f0cd0613e.tar.bz2 |
Graceful degrading for non-JS users on the dropdown login box.
git-svn-id: http://code.elgg.org/elgg/trunk@5887 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard/index.php')
-rw-r--r-- | mod/riverdashboard/index.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/riverdashboard/index.php b/mod/riverdashboard/index.php index 758aa4018..371845213 100644 --- a/mod/riverdashboard/index.php +++ b/mod/riverdashboard/index.php @@ -7,25 +7,25 @@ require_once(dirname(dirname(dirname(__FILE__))) . '/engine/start.php'); gatekeeper(); - + $type = get_input('type'); $subtype = get_input('subtype'); $orient = get_input('display'); if(!$orient) $orient = 'all'; $callback = get_input('callback'); - + if ($type == 'all') { $type = ''; $subtype = ''; } $body = ''; - + switch($orient) { case 'mine': $subject_guid = $_SESSION['user']->guid; - $relationship_type = ''; + $relationship_type = ''; $title_wording = elgg_echo('river:mine'); break; case 'friends': $subject_guid = $_SESSION['user']->guid; @@ -49,7 +49,7 @@ else // Replacing callback calls in the nav with something meaningless $river = str_replace('callback=true','replaced=88,334',$river); - + $nav = elgg_view('riverdashboard/nav',array('type' => $type,'subtype' => $subtype,'orient' => $orient)); if(isloggedin()){ $sidebar = elgg_view("riverdashboard/menu",array('type' => $type,'subtype' => $subtype,'orient' => $orient)); |