<ahref="/search{% if jabber_id %}/jid/{{jabber_id}}{% endif %}">Search</a>
</dd>
<dd>
<ahref="/popular">Popular</a>
</dd>
<dd>
<ahref="/recent">Recent</a>
</dd>
<dd>
{% if jabber_id %}
<ahref="/disconnect">Disconnect</a>
{% else %}
<ahref="/connect">Connect</a>
{% endif %}
</dd>
</dl>
</div>
<divid="main"class="row">
<divid="content">
<h2> PubSub Bookmarks</h2>
<p>
» {{message}}
</p>
<h3>
{{description}}
</h3>
<h4>
Send a message to {{name}}
</h4>
<formaction="/message"
id="message"
method="post">
<inputid="jid"
type="hidden"
name="jid"
value="{{jid}}" />
<textareacols="70"
id="body"
name="body"
placeholder="Enter a message (required)."
rows="15">Greetings, {{name}}!
{% if ask %}
Please send to me your authorization to view your bookmarks.
{% elif invite %}
I want to invite you to join to Blasta, a social bookmarks service for XMPP.
You can use your own XMPP account to connect, and you can also run your own Blasta instance.
Source code: https://git.xmpp-it.net/sch/Blasta
Visit {{origin}}{% endif %}
Kind regards,
{{alias}}</textarea>
<br/>
<inputtype="submit"value="Send"/>
</form>
<p>
You can also communicate with {{name}}, directly from your
desktop or mobile client, by clicking on the Jabber ID
({{jid}}) of {{name}}.
</p>
<p>
Click the Jabber ID of {{name}} to
{% if ask %}
ask
<ahref="xmpp:{{jid}}?message;subject=This is a request for authorization;body=Greetings, {{name}}!%0D%0A%0D%0APlease send to me your authorization to view your bookmarks.">
{{jid}}</a>
to view this directory.
{% elif invite %}
invite
<ahref="xmpp:{{jid}}?message;subject=This is an invitation to Blasta;body=Greetings, {{name}}!%0D%0A%0D%0AI want to invite you to join to Blasta, a social bookmarks service for XMPP.%0D%0A%0D%0AYou can use your own XMPP account to connect, and you can also run your own Blasta instance.%0D%0A%0D%0ASource code: https://git.xmpp-it.net/sch/Blasta%0D%0A%0D%0AVisit {{origin}}%0D%0A%0D%0AKind regards,%0D%0A{{alias}}">