mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
update addons to support Smarty3
This commit is contained in:
parent
66334ec5cb
commit
3da6f1471c
62 changed files with 778 additions and 468 deletions
3
remote_permissions/view/admin.tpl
Normal file
3
remote_permissions/view/admin.tpl
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{ inc $field_radio with $field=$global }}{{ endinc }}
|
||||
{{ inc $field_radio with $field=$individual }}{{ endinc }}
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
8
remote_permissions/view/settings.tpl
Normal file
8
remote_permissions/view/settings.tpl
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="settings-block">
|
||||
<h3>$remote_perms_title</h3>
|
||||
<div id="remote-perms-wrapper">
|
||||
<label id="remote-perms-label" for="remote-perms">$remote_perms_label</label>
|
||||
<input id="remote-perms-input" type="checkbox" name="remote-perms" value="1" $checked />
|
||||
</div><div class="clear"></div>
|
||||
<div class="settings-submit-wrapper" ><input type="submit" name="remote-perms-submit" class="settings-submit" value="$submit" /></div></div>
|
||||
|
3
remote_permissions/view/smarty3/admin.tpl
Normal file
3
remote_permissions/view/smarty3/admin.tpl
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{include file="field_radio.tpl" field=$global}}
|
||||
{{include file="field_radio.tpl" field=$individual}}
|
||||
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
|
8
remote_permissions/view/smarty3/settings.tpl
Normal file
8
remote_permissions/view/smarty3/settings.tpl
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="settings-block">
|
||||
<h3>{{$remote_perms_title}}</h3>
|
||||
<div id="remote-perms-wrapper">
|
||||
<label id="remote-perms-label" for="remote-perms">{{$remote_perms_label}}</label>
|
||||
<input id="remote-perms-input" type="checkbox" name="remote-perms" value="1" {{$checked}} />
|
||||
</div><div class="clear"></div>
|
||||
<div class="settings-submit-wrapper" ><input type="submit" name="remote-perms-submit" class="settings-submit" value="{{$submit}}" /></div></div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue