friendica-github/view/templates/auto_request.tpl

51 lines
1.2 KiB
Smarty
Raw Permalink Normal View History

2024-08-24 18:23:27 +00:00
{{*
* Copyright (C) 2010-2024, the Friendica project
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*}}
2013-04-23 11:47:57 +00:00
<h1>{{$header}}</h1>
2020-02-09 17:04:35 +00:00
{{if !$myaddr}}
<p id="dfrn-request-intro">
{{$page_desc nofilter}}
</p>
<p>
{{$invite_desc nofilter}}
</p>
{{/if}}
<form action="{{$action}}" method="post">
2020-02-09 17:04:35 +00:00
{{if $url}}
<dl>
<dt>{{$url_label}}</dt>
<dd><a target="blank" href="{{$zrl}}">{{$url}}</a></dd>
2020-02-09 17:04:35 +00:00
</dl>
{{/if}}
{{if $keywords}}
2020-02-09 17:04:35 +00:00
<dl>
<dt>{{$keywords_label}}</dt>
<dd>{{$keywords}}</dd>
</dl>
2020-02-09 17:04:35 +00:00
{{/if}}
2013-04-23 11:47:57 +00:00
<div id="dfrn-request-url-wrapper">
<label id="dfrn-url-label" for="dfrn-url">{{$your_address}}</label>
2020-02-09 17:04:35 +00:00
{{if $myaddr}}
{{$myaddr}}
<input type="hidden" name="dfrn_url" id="dfrn-url" value="{{$myaddr}}">
2020-02-09 17:04:35 +00:00
{{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>
2013-04-23 11:47:57 +00:00
<div id="dfrn-request-submit-wrapper">
{{if $submit}}
<input type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit}}">
{{/if}}
<input type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel}}">
2013-04-23 11:47:57 +00:00
</div>
</form>