diff --git a/public/templates/accountedit.tpl b/public/templates/accountedit.tpl
index 3720df04cb..6d0e9a87c0 100644
--- a/public/templates/accountedit.tpl
+++ b/public/templates/accountedit.tpl
@@ -1,3 +1,7 @@
+
+
+
+
-
-
-
-
+
+
diff --git a/public/templates/accountposts.tpl b/public/templates/accountposts.tpl
index e2196327e8..f1348cbba0 100644
--- a/public/templates/accountposts.tpl
+++ b/public/templates/accountposts.tpl
@@ -1,7 +1,8 @@
-
-
+
+
[[topic:favourites.has_no_favourites]]
@@ -39,3 +40,6 @@
+
+
+
\ No newline at end of file
diff --git a/public/templates/accountsettings.tpl b/public/templates/accountsettings.tpl
index 377bd80e61..89ad7e803f 100644
--- a/public/templates/accountsettings.tpl
+++ b/public/templates/accountsettings.tpl
@@ -1,8 +1,8 @@
-
+
+
+
+
+
\ No newline at end of file
diff --git a/public/templates/favourites.tpl b/public/templates/favourites.tpl
index a0edf132ee..e5e267a6cd 100644
--- a/public/templates/favourites.tpl
+++ b/public/templates/favourites.tpl
@@ -1,7 +1,8 @@
-
-
+
+
[[topic:favourites.has_no_favourites]]
@@ -39,3 +40,6 @@
+
+
+
\ No newline at end of file
diff --git a/public/templates/followers.tpl b/public/templates/followers.tpl
index f56e92733b..8ae976c41d 100644
--- a/public/templates/followers.tpl
+++ b/public/templates/followers.tpl
@@ -1,9 +1,8 @@
-
-
-
+
diff --git a/public/templates/following.tpl b/public/templates/following.tpl
index 0f1e3b7acb..541e3543d3 100644
--- a/public/templates/following.tpl
+++ b/public/templates/following.tpl
@@ -1,9 +1,8 @@
-
-
-
+
diff --git a/src/routes/user.js b/src/routes/user.js
index 1a4dc674be..b6574d245c 100644
--- a/src/routes/user.js
+++ b/src/routes/user.js
@@ -311,6 +311,9 @@ var fs = require('fs'),
} else {
userData.showemail = "";
}
+
+ userData.theirid = uid;
+ userData.yourid = callerUID;
res.json(userData);
} else {
res.json(404, {
@@ -350,6 +353,8 @@ var fs = require('fs'),
return next(err);
}
+ userData.theirid = uid;
+ userData.yourid = callerUID;
userData.posts = favourites.posts;
userData.nextStart = favourites.nextStart;
@@ -386,6 +391,8 @@ var fs = require('fs'),
return next(err);
}
userData.uid = uid;
+ userData.theirid = uid;
+ userData.yourid = callerUID;
userData.posts = userPosts.posts;
userData.nextStart = userPosts.nextStart;