]> git.mxchange.org Git - friendica.git/commitdiff
exp accounts info in diabook
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 28 Feb 2013 07:01:37 +0000 (08:01 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 28 Feb 2013 07:01:37 +0000 (08:01 +0100)
view/theme/diabook/admin_users.tpl
view/theme/diabook/smarty3/admin_users.tpl

index 609fd5ad2a76a36b4ad848597d2f5ae4b3c1c20b..b455a8c2ee81487619ae34732e0eeeba75aaab90 100644 (file)
@@ -69,7 +69,7 @@
                                                <td class='register_date'>$u.register_date</td>
                                                <td class='login_date'>$u.login_date</td>
                                                <td class='lastitem_date'>$u.lastitem_date</td>
-                                               <td class='login_date'>$u.page_flags</td>
+                                               <td class='login_date'>$u.page_flags {{ if $u.is_admin }}($siteadmin){{ endif }} {{ if $u.account_expired }}($accountexpired){{ endif }}</td>
                                                <td class="checkbox"><input type="checkbox" class="users_ckbx" id="id_user_$u.uid" name="user[]" value="$u.uid"/></td>
                                                <td class="tools" style="width:60px;">
                                                        <a href="$baseurl/admin/users/block/$u.uid?t=$form_security_token" title='{{ if $u.blocked }}$unblock{{ else }}$block{{ endif }}'><span class='icon block {{ if $u.blocked==0 }}dim{{ endif }}'></span></a>
index f870e0e7712617a94c85ef403bdc32744e12d7ce..8127944a33480598d7bb4cc886a5d9c73c8eb5c9 100644 (file)
@@ -74,7 +74,7 @@
                                                <td class='register_date'>{{$u.register_date}}</td>
                                                <td class='login_date'>{{$u.login_date}}</td>
                                                <td class='lastitem_date'>{{$u.lastitem_date}}</td>
-                                               <td class='login_date'>{{$u.page_flags}}</td>
+                                               <td class='login_date'>{{$u.page_flags}} {{if $u.is_admin}}({{$siteadmin}}){{/if}} {{if $u.account_expired}}({{$accountexpired}}){{/if}}</td>
                                                <td class="checkbox"><input type="checkbox" class="users_ckbx" id="id_user_{{$u.uid}}" name="user[]" value="{{$u.uid}}"/></td>
                                                <td class="tools" style="width:60px;">
                                                        <a href="{{$baseurl}}/admin/users/block/{{$u.uid}}?t={{$form_security_token}}" title='{{if $u.blocked}}{{$unblock}}{{else}}{{$block}}{{/if}}'><span class='icon block {{if $u.blocked==0}}dim{{/if}}'></span></a>