friendica/view/theme/frio/templates/auto_request.tpl

45 lines
1.2 KiB
Smarty
Raw Normal View History

<div class="generic-page-wrapper contact-follow-wrapper">
<h2>{{$header}}</h2>
2018-12-11 23:25:33 +01:00
2020-02-09 18:04:35 +01:00
{{if !$myaddr}}
<p id="dfrn-request-intro">
{{$page_desc nofilter}}
</p>
<p>
{{$invite_desc nofilter}}
</p>
2020-02-09 18:04:35 +01:00
{{/if}}
<form action="{{$action}}" method="post">
2020-02-09 18:04:35 +01:00
{{if $url}}
<dl>
<dt>{{$url_label}}</dt>
<dd><a target="blank" href="{{$zrl}}">{{$url}}</a></dd>
</dl>
2020-02-09 18:04:35 +01:00
{{/if}}
{{if $keywords}}
<dl>
<dt>{{$keywords_label}}</dt>
<dd>{{$keywords}}</dd>
</dl>
2020-02-09 18:04:35 +01:00
{{/if}}
<div id="dfrn-request-url-wrapper">
<label id="dfrn-url-label" for="dfrn-url">{{$your_address}}</label>
{{if $myaddr}}
{{$myaddr}}
<input type="hidden" name="dfrn_url" id="dfrn-url" value="{{$myaddr}}" />
{{else}}
<input type="text" name="dfrn_url" id="dfrn-url" size="32" value="{{$myaddr}}">
{{/if}}
<input type="hidden" name="url" id="url" value="{{$url}}">
<div id="dfrn-request-url-end"></div>
</div>
2018-12-11 23:25:33 +01:00
<div id="dfrn-request-submit-wrapper">
{{if $submit}}
<input class="btn btn-primary" type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit}}">
{{/if}}
<input class="btn btn-default" type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel}}">
</div>
</form>
</div>