]> git.mxchange.org Git - friendica.git/commitdiff
Adding serversettings table in template for non frio themes
authorJonny Tischbein <jonny_tischbein@systemli.org>
Thu, 27 Sep 2018 18:04:33 +0000 (20:04 +0200)
committerJonny Tischbein <jonny_tischbein@systemli.org>
Thu, 27 Sep 2018 18:04:33 +0000 (20:04 +0200)
view/templates/admin/summary.tpl

index 8929cfbecd391711ccc04815cac98cf49d35290a..202fd43b3e52ab065647f65d96a7b5eb6daec480 100644 (file)
                <dd> {{$platform}} '{{$codename}}' {{$version.1}} - {{$build}}</dt>
        </dl>
 
+       <dl>
+               <dt>{{$serversettings.label}}</dt>
+               <dd>
+                       <table>
+                               <tbody>
+                                       <tr><td colspan="2"><b>PHP</b></td></tr>
+                                       {{foreach $serversettings.php as $k => $p}}
+                                               <tr><td>{{$k}}</td><td>{{$p}}</td></tr>
+                                       {{/foreach}}
+                                       <tr><td colspan="2"><b>MySQL / MariaDB</b></td></tr>
+                                       {{foreach $serversettings.mysql as $k => $p}}
+                                               <tr><td>{{$k}}</td><td>{{$p}}</td></tr>
+                                       {{/foreach}}
+                               </tbody>
+                       </table>
+               </dd>
+       </dl>
 
 </div>