182 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-base+ldap-4.19.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm mezzanine_patched_e-smith-base+ldap-4.19.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm |
diff -Nur -x '*.orig' -x '*.rej' e-smith-base+ldap-4.19.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm mezzanine_patched_e-smith-base+ldap-4.19.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm |
183 |
--- e-smith-base+ldap-4.19.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm 2008-03-26 10:49:00.000000000 -0600 |
--- e-smith-base+ldap-4.19.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm 2008-03-26 10:49:00.000000000 -0600 |
184 |
+++ mezzanine_patched_e-smith-base+ldap-4.19.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm 2008-04-01 10:42:02.000000000 -0600 |
+++ mezzanine_patched_e-smith-base+ldap-4.19.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm 2008-04-01 10:42:02.000000000 -0600 |
185 |
|
@@ -54,6 +54,7 @@ |
186 |
|
print_save_or_add_button |
187 |
|
get_pptp_value |
188 |
|
print_ipsec_client_section |
189 |
|
+ get_prop |
190 |
|
|
191 |
|
system_password_compare |
192 |
|
system_valid_password |
193 |
@@ -283,6 +283,9 @@ |
@@ -283,6 +283,9 @@ |
194 |
my $fwd = $cgi->param('ForwardAddress') ? |
my $fwd = $cgi->param('ForwardAddress') ? |
195 |
$cgi->param('ForwardAddress') : |
$cgi->param('ForwardAddress') : |
225 |
{ |
{ |
226 |
$userprops{$field} = $q->param($field); |
$userprops{$field} = $q->param($field); |
227 |
} |
} |
228 |
|
@@ -1108,6 +1109,20 @@ |
229 |
|
} |
230 |
|
|
231 |
|
|
232 |
|
+=head2 get_prop ITEM PROP |
233 |
|
+ |
234 |
|
+A simple accessor for esmith::ConfigDB::Record::prop |
235 |
|
+ |
236 |
|
+=cut |
237 |
|
+ |
238 |
|
+sub get_prop |
239 |
|
+{ |
240 |
|
+ my ($fm, $item, $prop, $default) = @_; |
241 |
|
+ |
242 |
|
+ return $configdb->get_prop($item, $prop) || $default; |
243 |
|
+} |
244 |
|
+ |
245 |
|
+ |
246 |
|
=head1 System Password manipulation routines |
247 |
|
|
248 |
|
XXX FIXME - These should be merged with the useraccouts versions |