diff options
author | Friendika <info@friendika.com> | 2011-06-16 15:29:04 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-16 15:29:04 -0700 |
commit | bb73c0b9f307accaa284820aaa11852c8481682f (patch) | |
tree | cc192702c535f5a477e72cd873ecf4f80c4568dc /view/admin_aside.tpl | |
parent | 0f3292fefb96016ad98b8f25746824d9e3cff31e (diff) | |
parent | 6709beb2ac776bb06bd0d9d7749faac9a065863c (diff) | |
download | volse-hubzilla-bb73c0b9f307accaa284820aaa11852c8481682f.tar.gz volse-hubzilla-bb73c0b9f307accaa284820aaa11852c8481682f.tar.bz2 volse-hubzilla-bb73c0b9f307accaa284820aaa11852c8481682f.zip |
Merge branch 'pull'
Diffstat (limited to 'view/admin_aside.tpl')
-rw-r--r-- | view/admin_aside.tpl | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/view/admin_aside.tpl b/view/admin_aside.tpl new file mode 100644 index 000000000..ade0c473b --- /dev/null +++ b/view/admin_aside.tpl @@ -0,0 +1,33 @@ +<script> + // update pending count // + $(function(){ + + $("nav").bind('nav-update', function(e,data){ + var elm = $('#pending-update'); + var register = $(data).find('register').text(); + if (register=="0") { reigster=""; elm.hide();} else { elm.show(); } + elm.html(register); + console.log(elm, data, register); + }); + }); +</script> +<h4><a href="$admurl">Admin</a></h4> +<ul> + <li class='admin link $admin.site.2'><a href='$admin.site.0'>$admin.site.1</a></li> + <li class='admin link $admin.users.2'><a href='$admin.users.0'>$admin.users.1</a><span id='pending-update' title='$h_pending'></span></li> + <li class='admin link $admin.plugins.2'><a href='$admin.plugins.0'>$admin.plugins.1</a></li> +</ul> + + +{{ if $admin.plugins_admin }}<h4>Plugins</h4>{{ endif }} +<ul> + {{ for $admin.plugins_admin as $l }} + <li class='admin link $l.2'><a href='$l.0'>$l.1</a></li> + {{ endfor }} +</ul> + + +<h4>Logs</h4> +<ul> + <li class='admin link $admin.logs.2'><a href='$admin.logs.0'>$admin.logs.1</a></li> +</ul> |