]> git.mxchange.org Git - friendica.git/commitdiff
Standards
authorfabrixxm <fabrix.xm@gmail.com>
Mon, 1 May 2017 16:25:56 +0000 (18:25 +0200)
committerfabrixxm <fabrix.xm@gmail.com>
Mon, 1 May 2017 16:25:56 +0000 (18:25 +0200)
view/theme/frio/templates/admin_aside.tpl

index 04efc258c8c58cd01344f5a60fb07f560df29beb..2ef95fa26ea82db396e2080e53916cd1a683546e 100644 (file)
@@ -1,10 +1,10 @@
 <script>
        // update pending count //
        $(function(){
-               $("nav").bind('nav-update',  function(e,data){
+               $("nav").bind('nav-update', function(e,data){
                        var elm = $('#pending-update');
                        var register = $(data).find('register').text();
-                       if (register=="0") { register=""; }
+                       if (register=="0") { register = ""; }
                        elm.html(register);
                });
        });
        <h3><a href="{{$admurl}}">{{$admtxt}}</a></h3>
 
        <ul role="menu">
-               {{foreach $subpages as $name=>$item}}
-                       <li role="menuitem" class="{{$item.2}}">
-                               <a href="{{$item.0}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}}>
-                                       {{$item.1}}
-                                       {{if $name=="users"}}
-                                        <span id="pending-update" class="badge pull-right"></span>
-                                       {{/if}}
-                               </a>
-                       </li>
+               {{foreach $subpages as $name => $item}}
+               <li role="menuitem" class="{{$item.2}}">
+                       <a href="{{$item.0}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}}>
+                               {{$item.1}}
+                               {{if $name == "users"}}
+                                <span id="pending-update" class="badge pull-right"></span>
+                               {{/if}}
+                       </a>
+               </li>
                {{/foreach}}
        </ul>
 
 <div class="widget">
        <h3>{{$plugadmtxt}}</h3>
        <ul role="menu">
-       {{foreach $admin.plugins_admin as $name=>$item}}
+               {{foreach $admin.plugins_admin as $name => $item}}
                <li role="menuitem" class="{{$item.2}}">
                        <a href="{{$item.0}}" {{if $item.accesskey}}accesskey="{{$item.accesskey}}"{{/if}}>
                                {{$item.1}}
                        </a>
                </li>
-       {{/foreach}}
+               {{/foreach}}
        </ul>
 </div>
 {{/if}}