aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Module
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-09-06 23:31:02 +0200
committerAngelo Naselli <anaselli@linux.it>2014-09-06 23:31:02 +0200
commit747fe664816093ee1da12b12d8a5982aca8d8bf1 (patch)
tree64b0ec252c1b4bd814fee765db07157452f5d463 /lib/AdminPanel/Module
parentd627271bc8698db4b851a96a5e4656cc0387b981 (diff)
downloadmanatools-747fe664816093ee1da12b12d8a5982aca8d8bf1.tar
manatools-747fe664816093ee1da12b12d8a5982aca8d8bf1.tar.gz
manatools-747fe664816093ee1da12b12d8a5982aca8d8bf1.tar.bz2
manatools-747fe664816093ee1da12b12d8a5982aca8d8bf1.tar.xz
manatools-747fe664816093ee1da12b12d8a5982aca8d8bf1.zip
forgot to save for ShareDir
Diffstat (limited to 'lib/AdminPanel/Module')
-rw-r--r--lib/AdminPanel/Module/Users.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AdminPanel/Module/Users.pm b/lib/AdminPanel/Module/Users.pm
index 589a37e2..81ee1f41 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);
}