}
/**
- * Get a user based on it's email
+ * Get a user based on its email
*
* @param string $email
* @param array $fields
'<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'),
-<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>
-</form>
-
-{{if $result}}
-<div class="feedtest-result">
- <div class="panel panel-default">
- <div class="panel-heading">
- <h3 class="panel-title">Output Items</h3>
- </div>
+<div id="feedtest" class="widget">
+ <h2>Feed Test</h2>
+ <form action="feedtest" method="get" class="panel panel-default">
<div class="panel-body">
- <pre>{{$result.output}}</pre>
+ <div class="form-group">
+ {{include file="field_input.tpl" field=$url}}
+ </div>
+ <p><button type="submit" class="btn btn-primary">Submit</button></p>
</div>
- </div>
- <div class="panel panel-default">
- <div class="panel-heading">
- <h3 class="panel-title">Input Feed XML</h3>
+ </form>
+
+ {{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">
- {{$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}}
\ No newline at end of file
-<h1>Friendica</h1>
-<br>
-<p>{{$about nofilter}}</p>
-<br>
-<p>{{$friendica nofilter}}</p>
-<br>
-<p>{{$bugs nofilter}}</p>
-<br>
-<p>{{$info nofilter}}</p>
-<br>
+<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>
-<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}}
+ <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 $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 $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}}
+ {{/if}}
{{$hooked nofilter}}
+</div>
\ No newline at end of file