Skip to content
Snippets Groups Projects
Commit 8e48e67a authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

added css extended view for the globe

parent 5a3e544b
Branches
Tags
No related merge requests found
......@@ -29,8 +29,13 @@
add_menu(elgg_echo('Globe'), $CONFIG->wwwroot . "pg/globe/");
}
register_page_handler('globe', 'globe_page_handler');
// Extend system CSS with our own styles, which are defined in the thewire/css view
extend_view('css','globe/css');
register_page_handler('globe', 'globe_page_handler');
}
......
......@@ -20,9 +20,40 @@
<script type="text/javascript" src="<?php echo $CONFIG->url ?>mod/globe/views/default/globe/globecontrol.js"></script>
<div id="globeInner" style="opacity:1 !important; display: block !important;width:940px;height:705px;background-color:#000;"></div>
<div id="globeInner" style="opacity:1 !important; display: block !important;width:940px;height:505px;background-color:#000;"></div>
<div class="clear"></div>
<div id="plotMe">
<?php
if (isloggedin()) {
$me = get_user($_SESSION['user']->guid);
?>
<div class="member_icon">
<img src="<?php echo $_SESSION['user']->getIcon('small'); ?>" alt="Your Profile Icon" id="YourselfOnTheMap" onclick="window.openLocation(<?php echo "'" . $me->longitude . "','" . $me->latitude . "','" . $me->username . "',";
if($me->profile_country)
echo "'" . $me->profile_country . " - " . str_replace("'","\'",htmlentities($me->profile_city)) . ", " . $me->profile_state . "',";
else
echo "'',";
echo "'" . str_replace("'","\'",htmlentities($me->name)) . "',";
if($me->profile_attended_from != "Did Not Attend UNL" && $me->profile_attended_from != "" && $me->profile_attended_from != NULL)
echo "'Attended UNL: " . $me->profile_attended_from . "-" . $me->profile_attended_to . "'";
else
echo "''";
echo ",'". str_replace("'","\'",htmlentities($me->map_explanation))."'"?>)" />
</div>
<?php
}
?>
</div>
<div class="clear"></div>
<div id="plotMe"></div>
<div class="col left" id="plotFriends">
<h3 class="sec_header">Your Friends</h3>
</div>
......
#plotMe {
background:#eeeeee;
}
\ No newline at end of file
......@@ -77,7 +77,7 @@ WDN.jQuery(document).ready(function() {
map1.load();
}catch(e){}
WDN.jQuery('#globeInner').height(501);
//WDN.jQuery('#globeInner').height(501);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment