friendica-addons/statusnet/view/admin.tpl

17 lines
510 B
Smarty
Executable File

{{ for $sites as $s }}
{{ inc $field_input with $field=$s.sitename }}{{ endinc }}
{{ inc $field_input with $field=$s.apiurl }}{{ endinc }}
{{ inc $field_input with $field=$s.secret }}{{ endinc }}
{{ inc $field_input with $field=$s.key }}{{ endinc }}
{{ if $s.delete }}
{{ inc $field_checkbox with $field=$s.delete }}{{ endinc }}
<hr>
{{ else }}
<p>Fill this form to add a new site</p>
{{ endif }}
{{ endfor }}
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>