%
@@ -156,4 +155,4 @@
%= hidden_field 'trt' => $usr_datas->{trt}
-
\ No newline at end of file
+
diff --git a/root/usr/share/smanager/themes/default/templates/roundcube.html.ep b/root/usr/share/smanager/themes/default/templates/roundcube.html.ep
index 515f233..dcf6cbe 100644
--- a/root/usr/share/smanager/themes/default/templates/roundcube.html.ep
+++ b/root/usr/share/smanager/themes/default/templates/roundcube.html.ep
@@ -14,25 +14,26 @@
%= $c->render_to_string(inline => stash 'error')
%}
- roundcube - <%=$title %>
- If the roundcube panel does not appear after logging in, then please check your password.
+ <%=$title %>
+ If the Webmail panel does not appear after logging in, then please check your password.
- % my $thisdomain = session 'SystemName';
- % $thisdomain .= ".".session 'DomainName';
+ % my $thisdomain = $c->req->url->to_abs->host;
% my $url = $c->stash('modul');
+ % if (!$url) {
+ % $url = $thisdomain."/roundcube";
+ %}
% my $username = 'admin';
% if ($url =~ /[?&]_user=([^&]+)/) {
% $username = $1;
%}
-
-