diff --git a/css/style.css b/css/style.css
index 7501c69..a99a67b 100644
--- a/css/style.css
+++ b/css/style.css
@@ -99,6 +99,10 @@ body.dns {
text-indent:-9999px;
width:575px;
}
+.profile-info {
+ display:block;
+ text-align:right;
+}
#menu {
position:absolute;
bottom:35px;
@@ -566,6 +570,7 @@ img {
display:block;
}
+.list-group,
.panel {
margin-bottom: 1.5em;
}
diff --git a/inside/Navigation.php b/inside/Navigation.php
index beddbcd..595a251 100644
--- a/inside/Navigation.php
+++ b/inside/Navigation.php
@@ -10,21 +10,6 @@ class Navigation {
Hjem
-
-
-
+
+page) || checkResponsible()){
@@ -595,44 +611,6 @@ class Page {
-
-
-
-
Ny i DNS?
-
-
Har du lyst til å være med å vår egen lille fadderhelg 9.-11. september? Bli kjent med Det Norske Studentersamfund og vi som holder til der! Se ny i dns!
-
-
-
Bli aktiv!
-
Syns du noe av det vi holder på med er spennende? Lyst til å booke band eller lære å mikse drinker? Bli med oss som aktiv i en av de mange foreningene på huset, du får garantert minner for livet og nye venner!
Se bli aktiv!
-
-
-
-
-
diff --git a/inside/functions.php b/inside/functions.php
index 4182837..bb014a4 100644
--- a/inside/functions.php
+++ b/inside/functions.php
@@ -1663,4 +1663,29 @@ function site_root() {
return $url;
}
+/**
+ * Get either a Gravatar URL or complete image tag for a specified email address.
+ *
+ * @param string $email The email address
+ * @param string $s Size in pixels, defaults to 80px [ 1 - 2048 ]
+ * @param string $d Default imageset to use [ 404 | mm | identicon | monsterid | wavatar ]
+ * @param string $r Maximum rating (inclusive) [ g | pg | r | x ]
+ * @param boole $img True to return a complete IMG tag False for just the URL
+ * @param array $atts Optional, additional key/value attributes to include in the IMG tag
+ * @return String containing either just a URL or a complete image tag
+ * @source http://gravatar.com/site/implement/images/php/
+ */
+function get_gravatar( $email, $s = 80, $d = 'mm', $r = 'g', $img = false, $atts = array() ) {
+ $url = 'http://www.gravatar.com/avatar/';
+ $url .= md5( strtolower( trim( $email ) ) );
+ $url .= "?s=$s&d=$d&r=$r";
+ if ( $img ) {
+ $url = '
$val )
+ $url .= ' ' . $key . '="' . $val . '"';
+ $url .= ' />';
+ }
+ return $url;
+}
+
?>