diff options
-rw-r--r-- | lib/AdminPanel/Module/Users.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AdminPanel/Module/Users.pm b/lib/AdminPanel/Module/Users.pm index 589a37e..81ee1f4 100644 --- a/lib/AdminPanel/Module/Users.pm +++ b/lib/AdminPanel/Module/Users.pm @@ -787,7 +787,7 @@ sub _buildUserData { my $weakness = undef; if (yui::YUI::app()->hasImageSupport()) { $factory->createHSpacing($hbox, 2.0); - my $file = File::ShareDir::dist_file('AdminPanel', 'images/Blank16x16.png'); + my $file = File::ShareDir::dist_file(AdminPanel::Shared::distName(), 'images/Blank16x16.png'); $weakness = $factory->createImage($hbox, $file); } else { @@ -2108,9 +2108,9 @@ sub _checkWeaknessPassword { my $strongp = $self->sh_users->strongPassword($password); if (yui::YUI::app()->hasImageSupport()) { - my $file = File::ShareDir::dist_file('AdminPanel', 'images/Warning_Shield_Grey16x16.png'); + my $file = File::ShareDir::dist_file(AdminPanel::Shared::distName(), 'images/Warning_Shield_Grey16x16.png'); if ($strongp) { - $file = File::ShareDir::dist_file('AdminPanel', 'images/Checked_Shield_Green16x16.png'); + $file = File::ShareDir::dist_file(AdminPanel::Shared::distName(), 'images/Checked_Shield_Green16x16.png'); } $weakness_widget->setImage($file); } |