mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
Remove all non Identity API methods from Identity.php. Created an MY_Session class to provide the user state changes in the session and a login.php helper that has the login form.
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
<span class="ui-icon ui-icon-pencil"></span><span class="g-button-text">
|
||||
<?= t("edit") ?>
|
||||
</span></a>
|
||||
<? if (Identity::active()->id != $user->id && !$user->guest): ?>
|
||||
<? if (Session::active_user()->id != $user->id && !$user->guest): ?>
|
||||
<a href="<?= url::site("admin/users/delete_user_form/$user->id") ?>"
|
||||
class="g-dialog-link g-button ui-state-default ui-corner-all ui-icon-left">
|
||||
<span class="ui-icon ui-icon-trash"></span><?= t("delete") ?></a>
|
||||
|
||||
Reference in New Issue
Block a user