Move admin/logs to src/Module

This commit is contained in:
Hypolite Petovan 2019-04-25 22:55:05 -04:00
parent 740723534f
commit df947ba9db
7 changed files with 134 additions and 147 deletions

View 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>

View 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>