mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Move admin/logs to src/Module
This commit is contained in:
parent
740723534f
commit
df947ba9db
7 changed files with 134 additions and 147 deletions
22
view/templates/admin/logs/settings.tpl
Normal file
22
view/templates/admin/logs/settings.tpl
Normal file
|
@ -0,0 +1,22 @@
|
|||
<div id='adminpage'>
|
||||
<h1>{{$title}} - {{$page}}</h1>
|
||||
|
||||
<form action="{{$baseurl}}/admin/logs/settings" method="post">
|
||||
<input type='hidden' name='form_security_token' value="{{$form_security_token}}">
|
||||
|
||||
{{include file="field_checkbox.tpl" field=$debugging}}
|
||||
{{include file="field_input.tpl" field=$logfile}}
|
||||
{{include file="field_select.tpl" field=$loglevel}}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_logs" value="{{$submit}}" /></div>
|
||||
|
||||
</form>
|
||||
|
||||
<h2>{{$phpheader}}</h2>
|
||||
<div>
|
||||
<p>{{$phplogenabled}}<p>
|
||||
<p>{{$phphint}}</p>
|
||||
<pre>{{$phplogcode}}</pre>
|
||||
</div>
|
||||
|
||||
</div>
|
6
view/templates/admin/logs/view.tpl
Normal file
6
view/templates/admin/logs/view.tpl
Normal file
|
@ -0,0 +1,6 @@
|
|||
<div id="adminpage">
|
||||
<h1>{{$title}} - {{$page}}</h1>
|
||||
|
||||
<h3>{{$logname}}</h3>
|
||||
<div style="width:100%; height:400px; overflow: auto; "><pre>{{$data}}</pre></div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue