diff -Nur smeserver-userpanel-0.9-old/createlinks smeserver-userpanel-0.9/createlinks --- smeserver-userpanel-0.9-old/createlinks 2013-12-04 13:15:08.000000000 +0100 +++ smeserver-userpanel-0.9/createlinks 2013-12-04 13:35:46.000000000 +0100 @@ -4,10 +4,18 @@ use File::Basename; use File::Path; +##link to panel panel_link("userpanelaccess", "manager"); +##actions conf-userpanelsymlinks for my $event (qw( conf-userpanel bootstrap-console-save console-save post-upgrade remoteaccess-update )){ event_link("conf-userpanelsymlinks", $event, "70");} + +##actions link to translations + for my $event (qw( conf-userpanel bootstrap-console-save console-save post-upgrade remoteaccess-update )){ +event_link("conf-linktotranslations", $event, "70");} + +##event conf-userpanel my $event = "conf-userpanel"; safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-admin"); safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); diff -Nur smeserver-userpanel-0.9-old/root/etc/e-smith/events/actions/conf-linktotranslations smeserver-userpanel-0.9/root/etc/e-smith/events/actions/conf-linktotranslations --- smeserver-userpanel-0.9-old/root/etc/e-smith/events/actions/conf-linktotranslations 1970-01-01 01:00:00.000000000 +0100 +++ smeserver-userpanel-0.9/root/etc/e-smith/events/actions/conf-linktotranslations 2013-12-04 13:35:23.000000000 +0100 @@ -0,0 +1,8 @@ +#!/bin/bash +trad=`ls /etc/e-smith/locale/` +for lang in $trad +do +/bin/mkdir -p /etc/e-smith/locale/$lang/etc/e-smith/web/panels/user +/bin/ln -sf /etc/e-smith/locale/$lang/etc/e-smith/web/functions /etc/e-smith/locale/$lang/etc/e-smith/web/panels/user/cgi-bin +done +