]> git.mxchange.org Git - friendica.git/commitdiff
added PHP logging hint fields to the template
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 27 Dec 2015 07:21:14 +0000 (08:21 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 15 Jan 2016 17:19:21 +0000 (18:19 +0100)
view/templates/admin_logs.tpl

index 4cc0acb66c346d1d5cb373ef05439c4fc527b0f1..e79c7d7af726ce7b52388c4ba7f4f35b2065de2d 100644 (file)
@@ -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>