1 |
diff -urN smeserver-manager-0.1.0.old/root/usr/share/smanager/lib/SrvMngr.pm smeserver-manager-0.1.0/root/usr/share/smanager/lib/SrvMngr.pm |
2 |
--- smeserver-manager-0.1.0.old/root/usr/share/smanager/lib/SrvMngr.pm 2020-06-06 20:36:30.000000000 +0400 |
3 |
+++ smeserver-manager-0.1.0/root/usr/share/smanager/lib/SrvMngr.pm 2020-06-11 00:07:31.000000000 +0400 |
4 |
@@ -289,8 +289,8 @@ |
5 |
|
6 |
$if_admin->get('/useraccounts')->to('useraccounts#main')->name('useraccounts'); |
7 |
$if_admin->post('/useraccounts')->to('useraccounts#do_display')->name('useraccountadd'); |
8 |
- $if_admin->get('/useraccountd')->to('useraccounts#do_display')->name('useraccountdis'); |
9 |
- $if_admin->post('/useraccountd')->to('useraccounts#do_update')->name('useraccountupd'); |
10 |
+ $if_admin->get('/useraccountsd')->to('useraccounts#do_display')->name('useraccountdis'); |
11 |
+ $if_admin->post('/useraccountsd')->to('useraccounts#do_update')->name('useraccountupd'); |
12 |
|
13 |
$if_admin->get('/viewlogfiles')->to('viewlogfiles#main')->name('viewlogfiles'); |
14 |
$if_admin->post('/viewlogfiles')->to('viewlogfiles#do_action')->name('viewlogfiles2'); |
15 |
@@ -605,7 +605,7 @@ |
16 |
$panel = '/initial' if ($panel eq '/' or $panel eq ''); |
17 |
|
18 |
(my $module = $panel) =~ s|\?.*$||; |
19 |
- ($module = $panel) =~ s|^/||; |
20 |
+ $module =~ s|^/||; |
21 |
$module = ucfirst($module); |
22 |
|
23 |
my $moduleLong = "SrvMngr::I18N::Modules::$module"; |
24 |
diff -urN smeserver-manager-0.1.0.old/root/usr/share/smanager/themes/default/templates/partials/_usr_list.html.ep smeserver-manager-0.1.0/root/usr/share/smanager/themes/default/templates/partials/_usr_list.html.ep |
25 |
--- smeserver-manager-0.1.0.old/root/usr/share/smanager/themes/default/templates/partials/_usr_list.html.ep 2020-04-15 21:43:35.000000000 +0400 |
26 |
+++ smeserver-manager-0.1.0/root/usr/share/smanager/themes/default/templates/partials/_usr_list.html.ep 2020-06-10 23:53:11.000000000 +0400 |
27 |
@@ -60,19 +60,19 @@ |
28 |
%= t td => (class => 'sme-border') => $fwd |
29 |
% my ($actionModify, $actionLock, $actionResetPw, $actionRemove) = ' '; |
30 |
% if ($username eq 'admin') { |
31 |
- % $actionModify = "<a href='useraccountd?trt=UPS&user=" . $username . "'>" . l('MODIFY') . "</a>"; |
32 |
- % $actionResetPw = "<a href='useraccountd?trt=PWS&user=" . $username . "'>" . l('PASSWORD_RESET') . "</a>"; |
33 |
+ % $actionModify = "<a href='useraccountsd?trt=UPS&user=" . $username . "'>" . l('MODIFY') . "</a>"; |
34 |
+ % $actionResetPw = "<a href='useraccountsd?trt=PWS&user=" . $username . "'>" . l('PASSWORD_RESET') . "</a>"; |
35 |
% } else { |
36 |
- % $actionModify = "<a href='useraccountd?trt=UPD&user=" . $username . "'>" . l('MODIFY') . "</a>"; |
37 |
+ % $actionModify = "<a href='useraccountsd?trt=UPD&user=" . $username . "'>" . l('MODIFY') . "</a>"; |
38 |
% if ($password_set ne 'yes') { |
39 |
% $actionLock = l('ACCOUNT_LOCKED'); |
40 |
- % $actionResetPw = "<a href='useraccountd?trt=PWD&user=" . $username . "' class='error'>" . l('PASSWORD_RESET') . "</a>"; |
41 |
+ % $actionResetPw = "<a href='useraccountsd?trt=PWD&user=" . $username . "' class='error'>" . l('PASSWORD_RESET') . "</a>"; |
42 |
% } else { |
43 |
- % $actionLock = "<a href='useraccountd?trt=LCK&user=" . $username . "'>" . l('usr_LOCK_ACCOUNT') . "</a>"; |
44 |
- % $actionResetPw = "<a href='useraccountd?trt=PWD&user=" . $username . "'>" . l('PASSWORD_RESET') . "</a>"; |
45 |
+ % $actionLock = "<a href='useraccountsd?trt=LCK&user=" . $username . "'>" . l('usr_LOCK_ACCOUNT') . "</a>"; |
46 |
+ % $actionResetPw = "<a href='useraccountsd?trt=PWD&user=" . $username . "'>" . l('PASSWORD_RESET') . "</a>"; |
47 |
% } |
48 |
% if ( $removable eq 'yes' ) { |
49 |
- % $actionRemove = "<a href='useraccountd?trt=DEL&user=" . $username . "'>" . l('REMOVE') . "</a>"; |
50 |
+ % $actionRemove = "<a href='useraccountsd?trt=DEL&user=" . $username . "'>" . l('REMOVE') . "</a>"; |
51 |
% } |
52 |
% } |
53 |
<td class='sme-border'><%= $c->render_to_string(inline => $actionModify) %></td> |