aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/serve.js')
-rw-r--r--lib/serve.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js
index 00c2968..31a07cf 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -1075,6 +1075,16 @@ Serve.prototype.wrapUserFeed = function (isScrolled, id) {
h('a', {href: render.toUrl('/contacts/' + id)}, 'contacts')
)
),
+ h('tr',
+ h('td'),
+ h('td',
+ h('form', {action: render.toUrl('/advsearch'), method: 'get'},
+ h('input', {type: 'hidden', name: 'source', value: id}),
+ h('input', {type: 'text', name: 'text', placeholder: 'text'}),
+ h('input', {type: 'submit', value: 'search'})
+ )
+ )
+ ),
isScrolled ? '' : [
id === myId ? '' : h('tr',
h('td'),