mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Improve connectors settings display
- Move settings templates to subfolder - Add accordion display to "General Theme Settings" in frio - Replace hand-written template with form field includes - Simplify sprintf(t()) structures
This commit is contained in:
parent
5640c42469
commit
c157e7ffa4
26 changed files with 136 additions and 94 deletions
22
view/templates/settings/features.tpl
Normal file
22
view/templates/settings/features.tpl
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
<h1>{{$title}}</h1>
|
||||
|
||||
|
||||
<form action="settings/features" method="post" autocomplete="off">
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||
|
||||
{{foreach $features as $f}}
|
||||
<h3 class="settings-heading"><a href="javascript:;">{{$f.0}}</a></h3>
|
||||
<div class="settings-content-block">
|
||||
|
||||
{{foreach $f.1 as $fcat}}
|
||||
{{include file="field_yesno.tpl" field=$fcat}}
|
||||
{{/foreach}}
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-features-submit" value="{{$submit|escape:'html'}}" />
|
||||
</div>
|
||||
</div>
|
||||
{{/foreach}}
|
||||
|
||||
</form>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue