File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -95,10 +95,12 @@ require('./header.inc.phtml'); ?>
95
95
<th scope="row" class="align-middle text-right">Date created</th>
96
96
<td><time datetime="<?= $ user_created_dt ->format ('c ' )?> "><?= $ user_created_dt ->format ('D M j, Y ' )?> </time></td>
97
97
</tr>
98
+ <? if ($ active_user && $ active_user ->isStaff ()) { ?>
98
99
<tr class="text-<?= ($ user ->isVerified () ? 'info ' : 'danger ' )?> ">
99
100
<th scope="row" class="align-middle text-right">Date verified</th>
100
101
<td><?= ($ user ->isVerified () ? '<time datetime=" ' . $ user_verified_dt ->format ('c ' ) . '"> ' . $ user_verified_dt ->format ('D M j, Y ' ) . '</time> ' : '<em>(not verified)</em> ' )?> </td>
101
102
</tr>
103
+ <? } ?>
102
104
<tr class="text-muted"><th scope="row" class="align-middle text-right">Member for</th><td><?= $ user_est?> </td></tr>
103
105
<tr class="text-muted"><th scope="row" class="align-middle text-right">Documents authored</th><td><?= number_format ($ sum_documents )?> </td></tr>
104
106
<tr class="text-muted"><th scope="row" class="align-middle text-right">News posted</th><td><?= number_format ($ sum_news_posts )?> </td></tr>
You can’t perform that action at this time.
0 commit comments