/[smeserver]/rpms/smeserver-manager/sme10/smeserver-manager-0.1.0-missing_translations.patch
ViewVC logotype

Contents of /rpms/smeserver-manager/sme10/smeserver-manager-0.1.0-missing_translations.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Jun 11 06:15:32 2020 UTC (4 years, 4 months ago) by michel
Branch: MAIN
CVS Tags: smeserver-manager-0_1_0-28_el7_sme, smeserver-manager-0_1_0-25_el7_sme, smeserver-manager-0_1_0-29_el7_sme, smeserver-manager-0_1_0-26_el7_sme, smeserver-manager-0_1_0-30_el7_sme, smeserver-manager-0_1_0-27_el7_sme, smeserver-manager-0_1_0-24_el7_sme, smeserver-manager-0_1_0-31_el7_sme, smeserver-manager-0_1_2-1_el7_sme
make: « clog » est à jour.

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>

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed