Commit 6524d3fa authored by FHO Corp's avatar FHO Corp 👋

Add files

parents
File added
File added
server.document-root = "/var/www-docroot/"
server.use-ipv6 = "enable"
server.port = 80
server.tag = "Server"
server.pid-file = "/var/run/lighttpd.pid"
server.errorlog = "/var/log/lighttpd.log"
server.modules = ( "mod_fastcgi" )
server.event-handler = "poll"
$HTTP["url"] =~ "^/api/" {
fastcgi.server = ( "/" =>
((
"socket" => "/var/run/api.socket",
"check-local" => "disable",
"bin-path" => "/www/fcgiroot/apid",
"min-procs" => 1,
"max-procs" => 1,
"max-load-per-proc" => 4,
"idle-timeout" => 20
))
)
}
$HTTP["url"] !~ "^/(css|img|preview|js|api|openbox)/|/favicon\.ico$" {
fastcgi.server = ( "/" =>
((
"socket" => "/var/run/fastcgi.socket",
"check-local" => "disable",
"bin-path" => "/www/fcgiroot/fastcgi",
"bin-environment" => (
"EWF_VDOCROOT" => "/var/www-docroot",
"EWF_WEBAPPROOT" => "/www"
),
"min-procs" => 1,
"max-procs" => 1,
"max-load-per-proc" => 4,
"idle-timeout" => 20
))
)
}
$HTTP["url"] =~ "^/openbox" {
fastcgi.server = ("/openbox" =>
((
"host" => "127.0.0.1",
"port" => 82,
"check-local" => "disable",
"bin-path" => "/bin/opb-fcgi",
"min-proc" => 1,
"max-proc" => 1,
"max-load-per-proc" => 4,
"idle-timeout" => 20
))
)
}
mimetype.assign = (
".css" => "text/css",
".htc" => "text/x-component",
".js" => "application/x-javascript",
".png" => "image/png",
".ico" => "image/x-icon"
)
.plot_current {
width: 600px;
height: 300px;
}
#plot_current {
margin-left:11px;
}
$(document).ready(function(){$('#speakers_active_on').click(function()
{return showSpeakersItems();});$('#speakers_active_off').click(function()
{return hideSpeakersItems();});$("input[name='speakers_active']:checked").click();setInterval("sendRequest('/openbox/speakers', updateStatus)",1000);});
function hideSpeakersItems()
{$('#row_speakers_name').css('display','none');
$('#row_speakers_passwd').css('display','none');
$('#row_speakers_passwd_name').css('display','none');}
function showSpeakersItems()
{$('#row_speakers_name').css('display','');
$('#row_speakers_passwd').css('display','');
$('#row_speakers_passwd_name').css('display','');}
function updateStatus(response)
{var active_text=getResponseAttrElement(response,'active','text');var active_val=getResponseAttrElement(response,'active','val');var state_text=getResponseAttrElement(response,'state','text');var state_val=getResponseAttrElement(response,'state','val');var codeno_text=getResponseAttrElement(response,'codeno','text');var codeno_val=getResponseAttrElement(response,'codeno','val');if(state_val=="down")
{$('#col_speakers_status').attr('class','disabled');}
else if(state_val=="up")
{$('#col_speakers_status').attr('class','enabled');}
if(active_val=="off")
{msg=active_text;}
else
{msg=state_text;if(codeno_val!="")
{msg+=" [ "+codeno_text+" ] ";}}
$('#col_speakers_status').text(msg);}
This diff is collapsed.
Env.Menu.state.Label = Etat
Env.Menu.state.SubMenu.wan.Label = Internet
Env.Menu.state.SubMenu.voip.Label = Téléphonie
Env.Menu.state.SubMenu.lan.Label = Réseau local
Env.Menu.state.SubMenu.device.Label = Périphériques
Env.Menu.network.Label = Réseau
Env.Menu.network.SubMenu.wan.Label = WAN
Env.Menu.network.SubMenu.ddns.Label = DynDNS
Env.Menu.network.SubMenu.dns.Label = DNS
Env.Menu.network.SubMenu.dhcp.Label = DHCP
Env.Menu.network.SubMenu.nat.Label = NAT
Env.Menu.network.SubMenu.route.Label = Route
Env.Menu.network.SubMenu.firewall.Label = Filtrage
Env.Menu.wifi.Label = Wifi
Env.Menu.wifi.SubMenu.config.Label = Configuration
Env.Menu.wifi.SubMenu.security.Label = Chiffrement
Env.Menu.wifi.SubMenu.macfiltering.Label = Filtrage MAC
Env.Menu.hotspot.Label = Hotspot
Env.Menu.hotspot.SubMenu.config.Label = Configuration
Env.Menu.service.Label = Applications
Env.Menu.service.SubMenu.samba.Label = Partage de fichiers
Env.Menu.service.SubMenu.printer.Label = Partage d'imprimantes
Env.Menu.service.SubMenu.upnpav.Label = Serveur multimédia
Env.Menu.maintenance.Label = Maintenance
Env.Menu.maintenance.SubMenu.system.Label = Système
Env.Menu.maintenance.SubMenu.admin.Label = Administration
Env.Menu.maintenance.SubMenu.webui.Label = Personnalisation
Env.Menu.maintenance.SubMenu.dsl.Label = Ligne ADSL
Env.Menu.maintenance.SubMenu.diag.Label = Diagnostic
Env.Menu.maintenance.SubMenu.tests.Label = Tests
Env.Menu.openbox.Label = Extentions
Env.Menu.openbox.SubMenu.speakers.Label = Haut parleurs
Env.Menu.openbox.SubMenu.teleinfo.Label = Téléinformation compteur EDF
Env.Menu.openbox.SubMenu.programmateur.Label = Programmateur hebdomataire
Env.Page.Title = Extentions
Env.Help.Text = L'onglet <b>Extentions</b> permet de gérer les extentions de votre neufbox.
Env.Section.Extentions.Value = Extentions
Env.Header.speakers.Value = Hauts parleurs
Env.Var.speakers_state.Value.up = Actif
Env.Var.speakers_state.Value.down = Inactif
Env.Header.teleinfo.Value = Téléinformation compteur EDF
Env.Var.teleinfo_state.Value.up = Actif
Env.Var.teleinfo_state.Value.down = Inactif
Env.Page.Title = Programmateur hebdomadaire
Env.Help.Text = Dans la rubrique <b>Programmateur hebdomadaire</b> vous pouvez configurer
Env.Section.Programmateur = Programmateur hebdomadaire
Env.Var.programmateur_status.Header = Statut service
Env.Var.programmateur_status.Value.up = Démarré
Env.Var.programmateur_status.Value.down = Arrêté
Env.Var.programmateur_status.Value.unavailable = Indisponible (programmateur USB non détecté)
Env.Var.programmateur_state.Value.up = Démarré
Env.Var.programmateur_state.Value.down = Arrêté
Env.Var.programmateur_codeno.Value.starting = En cours d'initialisation
Env.Var.programmateur_codeno.Value.error_internal = Erreur interne
Env.Var.programmateur_active.Header = Activation programmateur
Env.Var.programmateur_active.Value.on = Activé
Env.Var.programmateur_active.Value.off = Désactivé
Env.Var.programmateur_active.Error.value = Valeur incorrecte
Env.Section.ProgrammateurCurrent = Etat courrant
Env.Var.programmateur_time.Header = Heure
Env.Var.programmateur_channel_1.Header = Etat circuit 1
Env.Var.programmateur_channel_2.Header = Etat circuit 2
Env.Var.programmateur_channel.Value.conf = Confort
Env.Var.programmateur_channel.Value.eco = Econnomique
Env.Var.programmateur_channel.Value.horg = Hors gel
Env.Var.Programmateur_channel.Value.dlst = Délestage
Env.Var.programmateur_channel.Error.value = Valeur incorrecte
Env.Section.ProgrammateurConfig = Configuration
Env.Page.Title = Haut parleurs
Env.Help.Text = Dans la rubrique <b>Haut parleurs</b> vous pouvez configurer le service haut parleur de votre neufbox. Pour partager des fichiers, vous devez brancher une clé USB ou un disque dur sur le port USB 1 ou 2 de la neufbox. <br /><br />Afin d'éviter la perte de vos données, <b>veillez à éjecter le périphérique avant de le retirer</b> sur la page Etat &rarr; Périphérique ou attendre 30 secondes après la dernière copie effectuée.
Env.Section.Speakers = Haut parleurs
Env.Var.speakers_status.Header = Statut service
Env.Var.speakers_status.Value.up = Démarré
Env.Var.speakers_status.Value.down = Arrêté
Env.Var.speakers_status.Value.unavailable = Désactivé (aucune carte son USB détectée)
Env.Var.speakers_state.Value.up = Démarré
Env.Var.speakers_state.Value.down = Arrêté
Env.Var.speakers_codeno.Value.starting = En cours d'initialisation
Env.Var.speakers_codeno.Value.error_internal = Erreur interne
Env.Var.speakers_active.Header = Activation haut parleurs
Env.Var.speakers_active.Value.on = activé
Env.Var.speakers_active.Value.off = désactivé
Env.Var.speakers_active.Error.value = Valeur incorrecte
Env.Var.speakers_name.Header = Nom du service
Env.Var.speakers_name.Error.value = Valeur incorrecte
Env.Var.speakers_passwd.Header = Accès par mot de passe
Env.Var.speakers_passwd.Value.on = activé
Env.Var.speakers_passwd.Value.off = désactivé
Env.Var.speakers_passwd.Error.value = Valeur incorrecte
Env.Var.speakers_passwd_name.Header = Mot de passe
Env.Var.speakers_passwd_name.Error.value = Valeur incorrecte
Env.Page.Title = Relevé téléinformation compteur EDF
Env.Help.Text = Dans la rubrique <b>Relevé téléinformation compteur EDF</b> ...
Env.Text.NoHistory = Pas d'historique disponible
Env.Section.Teleinfo = Revélé téléinformation compteur EDF
Env.Var.teleinfo_status.Header = Statut service
Env.Var.teleinfo_status.Value.up = Démarré
Env.Var.teleinfo_status.Value.down = Arrêté
Env.Var.teleinfo_status.Value.unavailable = Indisponible (aucune liaison série USB détecté)
Env.Var.teleinfo_codeno.Value.starting = En cours d'initialisation
Env.Var.teleinfo_codeno.Value.error_internal = Erreur interne
Env.Var.teleinfo_active.Header = Activation relevé téléinformation
Env.Var.teleinfo_active.Value.on = activé
Env.Var.teleinfo_active.Value.off = désactivé
Env.Var.teleinfo_active.Error.Value = Valeur incorrecte
Env.Section.TeleinfoCurrent = Consommation courante
Env.Var.teleinfo_adco.Header = Identifiant compteur
Env.Var.teleinfo_isousc.Header = Puissance souscrite (A)
Env.Var.teleinfo_optarif.Header = Option tarifaire
Env.Var.teleinfo_optarif.Value.base = Base
Env.Var.teleinfo_optarif.Value.hc = Heures Creuses
Env.Var.teleinfo_optarif.Value.ejp = EJP
Env.Var.teleinfo_optarif.Value.bbrx = Tempo
Env.Var.teleinfo_optarif.Value.Error.Value = Valeur incorrecte
Env.Var.teleinfo_base.Header = Index (W/h)
Env.Var.teleinfo_hchc.Header = Index Heures Creuses (W/h)
Env.Var.teleinfo_hchp.Header = Index Heures Peines (W/h)
Env.Var.teleinfo_ejphn.Header = Index Heures Normales (W/h)
Env.Var.teleinfo_ejphpm.Header = Index Heures Pleines (W/h)
Env.Var.teleinfo_bbrhcjb.Header = Index heures Creuses jours Bleus (W/h)
Env.Var.teleinfo_bbrhpjb.Header = Index heures Pleines jours Bleus (W/h)
Env.Var.teleinfo_bbrhcjw.Header = Index heures Creuses jours Blancs (W/h)
Env.Var.teleinfo_bbrhpjw.Header = Index heures Pleines jours Blancs (W/h)
Env.Var.teleinfo_bbrhcjr.Header = Index heures Creuses jours Rouges (W/h)
Env.Var.teleinfo_bbrhpjr.Header = Index heures Pleines jours Rouges (W/h)
Env.Var.teleinfo_pejp.Header = Préavis début EJP (min)
Env.Var.teleinfo_ptec.Header = Période tarifaire en cours
Env.Var.teleinfo_ptec.Value.th = Toutes Heures
Env.Var.teleinfo_ptec.Value.hc = Heures Creuses
Env.Var.teleinfo_ptec.Value.hp = Heures Pleines
Env.Var.teleinfo_ptec.Value.hn = Heures Normales
Env.Var.teleinfo_ptec.Value.pm = Pointe Mobile
Env.Var.teleinfo_ptec.Value.hcjb = Heures Creuses Jours Bleus
Env.Var.teleinfo_ptec.Value.hpjb = Heures Pleines Jours Bleus
Env.Var.teleinfo_ptec.Value.hcjw = Heures Creuses Jours Blancs
Env.Var.teleinfo_ptec.Value.hpjw = Heures Pleines Jours Blancs
Env.Var.teleinfo_ptec.Value.hcjr = Heures Creuses Jours Rouges
Env.Var.teleinfo_ptec.Value.hpjr = Heures Pleines Jours Rouges
Env.Var.teleinfo_ptec.Value.Error.Value = Valeur incorrecte
Env.Var.teleinfo_demain.Header = Couleur du lendemain
Env.Var.teleinfo_demain.Value.bleu = Demain Bleu
Env.Var.teleinfo_demain.Value.blan = Demain Blanc
Env.Var.teleinfo_demain.Value.roug = Demain Rouge
Env.Var.teleinfo_demain.Value.Error.Value = Pas d'annonce
Env.Var.teleinfo_iinst.Header = Intensité instantanée (A)
Env.Var.teleinfo_imax.Header = Instensité maximale atteinte (A)
Env.Var.teleinfo_papp.Header = Puissance apparente (VA)
Env.Var.teleinfo_hhphc.Header = Horaire Heures Pleines / Heures Creuses
Env.Var.teleindo_hhphc.Value.a = Code A
Env.Var.teleindo_hhphc.Value.c = Code C
Env.Var.teleindo_hhphc.Value.d = Code D
Env.Var.teleindo_hhphc.Value.e = Code E
Env.Var.teleindo_hhphc.Value.y = Code Y
Env.Var.teleinfo_hhphc.Value.Error.Value = Valeur incorrecte
Env.Var.teleinfo_motdetat.Header = Mot d'état compteur
Env.Section.TeleinfoHistory = Historique
Env.Var.rootfs.Regex = ^(flash|usb)$
<?cs include:"tpl/header.html" ?>
<div class="title">
<h1><?cs var:Env.Section.Extentions.Value?></h1>
</div>
<div class="content">
<table>
<tr>
<th scope="row"><?cs var:Env.Header.speakers.Value?></th>
<td class="<?cs if:Var.speakers_state.Value == "up" ?>enabled<?cs else ?>disabled<?cs /if ?>">
<?cs call:varValueH3n_d("speakers_state", "down")?>
</td>
</tr>
<tr>
<th scope="row"><?cs var:Env.Header.teleinfo.Value?></th>
<td class="<?cs if:Var.teleinfo_state.Value == "up" ?>enabled<?cs else ?>disabled<?cs /if ?>">
<?cs call:varValueH3n_d("teleinfo_state", "down")?>
</td>
</tr>
</table>
</div>
<?cs include:"tpl/footer.html" ?>
<?cs set:js = Env.Page.Name ?>
<?cs set:css = Env.Page.Name ?>
<?cs include:"tpl/header.html" ?>
<div class="title">
<h1><?cs var:Env.Section.Programmateur ?></h1>
</div>
<div class="content">
<form method="post" action="<?cs var:Env.Page.Name ?>">
<table id="programmateur">
<tr>
<th scope="row"><?cs var:Env.Var.programmateur_status.Header ?></th>
<td class="<?cs if:Var.programmateur_state.Value == "up" && Var.programmateur_active.Value == "on" ?>enabled<?cs else ?>disabled<?cs /if ?>" id="col_programmateur_status">
<?cs if:Var.programmateur_active.Value == "off"?>
<?cs var:Env.Var.programmateur_active.Value.off?>
<?cs else?>
<?cs call:varValueH3n("programmateur_state") ?>
<?cs if:Var.programmateur_codeno.Value != "" ?>
[ <?cs call:varValueH3n("programmateur_codeno")?> ]
<?cs /if ?>
<?cs /if?>
</td>
</tr>
<tr>
<th scope="row"><?cs call:varHeader("programmateur_active")?></th>
<td>
<input type="radio" value="on" name="programmateur_active" id="programmateur_active_on"<?cs if:Var.programmateur_active.Value == "on" ?> checked="checked"<?cs /if ?> />
<label for="programmateur_active_on"><?cs var:Env.Var.programmateur_active.Value.on ?></label>
<input type="radio" value="off" name="programmateur_active" id="programmateur_active_off"<?cs if:Var.programmateur_active.Value == "off" ?> checked="checked"<?cs /if ?> />
<label for="programmateur_active_off"><?cs var:Env.Var.programmateur_active.Value.off ?></label>
<?cs if:Var.programmateur_active.Error ?>
<div class="error"><?cs var:Env.Var.programmateur_active.Error[Var.programmateur_active.Error] ?></div>
<?cs /if ?>
</td>
</tr>
</table>
<div class="button_submit"><button type="submit" name="submit"><?cs var:Button.Submit ?></button></div>
</form>
</div>
<div class="title" id="title_programmateur_current">
<h1><?cs var:Env.Section.ProgrammateurCurrent ?></h1>
</div>
<div class="content" id="content_programmateur_current">
<table id="table_programmateur_current">
<tr>
<th scope="row"><?cs var:Env.Var.programmateur_time.Header ?></th>
<td><?cs var:Var.programmateur_time.Value ?></td>
</tr>
<tr>
<th scope="row"><?cs var:Env.Var.programmateur_channel_1.Header ?></th>
<td><?cs call:varValueH3n("programmateur_channel_1") ?></td>
</tr>
<tr>
<th scope="row"><?cs var:Env.Var.programmateur_channel_2.Header ?></th>
<td><?cs call:varValueH3n("programmateur_channel_2") ?></td>
</tr>
</table>
</div>
<div class="title" id="title_programmateur_config">
<h1><?cs var:Env.Section.ProgrammateurConfig ?></h1>
</div>
<div class="content" id="content_programmateur_config">
</div>
<?cs include:"tpl/footer.html" ?>
<?cs set:js = Env.Page.Name ?>
<?cs set:css = Env.Page.Name ?>
<?cs include:"tpl/header.html" ?>
<div class="title">
<h1><?cs var:Env.Section.Speakers ?></h1>
</div>
<div class="content">
<form method="post" action="<?cs var:Env.Page.Name ?>">
<table id="speakers">
<tr>
<th scope="row"><?cs var:Env.Var.speakers_status.Header ?></th>
<td class="<?cs if:Var.speakers_state.Value == "up" && Var.speakers_active.Value == "on" ?>enabled<?cs else ?>disabled<?cs /if ?>" id="col_speakers_status">
<?cs if:Var.speakers_active.Value == "off"?>
<?cs var:Env.Var.speakers_active.Value.off?>
<?cs else?>
<?cs call:varValueH3n("speakers_state") ?>
<?cs if:Var.speakers_codeno.Value != "" ?>
[ <?cs call:varValueH3n("speakers_codeno")?> ]
<?cs /if ?>
<?cs /if?>
</td>
</tr>
<tr>
<th scope="row"><?cs call:varHeader("speakers_active")?></th>
<td>
<input type="radio" value="on" name="speakers_active" id="speakers_active_on"<?cs if:Var.speakers_active.Value == "on" ?> checked="checked"<?cs /if ?> />
<label for="speakers_active_on"><?cs var:Env.Var.speakers_active.Value.on ?></label>
<input type="radio" value="off" name="speakers_active" id="speakers_active_off"<?cs if:Var.speakers_active.Value == "off" ?> checked="checked"<?cs /if ?> />
<label for="speakers_active_off"><?cs var:Env.Var.speakers_active.Value.off ?></label>
<?cs if:Var.speakers_active.Error ?>
<div class="error"><?cs var:Env.Var.speakers_active.Error[Var.speakers_active.Error] ?></div>
<?cs /if ?>
</td>
</tr>
<tr id="row_speakers_name">
<th scope="row"><?cs call:varHeader("speakers_name")?></th>
<td>
<input type="text" class="<?cs if:?Var.ftpd_user.Error?>error<?cs else ?>text<?cs /if ?>" name="speakers_name" value="<?cs var:Var.speakers_name.Value?>" />
<?cs if:?Var.speakers_name.Error ?>
<div class="error"><?cs var:Env.Var.speakers_name.Error[Var.speakers_name.Error] ?></div>
<?cs /if ?>
</td>
</tr>
<tr id="row_speakers_passwd">
<th scope="row"><?cs call:varHeader("speakers_passwd")?></th>
<td>
<input type="radio" value="on" name="speakers_passwd" id="speakers_passwd_on"<?cs if:Var.speakers_passwd.Value == "on" ?> checked="checked"<?cs /if ?> />
<label for="speakers_passwd_on"><?cs var:Env.Var.speakers_passwd.Value.on ?></label>
<input type="radio" value="off" name="speakers_passwd" id="speakers_passwd_off"<?cs if:Var.speakers_passwd.Value == "off" ?> checked="checked"<?cs /if ?> />
<label for="speakers_passwd_off"><?cs var:Env.Var.speakers_passwd.Value.off ?></label>
</td>
</tr>
<tr id="row_speakers_passwd_name">
<th scope="row"><?cs call:varHeader("speakers_passwd_name")?></th>
<td>
<input type="text" class"<?cs if:?Var.ftpd_user.Error?>error<?cs else ?>text<?cs /if ?>" name="speakers_passwd_name" value="<?cs var:Var.speakers_passwd_name.Value?>" />
<?cs if:?Var.speakers_passwd_name.Error ?>
<div class="error"><?cs var:Env.Var.speakers_passwd_name.Error[Var.speakers_passwd_name.Error] ?></div>
<?cs /if ?>
</td>
</tr>
</table>
<div class="button_submit"><button type="submit" name="submit"><?cs var:Button.Submit ?></button></div>
</form>
</div>
<?cs include:"tpl/footer.html" ?>
<?cs include:"tpl/defs.cst" ?>
<rsp stat="ok">
<speakers>
<active val="<?cs var:Var.speakers_active.Value?>" text="<?cs call:varValueH3n_d('speakers_active', 'off')?>" />
<state val="<?cs var:Var.speakers_state.Value?>" text="<?cs call:varValueH3n_d('speakers_state', 'down')?>" />
<codeno val="<?cs var:Var.speakers_codeno.Value?>" text="<?cs call:varValueH3n_d('speakers_codeno', 'internal')?>" />
</speakers>
</rsp>
<?cs set:js = Env.Page.Name ?>
<?cs set:css = Env.Page.Name ?>
<?cs include:"tpl/header.html" ?>
<div class="title">
<h1><?cs var:Env.Section.Teleinfo ?></h1>
</div>
<div class="content">
<form method="post" action="<?cs var:Env.Page.Name ?>">
<table id="teleinfo">
<tr>
<th scope="row"><?cs var:Env.Var.teleinfo_status.Header ?></th>
<td class="<?cs if:Var.teleinfo_status.Value == "up" && Var.teleinfo_active.Value == "on" ?>enabled<?cs else ?>disabled<?cs /if ?>" id="col_teleinfo_status">
<?cs if:Var.teleinfo_active.Value == "off"?>
<?cs var:Env.Var.teleinfo_active.Value.off?>
<?cs else?>
<?cs call:varValueH3n("teleinfo_status") ?>
<?cs if:Var.teleinfo_codeno.Value != "" ?>
[ <?cs call:varValueH3n("teleinfo_codeno")?> ]
<?cs /if ?>
<?cs /if?>
</td>
</tr>
<tr>
<th scope="row"><?cs call:varHeader("teleinfo_active")?></th>
<td>
<input type="radio" value="on" name="teleinfo_active" id="teleinfo_active_on"<?cs if:Var.teleinfo_active.Value == "on" ?> checked="checked"<?cs /if ?> />
<label for="teleinfo_active_on"><?cs var:Env.Var.teleinfo_active.Value.on ?></label>
<input type="radio" value="off" name="teleinfo_active" id="teleinfo_active_off"<?cs if:Var.teleinfo_active.Value == "off" ?> checked="checked"<?cs /if ?> />
<label for="teleinfo_active_off"><?cs var:Env.Var.teleinfo_active.Value.off ?></label>
<?cs if:Var.teleinfo_active.Error ?>
<div class="error"><?cs var:Env.Var.teleinfo_active.Error[Var.teleinfo_active.Error] ?></div>
<?cs /if ?>
</td>
</tr>
</table>
<div class="button_submit"><button type="submit" name="submit"><?cs var:Button.Submit ?></button></div>
</form>
</div>
<div class="title" id="title_teleinfo_current">
<h1><?cs var:Env.Section.TeleinfoCurrent ?></h1>
</div>
<div class="content" id="content_teleinfo_current">
<table id="table_teleinfocurrent">
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_adco.Header ?></th>
<td><?cs var:Var.teleinfo_adco.Value ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_isousc.Header ?></th>
<td><?cs var:Var.teleinfo_isousc.Value ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_optarif.Header ?></th>
<td>
<?cs call:varValueH3n("teleinfo_optarif") ?>
<?cs if:Var.teleinfo_optarif.Value == "hc" || Var.teleinfo_optarif.Value == "bbrx" ?>
/ code <?cs var:Var.teleinfo_hhphc.Value ?>
<?cs /if ?>
</td>
</tr>
<?cs if:Var.teleinfo_optarif.Value == "base" ?>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_base.Header ?></th>
<td id="col_teleinfo_base"><?cs var:Var.teleinfo_base.Value ?></td>
</tr>
<?cs /if ?>
<?cs if:Var.teleinfo_optarif.Value == "hc" ?>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_hchc.Header ?></th>
<td id="col_teleinfo_hchc"><?cs var:Var.teleinfo_hchc.Value ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_hchp.Header ?></th>
<td id="col_teleinfo_hchp"><?cs var:Var.teleinfo_hchp.Value ?></td>
</tr>
<?cs /if ?>
<?cs if:Var.teleinfo_optarif.Value == "ejp" ?>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_ejphn.Header ?></th>
<td id="col_teleinfo_ejphn"><?cs var:Var.teleinfo_ejphn.Value ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_ejphpm.Header ?></th>
<td id="col_teleinfo_ejphpm"><?cs var:Var.teleinfo_ejphpm.Value ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_pejp.Header ?></th>
<td id="col_teleinfo_pejp"><?cs var:Var.teleinfo_pejp.Value ?></td>
</tr>
<?cs /if ?>
<?cs if:Var.teleinfo_optarif.Value == "bbrx" ?>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_bbrhcjb.Header ?></th>
<td id="col_teleinfo_bbrhjcb"><?cs var:Var.teleinfo_bbrhjcb.Value ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_bbrhpjb.Header ?></th>
<td id="col_teleinfo_bbrhpjb"><?cs var:Var.teleinfo_bbrhpjb.Value ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_bbrhcjw.Header ?></th>
<td id="col_teleinfo_bbrhcjw"><?cs var:Var.teleinfo_bbrhcjw.Value ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_bbrhpjw.Header ?></th>
<td id="col_teleinfo_bbrhpjw"><?cs var:Var.teleinfo_bbrhpjw.Value ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_bbrhcjr.Header ?></th>
<td id="col_teleinfo_bbrhcjr"><?cs var:Var.teleinfo_bbrhcjr.Value ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_bbrhpjr.Header ?></th>
<td id="col_teleinfo_bbrhpjr"><?cs var:Var.teleinfo_bbrhpjr.Value ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_demain.Header ?></th>
<td id="col_teleinfo_demain"><?cs call:varValueH3n("teleinfo_demain") ?></td>
</tr>
<?cs /if ?>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_ptec.Header ?></th>
<td id="col_teleinfo_ptec"><?cs call:varValueH3n("teleinfo_ptec") ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_iinst.Header ?></th>
<td id="col_teleinfo_iinst"><?cs var:Var.teleinfo_iinst.Value ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_imax.Header ?></th>
<td id="col_teleinfo_imax"><?cs var:Var.teleinfo_imax.Value ?></td>
</tr>
<tr>
<th scop="row"><?cs var:Env.Var.teleinfo_papp.Header ?></th>
<td id="col_teleinfo_papp"><?cs var:Var.teleinfo_papp.Value ?></td>
</tr>
</table>
<div id="plot_current" class="plot_current"></div>
</div>
<div class="title" id="title_teleinfo_history">
<h1><?cs var:Env.Section.TeleinfoHistory ?></h1>
</div>
<div class="content" id="content_teleinfo_history">
<?cs var:Env.Text.NoHistory ?>
</div>
<?cs include:"tpl/footer.html" ?>
<?cs include:"tpl/defs.cst" ?>
<rsp stat="ok">
<teleinfo>
<active val="<?cs var:Var.teleinfo_active.Value?>" text="<?cs call:varValueH3n_d('teleinfo_active', 'off')?>" />
<status val="<?cs var:Var.teleinfo_status.Value?>" text="<?cs call:varValueH3n_d('teleinfo_status', 'down')?>" />
<codeno val="<?cs var:Var.teleinfo_codeno.Value?>" text="<?cs call:varValueH3n_d('teleinfo_codeno', 'internal')?>" />
<?cs if:Var.teleinfo_optarif.Value == "base" ?>
<base val="<?cs var:Var.teleinfo_base.Value?>" />
<?cs /if ?>
<?cs if:Var.teleinfo_optarif.Value == "hc" ?>
<hchc val="<?cs var:Var.teleinfo_hchc.Value?>" />
<hchp val="<?cs var:Var.teleinfo_hchp.Value?>" />
<?cs /if ?>
<?cs if:Var.teleinfo_optarif.Value == "ejp" ?>
<ejphn val="<?cs var:Var.teleinfo_epjhn.Value?>" />
<epjhpm val="<?cs var:Var.teleinfo_epjhpm.Value?>" />
<pejp val="<?cs var:Var.teleinfo_pejp.value?>" />
<?cs /if ?>
<?cs if:Var.teleinfo_optarif.Value == "bbrx" ?>
<bbrhcjb val="<?cs var:Var.teleinfo_bbrhcjb.Value?>" />
<bbrhpjb val="<?cs var:Var.teleinfo_bbrhpjb.Value?>" />
<bbrhcjw val="<?cs var:Var.teleinfo_bbrhcjw.Value?>" />