125 lines
3.0 KiB
Plaintext
125 lines
3.0 KiB
Plaintext
[% tab_about = tab_about %]
|
|
[% PROCESS templates/mycomposant.tt -%]
|
|
[%- PROCESS header
|
|
title => title
|
|
style => style
|
|
-%]
|
|
|
|
<script>
|
|
|
|
function ShowMess( leMess )
|
|
{
|
|
if( leMess != 0 ){
|
|
alert( leMess );
|
|
}
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
<h1> [% title %] </h1>
|
|
|
|
[% IF flagAPACHE %]
|
|
<p class="alive" style='font-size: 1.1em;'><br>APACHE IS RUNNING<br><br></p>
|
|
[% ELSE %]
|
|
<p class="dead" style='font-size: 1.1em;'><br>APACHE IS DEAD<br><br></p>
|
|
[% END %]
|
|
|
|
[% WRAPPER vari_tabs %]
|
|
[% FOREACH item IN tab_about %]
|
|
[% PROCESS one_tab
|
|
link= item.link
|
|
etatab= item.etatab
|
|
labTab= item.labTab
|
|
%]
|
|
[% END %]
|
|
[% END %]
|
|
[% WRAPPER div_pre %]
|
|
<FORM action="index.cgi" method=get >
|
|
[%- PROCESS radio_col
|
|
autosubmit => '1'
|
|
title =>'Styles'
|
|
nom => 'style'
|
|
label_0 => 'Old Maps'
|
|
label_1 => 'Electro'
|
|
label_2 => 'Golf'
|
|
checked => checked
|
|
-%]
|
|
<input type=hidden name=mode value="[% mode %]" >
|
|
</FORM>
|
|
<H5>
|
|
[% langa.welcome %]<p> <table border=0><tr><td class="tdg">config xml</td><td class="tdd">[% para3 %]</td></tr><tr><td class="tdg">config httpd</td><td class="tdd">[% para2 %]</td></tr>
|
|
</table><p>
|
|
[%PROCESS bouton_plus
|
|
nom => 'noname'
|
|
label => 'module config'
|
|
link => '/config.cgi?lemongui4webmin'
|
|
-%]</H5>
|
|
|
|
[% IF tabDTXml.size > 0 %]
|
|
[% WRAPPER tcombo150B
|
|
idLabel= lab_64
|
|
idSelect= "cbHistor"
|
|
%]
|
|
[% FOREACH item IN tabDTXml %]
|
|
[% PROCESS one_option
|
|
idValue= item
|
|
labOption= item
|
|
isSelected= ''
|
|
%]
|
|
[% END %]
|
|
[% END %]
|
|
[% END %]
|
|
|
|
|
|
|
|
<FORM>
|
|
<DIV class="ExpertStyle">
|
|
<BR>
|
|
<BR>
|
|
[% IF flagApplyModifs %]
|
|
<table>
|
|
<tr style='font-size: 0.7em;'>
|
|
<td >
|
|
<input type='Submit' name='ApplyModifs' value="[% lab_63 %]" class="bouton_0">
|
|
<input type='Submit' name='DiscardModifs' value="[% lab_65 %]" class="bouton_0" >
|
|
[% INCLUDE ForApache %]
|
|
</tr>
|
|
</table>
|
|
[% ELSE %]
|
|
<table>
|
|
<tr style='font-size: 0.7em;'>
|
|
<td >
|
|
<input type='Submit' name='ApplyModifs' value="[% lab_63 %]" class="bouton_0dd" DISABLED>
|
|
<input type='Submit' name='DiscardModifs' value="[% lab_65 %]" class="bouton_0dd" DISABLED>
|
|
[% INCLUDE ForApache %]
|
|
</tr>
|
|
</table>
|
|
[% END %]
|
|
<BR><BR>
|
|
</DIV>
|
|
<input type=hidden name=mode value="[% mode %]" >
|
|
<input type=hidden name=style value="[% css %]" >
|
|
</FORM>
|
|
|
|
<br><a class="PetiFont">[[% parent %] with [% template.name %] ] (version 0.01)</a>
|
|
[% END %]
|
|
|
|
<script>
|
|
document.forms[0].elements[0].focus();
|
|
ShowMess( "[% message %]" );
|
|
</script>
|
|
|
|
[%- PROCESS footer -%]
|
|
|
|
[% BLOCK ForApache %]
|
|
|
|
<input type='Submit' name='GenerConfigFiles' value="Gener. Apache config files" class="bouton_0" >
|
|
[% IF flagAPACHE %]
|
|
<input type='Submit' name='StopApache' value="STOP Apache-perl" class="bouton_0" >
|
|
<input type='Submit' name='RestartApache' value="RESTART Apache-perl" class="bouton_0" >
|
|
[% ELSE %]
|
|
<input type='Submit' name='StartApache' value="START Apache-perl" class="bouton_0" >
|
|
[% END %]
|
|
|
|
[% END %] |