mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 03:25:15 +02:00
Merge remote-tracking branch 'upstream/2021.06-rc' into issue-10386
This commit is contained in:
commit
bc58cb9b94
93 changed files with 3085 additions and 1125 deletions
File diff suppressed because it is too large
Load diff
|
@ -127,13 +127,22 @@
|
|||
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}"/></div>
|
||||
|
||||
<h2>{{$relay_title}}</h2>
|
||||
{{include file="field_checkbox.tpl" field=$relay_subscribe}}
|
||||
{{include file="field_input.tpl" field=$relay_server}}
|
||||
{{include file="field_checkbox.tpl" field=$relay_directly}}
|
||||
{{if $relay_list}}
|
||||
<p>{{$relay_list_title}}</p>
|
||||
<ul id="relay-list">
|
||||
{{foreach $relay_list as $relay}}
|
||||
<li>{{$relay.url}}</li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
{{else}}
|
||||
<p>{{$no_relay_list}}</p>
|
||||
{{/if}}
|
||||
<p>{{$relay_description}}</p>
|
||||
{{include file="field_select.tpl" field=$relay_scope}}
|
||||
{{include file="field_input.tpl" field=$relay_server_tags}}
|
||||
{{include file="field_input.tpl" field=$relay_deny_tags}}
|
||||
{{include file="field_checkbox.tpl" field=$relay_user_tags}}
|
||||
{{include file="field_checkbox.tpl" field=$relay_directly}}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="{{$submit}}"/></div>
|
||||
|
||||
|
|
31
view/templates/structure.tpl
Normal file
31
view/templates/structure.tpl
Normal file
|
@ -0,0 +1,31 @@
|
|||
Table {{$name nofilter}}
|
||||
===========
|
||||
|
||||
{{$comment nofilter}}
|
||||
|
||||
Fields
|
||||
------
|
||||
|
||||
{{foreach $fields as $field}}
|
||||
| {{$field.name nofilter}} | {{$field.comment nofilter}} | {{$field.type nofilter}} | {{$field.null nofilter}} | {{$field.primary nofilter}} | {{$field.default nofilter}} | {{$field.extra nofilter}} |
|
||||
{{/foreach}}
|
||||
|
||||
Indexes
|
||||
------------
|
||||
|
||||
{{foreach $indexes as $index}}
|
||||
| {{$index.name nofilter}} | {{$index.fields nofilter}} |
|
||||
{{/foreach}}
|
||||
|
||||
{{if $foreign}}
|
||||
Foreign Keys
|
||||
------------
|
||||
|
||||
| Field | Target Table | Target Field |
|
||||
|-------|--------------|--------------|
|
||||
{{foreach $foreign as $key}}
|
||||
| {{$key.field nofilter}} | [{{$key.targettable nofilter}}](help/database/db_{{$key.targettable nofilter}}) | {{$key.targetfield nofilter}} |
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
|
||||
Return to [database documentation](help/database)
|
10
view/templates/tables.tpl
Normal file
10
view/templates/tables.tpl
Normal file
|
@ -0,0 +1,10 @@
|
|||
Database Tables
|
||||
===============
|
||||
|
||||
* [Home](help)
|
||||
|
||||
| Table | Description |
|
||||
|-------|-------------|
|
||||
{{foreach $tables as $table}}
|
||||
| [{{$table.name nofilter}}](help/database/db_{{$table.name nofilter}}) | {{$table.comment nofilter}} |
|
||||
{{/foreach}}
|
|
@ -297,13 +297,22 @@
|
|||
</div>
|
||||
<div id="admin-settings-relay-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="admin-settings-relay">
|
||||
<div class="panel-body">
|
||||
{{include file="field_checkbox.tpl" field=$relay_subscribe}}
|
||||
{{include file="field_input.tpl" field=$relay_server}}
|
||||
{{include file="field_checkbox.tpl" field=$relay_directly}}
|
||||
{{if $relay_list}}
|
||||
<p>{{$relay_list_title}}</p>
|
||||
<ul id="relay-list">
|
||||
{{foreach $relay_list as $relay}}
|
||||
<li>{{$relay.url}}</li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
{{else}}
|
||||
<p>{{$no_relay_list}}</p>
|
||||
{{/if}}
|
||||
<p>{{$relay_description}}</p>
|
||||
{{include file="field_select.tpl" field=$relay_scope}}
|
||||
{{include file="field_input.tpl" field=$relay_server_tags}}
|
||||
{{include file="field_input.tpl" field=$relay_deny_tags}}
|
||||
{{include file="field_checkbox.tpl" field=$relay_user_tags}}
|
||||
{{include file="field_checkbox.tpl" field=$relay_directly}}
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<input type="submit" name="page_site" class="btn btn-primary" value="{{$submit}}"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue