mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-23 21:09:11 -04:00
Change the name of identity library from Identity to IdentityProvider. Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
open_text="<?= t("close") ?>"
|
||||
class="g-panel-link g-button ui-state-default ui-corner-all ui-icon-left">
|
||||
<span class="ui-icon ui-icon-pencil"></span><span class="g-button-text"><?= t("edit") ?></span></a>
|
||||
<? if (Session::active_user()->id != $user->id && !$user->guest): ?>
|
||||
<? if (identity::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