- Adding SM2 panel [SME: 13004] - Upgrade to phpsysinfo 3.4.4 - Add code to delete inline styles and add css to make it look better. - version saved / built uses the static version, which means no drops downs and choices.
24 lines
629 B
Plaintext
24 lines
629 B
Plaintext
% layout 'default', title => "Sme server 2 - Disk usage";
|
|
|
|
% content_for 'module' => begin
|
|
|
|
<div id='Phpsysinfo' class='module phpsysinfo-panel'>
|
|
% if (config->{debug} == 1) {
|
|
<pre>
|
|
%= dumper $c->current_route
|
|
%= dumper $c->stash('phpsysinfo')
|
|
</pre>
|
|
% }
|
|
% if ( stash 'error' ) {
|
|
<br><div class=sme-error>
|
|
%= $c->render_to_string(inline => stash 'error')
|
|
</div>
|
|
%}
|
|
|
|
<%= link_to 'Visit External Website' => $c->stash('php_url'), target => '_blank', rel => 'noopener noreferrer' %>
|
|
|
|
<h1>Legacy-<%=$c->l('psi_phpsysinfo') %></h1><br>
|
|
|
|
%== $c->stash('phpsysinfo');
|
|
|
|
%end |