Browse Source

added PHP logging hint fields to the template

pull/2255/head
Tobias Diekershoff 7 years ago
parent
commit
ddb17d36a2
  1. 22
      view/templates/admin_logs.tpl

22
view/templates/admin_logs.tpl

@ -1,19 +1,21 @@
<div id='adminpage'>
<h1>{{$title}} - {{$page}}</h1>
<h1>{{$title}} - {{$page}}</h1>
<form action="{{$baseurl}}/admin/logs" method="post">
<input type='hidden' name='form_security_token' value="{{$form_security_token|escape:'html'}}">
<input type='hidden' name='form_security_token' value="{{$form_security_token|escape:'html'}}">
{{include file="field_checkbox.tpl" field=$debugging}}
{{include file="field_input.tpl" field=$logfile}}
{{include file="field_select.tpl" field=$loglevel}}
{{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|escape:'html'}}" /></div>
<div class="submit"><input type="submit" name="page_logs" value="{{$submit|escape:'html'}}" /></div>
</form>
<h2>{{$phpheader}}</h2>
<div>
<p>{{$phphint}}</p>
<pre>{{$phplogcode}}</pre>
</div>
<h3>{{$logname}}</h3>
<div style="width:100%; height:400px; overflow: auto; "><pre>{{$data}}</pre></div>
<!-- <iframe src='{{$baseurl}}/{{$logname}}' style="width:100%; height:400px"></iframe> -->
<!-- <div class="submit"><input type="submit" name="page_logs_clear_log" value="{{$clear}}" /></div> -->
</div>

Loading…
Cancel
Save