Changeset 380

Show
Ignore:
Timestamp:
10/16/07 21:40:59 (1 year ago)
Author:
florida
Message:

mise à jour des sources pour la version 1.6.9 de freinfunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • firmware/trunk/freifunk/build_ffw/www/cgi-bin-blacklist.html

    r266 r380  
    22 
    33export DATE="xx.xx.xxxx";SCRIPT=${0#/rom} 
    4 export TITLE="OLSR Internet Access
     4export TITLE="Accès Internet via OLSR
    55. ${SCRIPT%/*}/cgi-bin-pre.sh 
    66 
    77cat<<EOF 
    88<H1> 
    9 OLSR Internet Access</H1> 
     9Acc&egrave;s Internet via OLSR</H1> 
    1010<P> 
    11 If you see that webpage your access to the internet has been closed 
    12 by the operator of this gateway. The usage of the internet over the Freifunk Networks 
    13 is tied to technical and organizational terms. In case of abuse the operator is allowed 
    14 to restrict your internet access. For more information contact the operator of 
    15 this gateway (<A HREF="cgi-bin-contact.html">contact</A>). 
     11Si vous voyez cette page, cela signifie que votre acc&egrave;s internet a &eacute;t&eacute; bloqu&eacute; par l'op&eacute;rateur de cette passerelle. L'utilisation de l'internet &agrave; travers les r&eacute;seaux Freifunk est soumis &agrave; des conditions techniques et organisationnelles. En cas d'abus, l'op&eacute;rateur est autoris&eacute; &agrave; restreindre l'acc&egrave;s &agrave; l'internet. Pour obtenir plus d'informations, veuillez contacter l'op&eacute;rateur de cette passerelle (<A HREF="cgi-bin-contact.html">contact</A>). 
    1612</P> 
    1713<P> 
    18 <B>Problems or questions</B> are discussed on the <A HREF="http://">mailinglist</A> 
     14Les Probl&egrave;mes ou questions</B> sont d&eacute;battus sur la <A HREF="http://freifunk.net/mailinglisten">mailing-list. 
    1915</P> 
    2016<H2> 
    21 Some links 
     17Quelques liens: 
    2218</H2> 
    2319<UL> 
    2420<LI> 
    25 <A HREF="http://">Firmware information</A> 
     21<A HREF="http://freifunk.net/wiki/FreifunkFirmwareEnglish">A propos du firmware Freifunk</A> 
    2622</LI> 
    2723<LI> 
    28 <A HREF="http://">What is OLSR ?</A> 
     24<A HREF="http://www.olsr.org/">Qu'est-ce qu'OLSR ? 
    2925</LI> 
    3026</UL> 
  • firmware/trunk/freifunk/build_ffw/www/cgi-bin-index.html

    r269 r380  
    88<H1>Bonjour&nbsp;!</H1> 
    99<P>Vous 
    10 &ecirc;tes sur le site web d'un point d'acc&egrave;s Wireless-fr (F&eacute;d&eacute;ration France Wireless). Ce site est en version TAR_VERSION<BR> 
     10&ecirc;tes sur le site web d'un point d'acc&egrave;s Wireless-fr (F&eacute;d&eacute;ration France Wireless). Ce site est en version Polaris-0.2.1_RELEASE. Il est adapté d'aprés la version freifunk TAR_VERSION<BR>. 
    1111 
    1212N'h&eacute;sitez pas &agrave; lire les informations techniques d&eacute;taill&eacute;es 
     
    2929<H2>Quelques Liens </H2> 
    3030<UL> 
     31<LI><A HREF="http://www.wireless-fr.org/">Le site de la France Wireless</A></LI> 
    3132<LI><A HREF="http://www.freifunk.net/wiki/FreifunkFirmwareEnglish">La 
    3233page Freifunk Firmware Freifunk.net (EN)</A></LI> 
  • firmware/trunk/freifunk/build_ffw/www/cgi-bin-pre.sh

    r265 r380  
    11#!/bin/sh 
     2_uptime="$(uptime)" 
     3_loadavg="${_uptime#*load average: }" 
     4_uptime="${_uptime#*up }" 
     5_uptime="${_uptime%%,*}" 
     6_hostname=$(cat /proc/sys/kernel/hostname) 
     7_version=$( grep "(" /etc/version ) 
     8_version="${_version%% ---*}" 
     9 
    210echo Content-type: text/html 
    311echo 
     
    4351</div> 
    4452<div id="header"> 
     53        <div id="logo"><img src="images/logo.png" /></div> 
     54        <div id="polaris-title"><h1>Console d'administration</h1></div> 
     55        <div id="polaris-title2"><h1>du R&eacute;seau Polaris</h1></div> 
     56        <div id="short-status"> 
     57                <ul> 
     58                        <li><strong>Host Name:</strong> $_hostname</li> 
     59                        <li><strong>Uptime:</strong> $_uptime</li> 
     60                        <li><strong>Charge syst&egrave;me:</strong> $_loadavg</li> 
     61                        <li><strong>Version:</strong> $_version</li> 
     62                </ul> 
     63        </div> 
    4564</div> 
    4665<div id="sidebar_left"> 
  • firmware/trunk/freifunk/build_ffw/www/cgi-bin-register.html

    r266 r380  
    22 
    33export DATE="xx.xx.xxxx";SCRIPT=${0#/rom} 
    4 export TITLE="OLSR Internet Access
     4export TITLE="Acc&egrave;s Internet via OLSR
    55. ${SCRIPT%/*}/cgi-bin-pre.sh 
    66 
    77cat<<EOF 
    88<H1> 
    9 OLSR Internet Access 
     9Acc&egrave;s Internet via OLSR 
    1010</H1> 
    1111<P> 
    12 If you see that webpage you use an IP (network number) 
    13 which is not registered within the Freifunk-Network. The registration 
    14 prevents multiple users using the same IP and enables other users 
    15 contacting you. All registered users will be informed about problemes 
    16 and changes on the network. You can register <A HREF="http://">here</A>. 
    17 Further information about our project can be found on <A HREF="http://">http://</A>. 
     12Si vous voyez cette page, cela signifie que vous utilisez une adresse IP qui n'est pas r&eacute;pertori&eacute;e au sein du r&eacute;seau Freifunk. L'enregistrement des adresses IP &eacute;vite que plusieurs usagers emploient la m&ecirc;me adresse et permet &agrave; d'autres usagers de vous contacter. Tous les utilisateurs enregistr&eacute;s seront inform&eacute;s des probl&egrave;mes et des changements dans le r&eacute;seau. Vous pouvez vous enregistrer <A HREF="http://">ici</A>. Pour obtenir plus d'informations &agrave; propos de notre projet, voir <A HREF="http://">http://</A>. 
    1813</P> 
    1914<P> 
    20 <B>Problems or questions</B> are discussed on the <A HREF="http://">mailinglist</A> 
     15Les Probl&egrave;mes ou questions</B> sont d&eacute;battus sur la <A HREF="http://freifunk.net/mailinglisten">mailing-list</A>. 
    2116</P> 
    2217<H2> 
    23 Some links 
     18Quelques liens: 
    2419</H2> 
    2520<UL> 
    2621<LI> 
    27 <A HREF="http://">Firmware information</A> 
     22<A HREF="http://freifunk.net/wiki/FreifunkFirmwareEnglish">A propos du firmware Freifunk</A> 
    2823</LI> 
    2924<LI> 
    30 <A HREF="http://">What is OLSR ?</A> 
     25<A HREF="http://www.olsr.org/">Qu'est-ce qu'OLSR ? 
    3126</LI> 
    3227</UL> 
  • firmware/trunk/freifunk/build_ffw/www/cgi-bin-viz.html

    r266 r380  
    11#!/bin/sh 
    22 
    3 export DATE="xx.xx.xxxx";SCRIPT=${0#/rom} 
     3export DATE="5.10.2007";SCRIPT=${0#/rom} 
    44export TITLE="OLSR Viz" 
    55. ${SCRIPT%/*}/cgi-bin-pre.sh 
     
    1212</TABLE> 
    1313<P>&nbsp;</P></NOSCRIPT> 
     14<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> 
     15var css=document.styleSheets[0]; 
     16if (null!=css.insertRule) { 
     17css.insertRule(".label {color:black;background-color:white}", css.cssRules.length); 
     18} 
     19else { 
     20css.addRule(".label", "color:black"); 
     21css.addRule(".label", "background-color:white"); 
     22} 
     23</SCRIPT> 
    1424<SCRIPT SRC="olsr-viz.js" LANGUAGE="JavaScript1.2" TYPE="text/javascript"></SCRIPT> 
    1525<DIV ID="main" 
     
    2333| &nbsp;<B TITLE="Limits the view to a maximal hop distance.">Metric</B>&nbsp;<A HREF="javascript:set_maxmetric(maxmetric+1)">+</A>&nbsp;<A HREF="javascript:if(0<maxmetric)set_maxmetric(maxmetric-1)">&ndash;</A>&nbsp;<INPUT ID="maxmetric" NAME="maxmetric" TYPE="text" VALUE="3" SIZE="4" ONCHANGE="set_maxmetric(this.value)">&nbsp; 
    2434| &nbsp;<B TITLE="Enables the automatic layout optimization.">Optimization</B><INPUT ID="auto_declump" NAME="auto_declump" TYPE="checkbox" ONCHANGE="set_autodeclump(this.checked)" CHECKED="CHECKED">&nbsp; 
     35| &nbsp;<B TITLE="Show hostnames.">Hostnames</B><INPUT ID="show_hostnames" NAME="show_hostnames" TYPE="checkbox" ONCHANGE="set_showdesc(this.checked)" CHECKED="CHECKED">&nbsp; 
    2536| &nbsp;<A HREF="javascript:viz_save()" TITLE="Saves the current settings to a cookie.">Save</A>&nbsp; 
    2637| &nbsp;<A HREF="javascript:viz_reset()" TITLE="Restarts the Viz script.">Reset</A></P> 
  • firmware/trunk/freifunk/build_ffw/www/cgi-bin-vizdata.html

    r265 r380  
    2222wget http://localhost:2006 -qO - | sed -n " 
    2323/^Table: Links$/,/^$/ { 
    24 s#\($re_ip\)$re_sep\($re_ip\)\($re_sep$re_nosep\)\{5\}$re_sep\($re_nosep\)#parent.touch_edge(parent.touch_node('\1',1),parent.touch_node('\2',1),'\4');#p 
     24s#\($re_ip\)$re_sep\($re_ip\)\($re_sep$re_nosep\)\{5\}$re_sep\($re_nosep\)#parent.touch_edge(parent.touch_node('\1').set_metric(1).update(),parent.touch_node('\2').set_metric(1).update(),'\4');#p 
    2525} 
    2626/^Table: Topology$/,/^$/ { 
    27 s#\($re_ip\)$re_sep\($re_ip\)\($re_sep$re_nosep\)\{2\}$re_sep\($re_nosep\)#parent.touch_edge(parent.touch_node('\1'),parent.touch_node('\2'),'\4');#p 
     27s#\($re_ip\)$re_sep\($re_ip\)\($re_sep$re_nosep\)\{2\}$re_sep\($re_nosep\)#parent.touch_edge(parent.touch_node('\1').update(),parent.touch_node('\2').update(),'\4');#p 
    2828} 
    2929/^Table: HNA$/,/^$/ { 
     
    3131} 
    3232/^Table: Routes$/,/^$/ { 
    33 s#\($re_ip\)$re_sep$re_nosep$re_sep\($re_nosep\).*#parent.set_metric('\1','\2');#p 
     33s#\($re_ip\)/32$re_sep$re_nosep$re_sep\($re_nosep\).*#parent.touch_node('\1').set_metric('\2').update();#p 
    3434} 
    3535" 
     36 
     37sed -n " 
     38s#\($re_ip\)$re_sep\($re_nosep\)$re_sep.*#parent.touch_node('\1').set_desc('\2');#p 
     39" < /etc/hosts 
    3640 
    3741cat<<EOF 
  • firmware/trunk/freifunk/build_ffw/www/cgi-bin/cgi-bin-index-pre.sh

    r265 r380  
    11#!/bin/sh 
     2_uptime="$(uptime)" 
     3_loadavg="${_uptime#*load average: }" 
     4_uptime="${_uptime#*up }" 
     5_uptime="${_uptime%%,*}" 
     6_hostname=$(cat /proc/sys/kernel/hostname) 
     7_version=$( grep "(" /etc/version ) 
     8_version="${_version%% ---*}" 
     9 
    210echo Content-type: text/html 
    311echo 
     
    105113</div> 
    106114<div id="header"> 
     115        <div id="logo"><img src="../images/logo.png" /></div> 
     116        <div id="polaris-title"><h1>Console d'administration</h1></div> 
     117        <div id="polaris-title2"><h1>du R&eacute;seau Polaris</h1></div> 
     118        <div id="short-status"> 
     119                <ul> 
     120                        <li><strong>Host Name:</strong> $_hostname</li> 
     121                        <li><strong>Uptime:</strong> $_uptime</li> 
     122                        <li><strong>Charge syst&egrave;me:</strong> $_loadavg</li> 
     123                        <li><strong>Version:</strong> $_version</li> 
     124                </ul> 
     125        </div> 
    107126</div> 
    108127<div id="submenu"> 
  • firmware/trunk/freifunk/build_ffw/www/cgi-bin/cgi-bin-pre.sh

    r265 r380  
    11#!/bin/sh 
     2_uptime="$(uptime)" 
     3_loadavg="${_uptime#*load average: }" 
     4_uptime="${_uptime#*up }" 
     5_uptime="${_uptime%%,*}" 
     6_hostname=$(cat /proc/sys/kernel/hostname) 
     7_version=$( grep "(" /etc/version ) 
     8_version="${_version%% ---*}" 
     9 
    210echo Content-type: text/html 
    311echo 
     
    105113</div> 
    106114<div id="header"> 
     115        <div id="logo"><img src="../../images/logo.png" /></div> 
     116        <div id="polaris-title"><h1>Console d'administration</h1></div> 
     117        <div id="polaris-title2"><h1>du R&eacute;seau Polaris</h1></div> 
     118        <div id="short-status"> 
     119                <ul> 
     120                        <li><strong>Host Name:</strong> $_hostname</li> 
     121                        <li><strong>Uptime:</strong> $_uptime</li> 
     122                        <li><strong>Charge syst&egrave;me:</strong> $_loadavg</li> 
     123                        <li><strong>Version:</strong> $_version</li> 
     124                </ul> 
     125        </div> 
    107126</div> 
    108127<div id="submenu"> 
  • firmware/trunk/freifunk/build_ffw/www/cgi-bin/gateway.html

    r352 r380  
    22 
    33export DATE="xx.xx.xxxx";SCRIPT=${0#/rom} 
    4 export TITLE="Passerelle Internet" 
     4export TITLE="Administration : Passerelle Internet" 
    55. ${SCRIPT%/*}/cgi-bin-pre.sh 
    66 
    77cat<<EOF 
    8 <H1>Passerelle Internet</H1> 
    9 <P>Cette page vous permet de limiter la bande passante utilis&eacute;e par votre routeur. Vous pouvez aussi limiter la bande passante utilis&eacute;e par les utilisateurs qui ne sont pas présent sur la liste blanche.</P> 
     8<H1> 
     9Administration : Passerelle Internet 
     10</H1> 
    1011EOF 
    1112 
     
    2930<FORM ACTION="gateway.html" METHOD="POST"> 
    3031<TABLE CLASS="shadow0" CELLPADDING="0" CELLSPACING="0"><TR><TD><TABLE CLASS="shadow1" CELLPADDING="0" CELLSPACING="0"><TR><TD><TABLE CLASS="shadow2" CELLPADDING="0" CELLSPACING="0"><TR><TD><TABLE BORDER="0" CLASS="form"> 
    31 <TR TITLE="Enter external interface. Leave empty to disable gateway plugin."> 
    32 <TD>Interface de sortie:</TD> 
     32<TR TITLE="Entrez l'interface externe. Laissez vide pour d&eacute;sactiver le plugin passerelle."> 
     33<TD>Interface externe:</TD> 
    3334<TD><INPUT NAME="ff_gw_ext_if" SIZE="5" TYPE="TEXT" VALUE="$ff_gw_ext_if"></TD> 
    3435</TR> 
     
    3637<TD COLSPAN="2">&nbsp;</TD> 
    3738</TR> 
    38 <TR TITLE="Enter URL of IP whitelist. Leave empty to disable IP whitelisting."> 
    39 <TD>URL-Whitelist:</TD> 
     39<TR TITLE="Entrez l'URL de la liste blanche IP. Laissez vide pour d&eacute;sactiver la liste blanche IP."> 
     40<TD>URL de la liste blanche:</TD> 
    4041<TD><INPUT NAME="ff_gw_redirect_url" SIZE="60" TYPE="TEXT" VALUE="$ff_gw_redirect_url"></TD> 
    4142</TR> 
    4243<TR 
    43 TITLE="Enter MAC addresse(s) which should not be routed to the internet. Use space to seperate serveral MAC adresses. Leave empty to disable MAC blacklisting."> 
    44 <TD>MAC-Blacklist:</TD> 
     44TITLE="Entrez les adresses MAC qui ne doivent pas &ecirc;tre rout&eacute;es vers l'internet. Utilisez un espace pour s&eacte;parer plusieurs adresses MAC. Laissez vide pour d&eacute;sactiver la liste noire MAC."> 
     45<TD>Liste noire MAC:</TD> 
    4546<TD><INPUT NAME="ff_gw_redirect_mac" SIZE="60" TYPE="TEXT" VALUE="$ff_gw_redirect_mac"></TD> 
    4647</TR> 
    4748<TR 
    48 TITLE="Enter IP addresse(s) which should not be routed to the internet. Use space to seperate serveral IP adresses. Leave empty to disable IP blacklisting."> 
    49 <TD>IP-Blacklist:</TD> 
     49TITLE="Entrez les adresses IP qui ne doivent pas &ecirc;tre rout&eacute;es vers l'internet. Utilisez un espace pour s&eacte;parer plusieurs adresses IP. Laissez vide pour d&eacute;sactiver la liste noire IP."> 
     50<TD>Liste noire IP:</TD> 
    5051<TD><INPUT NAME="ff_gw_redirect_ip" SIZE="60" TYPE="TEXT" VALUE="$ff_gw_redirect_ip"></TD> 
    5152</TR> 
     
    5354<TD COLSPAN="2">&nbsp;</TD> 
    5455</TR> 
    55 <TR TITLE="Block P2P traffic (Bittorrent, Edonkey, Kazaa)"> 
    56 <TD>block P2P traffic:</TD> 
     56<TR TITLE="Bloquer le trafic P2P (Bittorrent, Edonkey, Kazaa)"> 
     57<TD>Bloquer le trafic P2P:</TD> 
    5758<TD> 
    5859<SPAN STYLE="white-space: nowrap;"><INPUT CLASS="radio" NAME="ff_gw_filter_block_p2p" TYPE="RADIO" VALUE="1"$(if [ "$ff_gw_filter_block_p2p" != "0" ];then echo ' checked="checked"';fi)>Activ&eacute;&nbsp;</SPAN> 
     
    6364<TD COLSPAN="2">&nbsp;</TD> 
    6465</TR> 
    65 <TR TITLE="Enable/disable accounting."> 
    66 <TD>Accounting:</TD> 
     66<TR TITLE="Active/d&eacute;sactive le comptage."> 
     67<TD>Comptage:</TD> 
    6768<TD> 
    6869<SPAN STYLE="white-space: nowrap;"><INPUT CLASS="radio" NAME="ff_gw_pmacct_enabled" ONCLICK="this.form.ff_gw_pmacct_in_filter.disabled=false;this.form.ff_gw_pmacct_out_filter.disabled=false;" TYPE="RADIO" VALUE="1"$(if [ "$ff_gw_pmacct_enabled" != "0" ];then echo ' checked="checked"';fi)>Activ&eacute;&nbsp;</SPAN> 
     
    7071</TD> 
    7172</TR> 
    72 <TR TITLE="pmacct filter for incoming traffic."> 
    73 <TD>filer (incoming):</TD> 
     73<TR TITLE="Filtre du comptage pour le trafic entrant."> 
     74<TD>Filtre (entrant):</TD> 
    7475<TD><INPUT NAME="ff_gw_pmacct_in_filter" SIZE="60" TYPE="TEXT" VALUE="$(nvram get ff_gw_pmacct_in_filter)"$(if [ "$ff_gw_pmacct_enabled" != "1" ];then echo ' disabled="disabled"';fi)></TD> 
    7576</TR> 
    76 <TR TITLE="pmacct filter for outgoing traffic."> 
    77 <TD>filer (outgoing):</TD> 
     77<TR TITLE="Filtre du comptage pour le trafic sortant."> 
     78<TD>Filtre (sortant):</TD> 
    7879<TD><INPUT NAME="ff_gw_pmacct_out_filter" SIZE="60" TYPE="TEXT" VALUE="$(nvram get ff_gw_pmacct_out_filter)"$(if [ "$ff_gw_pmacct_enabled" != "1" ];then echo ' disabled="disabled"';fi)></TD> 
    7980</TR> 
     
    8182<TD COLSPAN="2">&nbsp;</TD> 
    8283</TR> 
    83 <TR TITLE="Enable/disable traffic shaping."> 
     84<TR TITLE="Active/d&eacute;sactive le traffic shaping."> 
    8485<TD>Traffic Shaping:</TD> 
    8586<TD> 
     
    8889</TD> 
    8990</TR> 
    90 <TR TITLE="Choose the total bandwidth of your internet connection."> 
    91 <TD>bandwidth:</TD> 
    92 <TD><SELECT NAME="ff_gw_trafsh_bw_total"$(if [ "$ff_gw_trafsh_enabled" != "1" ];then echo ' disabled="disabled"';fi)><OPTION VALUE="256">256 kbit/s</OPTION> 
     91<TR TITLE="Choisissez la bande passante totale de votre connexion internet"> 
     92<TD>Bande passante:</TD> 
     93<TD><SELECT NAME="ff_gw_trafsh_bw_total"$(if [ "$ff_gw_trafsh_enabled" != "1" ];then echo ' disabled="disabled"';fi)><OPTION VALUE="128">128 kbit/s</OPTION> 
     94<OPTION 
     95VALUE='256' $(test "$ff_gw_trafsh_bw_total" = "256" && echo "selected=selected")>256 
     96kbit/s</OPTION> 
    9397<OPTION 
    9498VALUE='768' $(test "$ff_gw_trafsh_bw_total" = "768" && echo "selected=selected")>768 
     
    113117Mbit/s</OPTION> 
    114118<OPTION 
     119VALUE='8096' $(test "$ff_gw_trafsh_bw_total" = "8096" && echo "selected=selected")>8 
     120Mbit/s</OPTION> 
     121<OPTION 
    115122VALUE='16384' $(test "$ff_gw_trafsh_bw_total" = "16384" && echo "selected=selected")>16 
    116123Mbit/s</OPTION></SELECT></TD> 
    117124</TR> 
    118 <TR TITLE="How many percent of the available bandwidth should be accessable by others ?"> 
    119 <TD>share:</TD> 
    120 <TD><INPUT NAME="ff_gw_trafsh_bw_other" SIZE="5" TYPE="TEXT" VALUE="$ff_gw_trafsh_bw_other"$(if [ "$ff_gw_trafsh_enabled" != "1" ];then echo ' disabled="disabled"';fi)>&nbsp;percent</TD> 
    121 </TR> 
    122 <TR> 
    123 <TD COLSPAN="2">&nbsp;</TD> 
    124 </TR> 
    125 <TR> 
    126 <TD COLSPAN="2"><INPUT NAME="post_gateway" TITLE="Appliquer les paramètres. Ils seront effectifs au prochain redémarrage." TYPE="SUBMIT" VALUE="Appliquer">&nbsp;&nbsp;&nbsp;<INPUT NAME="post_abort" TITLE="Annuler cette page." TYPE="SUBMIT" VALUE="Annuler">&nbsp;&nbsp;&nbsp;<INPUT NAME="post_ip_refresh" TITLE="Update IP whitelist and activate it" TYPE="SUBMIT" VALUE="Update IPs">&nbsp;&nbsp;&nbsp;<INPUT NAME="post_pmacct_backup" TITLE="Do accounting backup now" TYPE="SUBMIT" VALUE="Accounting-Backup"></TD> 
     125<TR TITLE="Quel pourcentage de la bande passante doit être partag&eacute; avec d'autres ?"> 
     126<TD>Partage:</TD> 
     127<TD><INPUT NAME="ff_gw_trafsh_bw_other" SIZE="5" TYPE="TEXT" VALUE="$ff_gw_trafsh_bw_other"$(if [ "$ff_gw_trafsh_enabled" != "1" ];then echo ' disabled="disabled"';fi)>&nbsp;pourcent</TD> 
     128</TR> 
     129<TR> 
     130<TD COLSPAN="2">&nbsp;</TD> 
     131</TR> 
     132<TR> 
     133<TD COLSPAN="2"><INPUT NAME="post_gateway" TITLE="Appliquer les paramètres. Ils seront effectifs au prochain redémarrage." TYPE="SUBMIT" VALUE="Appliquer">&nbsp;&nbsp;&nbsp;<INPUT NAME="post_abort" TITLE="Annuler cette page." TYPE="SUBMIT" VALUE="Annuler">&nbsp;&nbsp;&nbsp;<INPUT NAME="post_ip_refresh" TITLE="Mettre &agrave; jour et activer la liste blanche IP" TYPE="SUBMIT" VALUE="Mettre à jour les IPs">&nbsp;&nbsp;&nbsp;<INPUT NAME="post_pmacct_backup" TITLE="Sauvegarder le comptage maintenant" TYPE="SUBMIT" VALUE="Sauvegarde du comptage"></TD> 
    127134</TR> 
    128135</TABLE></TD></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE></FORM> 
    129 <H3>State:</H3> 
     136<H3>Etat:</H3> 
    130137<UL> 
    131138EOF 
     
    143150 
    144151cat<<EOF 
    145 <LI>URL whitelist, MAC and IP blacklist enabled 
    146 EOF 
    147  
    148 else 
    149  
    150 cat<<EOF 
    151 <LI>URL whitelist and MAC blacklist enabled 
     152<LI>URL de la liste blanche, listes noires MAC et IP activ&eacute;s 
     153EOF 
     154 
     155else 
     156 
     157cat<<EOF 
     158<LI>URL de la liste blanche et liste noire MAC activ&eacute;s 
    152159EOF 
    153160 
     
    158165 
    159166cat<<EOF 
    160 <LI>URL whitelist and IP blacklist enabled 
    161 EOF 
    162  
    163 else 
    164  
    165 cat<<EOF 
    166 <LI>URL whitelist enabled 
     167<LI>URL de la liste blanche et liste noire IP activ&eacute;s 
     168EOF 
     169 
     170else 
     171 
     172cat<<EOF 
     173<LI>URL de la liste blanche activ&eacute;e 
    167174EOF 
    168175 
     
    176183 
    177184cat<<EOF 
    178 <LI>MAC and IP blacklist enabled 
    179 EOF 
    180  
    181 else 
    182  
    183 cat<<EOF 
    184 <LI>MAC blacklist enabled 
     185<LI>Listes noires MAC et IP activ&eacute;es 
     186EOF 
     187 
     188else 
     189 
     190cat<<EOF 
     191<LI>Liste noire MAC activ&eacute;e 
    185192EOF 
    186193 
     
    191198 
    192199cat<<EOF 
    193 <LI>IP blacklist enabled 
    194 EOF 
    195  
    196 else 
    197  
    198 cat<<EOF 
    199 <LI>URL whitelist enabled 
     200<LI>Liste noire MAC activ&eacute;e 
     201EOF 
     202 
     203else 
     204 
     205cat<<EOF 
     206<LI>URL de la liste blanche activ&eacute;e 
    200207EOF 
    201208 
     
    209216 
    210217cat<<EOF 
    211 and active. Last IP update
     218et actif. Derni&egrave;re mise à jour des IPs
    212219EOF 
    213220 
     
    223230 
    224231cat<<EOF 
    225 but <B>inactive</B> because a problem occurred.<BR>Error message
     232mais <B>inactif</B> parce qu'un probl&egrave;me est survenu.<BR>Message d'erreur
    226233EOF 
    227234 
     
    235242 
    236243cat<<EOF 
    237 but <B>inactive</B>. No IP update yet.</LI> 
    238 EOF 
    239  
    240 fi 
    241 fi 
    242 else 
    243  
    244 cat<<EOF 
    245 but <B>inactive</B>. No IP update yet.</LI> 
    246 EOF 
    247  
    248 fi 
    249 else 
    250  
    251 cat<<EOF 
    252 <LI>Redirect disabled.</LI> 
     244mais <B>inactif. Aucune mise à jour des IP pour l'instant.</LI> 
     245EOF 
     246 
     247fi 
     248fi 
     249else 
     250 
     251cat<<EOF 
     252mais <B>inactif. Aucune mise à jour des IP pour l'instant.</LI> 
     253EOF 
     254 
     255fi 
     256else 
     257 
     258cat<<EOF 
     259<LI>Redirection d&eacute;sactiv&eacute;e.</LI> 
    253260EOF 
    254261 
     
    260267 
    261268cat<<EOF 
    262 <LI>Accounting enabled but not activated yet (reboot neccessary).</LI> 
    263 EOF 
    264  
    265 else 
    266  
    267 cat<<EOF 
    268 <LI>Accounting active.</LI> 
    269 EOF 
    270  
    271 fi 
    272 else 
    273  
    274 cat<<EOF 
    275 <LI>Accounting disabled.</LI> 
     269<LI>Comptage activ&eacute;, mais pas encore en service (red&eacute;marrage n&eacute;cessaire).</LI> 
     270EOF 
     271 
     272else 
     273 
     274cat<<EOF 
     275<LI>Comptage activ&eacute;.</LI> 
     276EOF 
     277 
     278fi 
     279else 
     280 
     281cat<<EOF 
     282<LI>Comptage d&eacute;sactiv&eacute;.</LI> 
    276283EOF 
    277284 
     
    283290 
    284291cat<<EOF 
    285 <LI>Traffic Shaping active.</LI> 
    286 EOF 
    287  
    288 else 
    289  
    290 cat<<EOF 
    291 <LI>Traffic Shaping enabled but not activated yet (reboot neccessary).</LI> 
    292 EOF 
    293  
    294 fi 
    295 else 
    296  
    297 cat<<EOF 
    298 <LI>Traffic Shaping disabled.</LI> 
    299 EOF 
    300  
    301 fi 
    302 else 
    303  
    304 cat<<EOF 
    305 <LI><B>No external Interface specified - gateway plugin disabled.</B></LI> 
     292<LI>Traffic Shaping activ&eacute;.</LI> 
     293EOF 
     294 
     295else 
     296 
     297cat<<EOF 
     298<LI>Traffic Shaping activ&eacute;, mais pas encore en service (red&eacute;marrage n&eacute;cessaire).</LI> 
     299EOF 
     300 
     301fi 
     302else 
     303 
     304cat<<EOF 
     305<LI>Traffic Shaping d&eacute;sactiv&eacute;.</LI> 
     306EOF 
     307 
     308fi 
     309else 
     310 
     311cat<<EOF 
     312<LI><B>Interface externe non sp&eacute;cifi&eacute;e - plugin passerelle d&eacute;sactiv&eacute;.</B></LI> 
    306313EOF 
    307314 
     
    362369<TBODY> 
    363370<TR> 
    364 <TD>Die ge&auml;nderten Einstellungen wurden &uuml;bernommen. Die 
    365 Einstellungen sind erst beim n&auml;chsten <A HREF="reset.html">Neustart</A> 
    366 aktiv.</TD> 
     371<TD>Les changements sont enregistr&eacute;s. Les param&egrave;tres seront utilis&eacute;s au prochain <A HREF="reset.html">red&eacute;marrage</A>.</TD> 
    367372</TR></TBODY> 
    368373</TABLE> 
     
    375380<TBODY> 
    376381<TR> 
    377 <TD>Es wurden keine Einstellungen ge&auml;ndert.</TD> 
     382<TD>Aucun changement n'a &eacute;t&eacute; effectu&eacute;.</A>.</TD> 
    378383</TR></TBODY> 
    379384</TABLE> 
  • firmware/trunk/freifunk/build_ffw/www/cgi-bin/network/pppoecd.html

    r306 r380  
    137137<TD>Les 
    138138changements sont activ&eacute;s. Les param&egrave;tre seront utilis&eacute;s 
    139 au prochain <A HREF="reset.html">Red&eacute;marrage</A>.</TD> 
     139au prochain <A HREF="../reset.html">Red&eacute;marrage</A>.</TD> 
    140140</TR> 
    141141</TABLE> 
  • firmware/trunk/freifunk/build_ffw/www/cgi-bin/state/cgi-bin-status.html

    r267 r380  
    310310s/^[^   ]*      // 
    311311s/^remote // 
    312 s#\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\([^/]\)#<A HREF="http://\1/cgi-bin-status.html">\1</A>\2#g 
     312s#\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\([^/]\)#<A HREF="http://\1/cgi-bin/state/cgi-bin-status.html">\1</A>\2#g 
    313313s/      $// 
    314314s#      #</TD><TD>#g 
  • firmware/trunk/freifunk/build_ffw/www/cgi-bin/state/index.html

    r267 r380  
    310310s/^[^   ]*      // 
    311311s/^remote // 
    312 s#\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\([^/]\)#<A HREF="http://\1/cgi-bin-status.html">\1</A>\2#g 
     312s#\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\([^/]\)#<A HREF="http://\1/cgi-bin/state/cgi-bin-status.html">\1</A>\2#g 
    313313s/      $// 
    314314s#      #</TD><TD>#g 
  • firmware/trunk/freifunk/build_ffw/www/ff.css

    r265 r380  
    11#header { 
    22        width: 100%; 
    3         height: 50px; 
     3        padding-top: 2em; 
     4        padding-bottom: 0.2em; 
     5        height: 60px; 
    46        background-color: #d3e5ed; 
    57        border-top: 1px solid #2481a9; 
    68} 
     9logo { 
     10        clear: both; 
     11        position: relative; 
     12        float: left; 
     13        left: 7px; 
     14} 
     15#polaris-title { 
     16        position: absolute; 
     17        float: left; 
     18        left: 9em; 
     19        top: 1.8em; 
     20} 
     21#polaris-title h1 { 
     22        font-size: 2.0em; 
     23} 
     24#polaris-title2 { 
     25        position: absolute; 
     26        float: left; 
     27        left: 21em; 
     28        top: 3.8em; 
     29} 
     30#polaris-title2 h1 { 
     31        font-size: 2.0em; 
     32} 
     33#short-status { 
     34        position: absolute; 
     35        right: 2em; 
     36        line-height: 1.2em; 
     37        padding-bottom: 25.2em; 
     38        top: 1.5em; 
     39} 
     40#short-status ul { 
     41        font-size: 0.8em; 
     42} 
     43#short-status h3 { 
     44        font-size: 0.9em; 
     45} 
    746#menu { 
     47        position: absolute; 
    848        width: 100%; 
     49        padding-top: 0.2em; 
     50        padding-bottom: 0.2em; 
    951} 
    1052#subsubmenu  { 
  • firmware/trunk/freifunk/build_ffw/www/olsr-viz.js

    r265 r380  
    11/* 
    22Copyright (c) 2006, Lorenz Schori <lo@znerol.ch> 
    3 All rights reserved (Naja: Ich hab' trotzdem was geaendert. Sven-Ola). 
     3All rights reserved (Naja: Ich hab' trotzdem was geaendert. Sven-Ola). (Naja: 
     4diese Rechte garantiert dir die BSD-Lizenz ja ausdrÃŒcklich. Lorenz) 
    45 
    56Redistribution and use in source and binary forms, with or without 
     
    2728 
    2829OLSR-Viz is inspired by Wi-viz: http://wiviz.natetrue.com 
     30 
     31Changes: 
     322007-10-04: Added hostname display option -- Stefan Katerkamp <stefan@katerkamp.de>. 
     332007-10-04: Optimized display by moving presentation css out of js -- lo 
    2934*/ 
    3035 
     
    5257var dcllow_timeout = 500; 
    5358var auto_declump = true; 
     59var showdesc = true; 
    5460var auto_save = 1; 
    5561var now_secs = 0; 
    56  
    57 var stupid = eval('window.attachEvent') ? 1 : 0; 
    5862 
    5963// dom elements 
     
    104108                dy = this.n2.y*scale - y; 
    105109 
    106                 x += xoff*scale + 26
    107                 y += yoff*scale + 26
     110                x += xoff*scale + 75
     111                y += yoff*scale + 15
    108112 
    109113                imgtag = "<img src='images/dot_" 
     
    131135                } 
    132136 
    133                 nh += "<a href='#' style='top:" 
    134                 + parseInt(y+dy * 0.5) + "px; left:" 
    135                 + parseInt(x+dx * 0.5) + "px; " 
    136                 + "position: absolute; z-index: 3; text-decoration: none; " 
    137                 + "font-size: 9pt; margin:2px; background-color:white; color:black;' >" 
    138                 + this.etx + "</a>"; 
     137                nh += "<div style='top:" 
     138                + parseInt(y+dy * 0.5 - 5) + "px; left:" 
     139                + parseInt(x+dx * 0.5 - 24) + "px; " 
     140                + "position: absolute; z-index: 3; width: 48px; text-align: center;' >" 
     141                + "<span class='label etx' >" + this.etx + "</span></div>"; 
    139142 
    140143                return nh; 
     
    218221                        } 
    219222                } 
    220                 nh = "<div id='node_" + this.ip + "' onmousedown='dragstart(this)' style=" 
     223                nh = 
     224                        "<div id='node_" + this.ip + "' onmousedown='dragstart(this)' style=" 
    221225                        + "'top: " + parseInt((this.y+yoff)*scale) + "px; " 
    222226                        + "left: " + parseInt((this.x+xoff)*scale) + "px; " 
    223                         + "position: absolute; background-color: transparent; " 
    224                         + "text-align: center; width: 60px; z-index: 4' >" 
    225                         + "<a style='color:black; " 
    226                         + "font-size:9pt; text-decoration:none;' " 
    227                         + "href='http://" + this.ip + "/'>" 
    228                         + "<img src='images/node"+(igw ? "-hna" : "")+iconvariant + ".gif'" 
     227                        + "width: 150px; height: 1px; z-index: 4; " 
     228                        + "position: absolute; background-color: transparent;' >" 
     229                        + "<div><img src='images/node"+(igw ? "-hna" : "")+iconvariant + ".gif'" 
    229230                        + " alt='node " + this.ip + "' style='border: none;'><br>" 
    230                         +       "<span>" + this.ip + "</span></a>" 
    231                         + "</div>"; 
     231                        +       "<a href='http://" + this.ip + "/'>" 
     232                        +       "<span class='label ip'>" + this.ip + "</span></a>" 
     233                        +       (showdesc && this.desc != "" ?  
     234                                                "<br><span class='label desc'>" + this.desc + "</span>" : "") 
     235                        + "</div></div>"; 
    232236                return nh; 
    233237        } 
     
    247251                ncount--; 
    248252        } 
    249  
     253         
     254        this.set_metric = function(metric) { 
     255                this.metric = metric; 
     256                return this; 
     257        } 
     258         
     259        this.set_desc = function(desc) { 
     260                this.desc = desc 
     261                return this; 
     262        } 
     263         
     264        this.update = function() { 
     265                this.lastseen = now_secs; 
     266                return this; 
     267        } 
     268         
    250269        this.ip = ip; 
    251270        this.x = 0; 
     
    259278        this.pinned = false; 
    260279        this.metric = 999; 
     280        this.desc = ""; 
    261281 
    262282        ncount++; 
     
    264284} 
    265285 
    266 function touch_node(ip,metric,desc) { 
     286function touch_node(ip) { 
    267287        n = nodes[ip]; 
    268288        if(!n) { 
     
    273293                newnodes[newnodes.length] = n; 
    274294        } 
    275         if(metric) { 
    276                 n.metric=metric; 
    277         } 
    278         if(desc) { 
    279                 n.desc=desc; 
    280         } 
    281         n.lastseen = now_secs; 
    282295        return n; 
    283 } 
    284  
    285 function touch_mid(mid_ip,alias_ip) { 
    286         if(n = nodes[alias_ip]) { 
    287                 delete nodes[alias_ip]; 
    288         } 
    289 } 
    290  
    291 function set_metric(ip,metric) { 
    292         n = nodes[ip]; 
    293         if(n && metric) { 
    294                 n.metric=metric; 
    295         } 
    296296} 
    297297 
     
    519519} 
    520520 
     521function set_showdesc(doit) 
     522{ 
     523        showdesc = doit; 
     524        if(!noupdate) refresh(); 
     525} 
     526 
    521527function set_autodeclump(doit) 
    522528{