diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/roundcube.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/roundcube.html.ep index 1624b89..6b97339 100644 --- a/root/usr/share/smanager/themes/AdminLTE/templates/roundcube.html.ep +++ b/root/usr/share/smanager/themes/AdminLTE/templates/roundcube.html.ep @@ -6,36 +6,62 @@
% if (config->{debug} == 1) { -

- %= dumper $c->current_route -

+
+            <%= dumper $c->current_route %>
+        
% } % if ( stash 'error' ) { -
- %= $c->render_to_string(inline => stash 'error') +
+
+ <%= $c->render_to_string(inline => stash 'error') %>
- %} -

<%=$title %>


-

If the Webmail 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 = $c->req->url->to_abs->host; % my $url = $c->stash('modul'); - % if (!$url) { - % $url = $thisdomain."/roundcube"; - %} % my $username = 'admin'; + + % if (!$url) { + % $url = $thisdomain."/roundcube"; + % } + % if ($url =~ /[?&]_user=([^&]+)/) { - % $username = $1; - %} + % $username = $1; + % } + % if (!($url =~ /https:/)) { - % $url = 'https://' . $url; + % $url = 'https://' . $url; %} -
- roundcube?_user=<%= $username %>"> +
+ + + % my $btn = l('Full Window'); + +
+
+ +
+
+ + %end \ No newline at end of file