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.
 
 
 
 
 
 

41 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") { reigster=""; elm.hide();} else { elm.show(); }
  8. elm.html(register);
  9. });
  10. });
  11. </script>
  12. <h4><a href="$admurl">Admin</a></h4>
  13. <ul class='admin linklist'>
  14. <li class='admin link button $admin.site.2'><a href='$admin.site.0'>$admin.site.1</a></li>
  15. <li class='admin link button $admin.users.2'><a href='$admin.users.0'>$admin.users.1</a><span id='pending-update' title='$h_pending'></span></li>
  16. <li class='admin link button $admin.plugins.2'><a href='$admin.plugins.0'>$admin.plugins.1</a></li>
  17. <li class='admin link button $admin.themes.2'><a href='$admin.themes.0'>$admin.themes.1</a></li>
  18. <li class='admin link button $admin.dbsync.2'><a href='$admin.dbsync.0'>$admin.dbsync.1</a></li>
  19. </ul>
  20. <ul class='admin linklist'>
  21. <li class='admin link button $admin.update.2'><a href='$admin.update.0'>$admin.update.1</a></li>
  22. <li class='admin link button $admin.update.2'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li>
  23. </ul>
  24. {{ if $admin.plugins_admin }}<h4>Plugins</h4>{{ endif }}
  25. <ul class='admin linklist'>
  26. {{ for $admin.plugins_admin as $l }}
  27. <li class='admin link button $l.2'><a href='$l.0'>$l.1</a></li>
  28. {{ endfor }}
  29. </ul>
  30. <h4>Logs</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>