added feedback
This commit is contained in:
parent
28d6441d69
commit
9123361d61
4 changed files with 71 additions and 67 deletions
|
@ -130,7 +130,7 @@ class User
|
|||
}
|
||||
|
||||
/**
|
||||
* Get a user based on it's email
|
||||
* Get a user based on its email
|
||||
*
|
||||
* @param string $email
|
||||
* @param array $fields
|
||||
|
|
|
@ -76,7 +76,7 @@ class Friendica extends BaseModule
|
|||
'<strong>' . FRIENDICA_VERSION . '</strong>',
|
||||
$app->getBaseURL(),
|
||||
'<strong>' . DB_UPDATE_VERSION . '</strong>',
|
||||
'<strong>' . $config->get("system", "post_update_version") . '</strong>'),
|
||||
'<strong>' . $config->get('system', 'post_update_version') . '</strong>'),
|
||||
'friendica' => L10n::t('Please visit <a href="https://friendi.ca">Friendi.ca</a> to learn more about the Friendica project.'),
|
||||
'bugs' => L10n::t('Bug reports and issues: please visit') . ' ' . '<a href="https://github.com/friendica/friendica/issues?state=open">' . L10n::t('the bugtracker at github') . '</a>',
|
||||
'info' => L10n::t('Suggestions, praise, etc. - please email "info" at "friendi - dot - ca'),
|
||||
|
|
|
@ -1,30 +1,32 @@
|
|||
<h2>Feed Test</h2>
|
||||
<form action="feedtest" method="get" class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="form-group">
|
||||
{{include file="field_input.tpl" field=$url}}
|
||||
<div id="feedtest" class="widget">
|
||||
<h2>Feed Test</h2>
|
||||
<form action="feedtest" method="get" class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="form-group">
|
||||
{{include file="field_input.tpl" field=$url}}
|
||||
</div>
|
||||
<p><button type="submit" class="btn btn-primary">Submit</button></p>
|
||||
</div>
|
||||
<p><button type="submit" class="btn btn-primary">Submit</button></p>
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
|
||||
{{if $result}}
|
||||
<div class="feedtest-result">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Output Items</h3>
|
||||
{{if $result}}
|
||||
<div class="feedtest-result">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Output Items</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<pre>{{$result.output}}</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<pre>{{$result.output}}</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Input Feed XML</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{{$result.input}}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Input Feed XML</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{{$result.input}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
|
@ -1,45 +1,47 @@
|
|||
<h1>Friendica</h1>
|
||||
<br>
|
||||
<p>{{$about nofilter}}</p>
|
||||
<br>
|
||||
<p>{{$friendica nofilter}}</p>
|
||||
<br>
|
||||
<p>{{$bugs nofilter}}</p>
|
||||
<br>
|
||||
<p>{{$info nofilter}}</p>
|
||||
<br>
|
||||
|
||||
<p>{{$visible_addons.title nofilter}}</p>
|
||||
{{if $visible_addons.list}}
|
||||
<div style="margin-left: 25px; margin-right: 25px; margin-bottom: 25px;">{{$visible_addons.list nofilter}}</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $tos}}
|
||||
<p>{{$tos nofilter}}</p>
|
||||
{{/if}}
|
||||
|
||||
{{if $block_list}}
|
||||
<div id="about_blocklist">
|
||||
<p>{{$block_list.title nofilter}}</p>
|
||||
<div id="friendica" class="widget">
|
||||
<h1>Friendica</h1>
|
||||
<br>
|
||||
<p>{{$about nofilter}}</p>
|
||||
<br>
|
||||
<p>{{$friendica nofilter}}</p>
|
||||
<br>
|
||||
<p>{{$bugs nofilter}}</p>
|
||||
<br>
|
||||
<p>{{$info nofilter}}</p>
|
||||
<br>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{$block_list.header[0] nofilter}}</th>
|
||||
<th>{{$block_list.header[1] nofilter}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{foreach $block_list.list as $blocked}}
|
||||
<tr>
|
||||
<td>{{$blocked.domain nofilter}}</td>
|
||||
<td>{{$blocked.reason nofilter}}</td>
|
||||
</tr>
|
||||
{{/foreach}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{{/if}}
|
||||
<p>{{$visible_addons.title nofilter}}</p>
|
||||
{{if $visible_addons.list}}
|
||||
<div style="margin-left: 25px; margin-right: 25px; margin-bottom: 25px;">{{$visible_addons.list nofilter}}</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $tos}}
|
||||
<p>{{$tos nofilter}}</p>
|
||||
{{/if}}
|
||||
|
||||
{{if $block_list}}
|
||||
<div id="about_blocklist">
|
||||
<p>{{$block_list.title nofilter}}</p>
|
||||
<br>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{$block_list.header[0] nofilter}}</th>
|
||||
<th>{{$block_list.header[1] nofilter}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{foreach $block_list.list as $blocked}}
|
||||
<tr>
|
||||
<td>{{$blocked.domain nofilter}}</td>
|
||||
<td>{{$blocked.reason nofilter}}</td>
|
||||
</tr>
|
||||
{{/foreach}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{{/if}}
|
||||
|
||||
{{$hooked nofilter}}
|
||||
</div>
|
Loading…
Reference in a new issue