Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

47 lines
1.5 KiB

  1. <script>
  2. // update pending count //
  3. $(function(){
  4. $("nav").bind('nav-update', function(e,data){
  5. var elm = $('#pending-update');
  6. var register = $(data).find('register').text();
  7. if (register=="0") { register=""; elm.hide();} else { elm.show(); }
  8. elm.html(register);
  9. });
  10. });
  11. </script>
  12. <h4><a href="{{$admurl}}">{{$admtxt}}</a></h4>
  13. <ul class='admin linklist'>
  14. {{foreach $subpages as $page}}
  15. <li class='admin link button {{$page.2}}'><a href='{{$page.0}}'>{{$page.1}}</a></li>
  16. {{/foreach}}
  17. </ul>
  18. {{if $admin.update}}
  19. <ul class='admin linklist'>
  20. <li class='admin link button {{$admin.update.2}}'><a href='{{$admin.update.0}}'>{{$admin.update.1}}</a></li>
  21. <li class='admin link button {{$admin.update.2}}'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li>
  22. </ul>
  23. {{/if}}
  24. {{if $admin.plugins_admin}}<h4>{{$plugadmtxt}}</h4>{{/if}}
  25. <ul class='admin linklist'>
  26. {{foreach $admin.plugins_admin as $l}}
  27. <li class='admin link button {{$l.2}}'><a href='{{$l.0}}'>{{$l.1}}</a></li>
  28. {{/foreach}}
  29. </ul>
  30. <h4>{{$logtxt}}</h4>
  31. <ul class='admin linklist'>
  32. <li class='admin link button {{$admin.logs.2}}'><a href='{{$admin.logs.0}}'>{{$admin.logs.1}}</a></li>
  33. </ul>
  34. <h4>{{$diagnosticstxt}}</h4>
  35. <ul class='admin linklist'>
  36. <li class='admin link {{$admin.diagnostics_probe.2}}'><a href="{{$admin.diagnostics_probe.0}}">{{$admin.diagnostics_probe.1}}</a></li>
  37. <li class='admin link {{$admin.diagnostics_webfinger.2}}'><a href="{{$admin.diagnostics_webfinger.0}}">{{$admin.diagnostics_webfinger.1}}</a></li>
  38. </ul>