Changeset 496

Show
Ignore:
Timestamp:
07/13/08 00:48:25 (3 months ago)
Author:
thierry
Message:

v 1.0.1.0
Ajout dans la liste des abonnés pour chaque abonné, le nom du HotSpot?
auquel il est connecté.
Arrangement de la présentation du tableau dans la liste des abonnés
du frontend.
Dans le backend, page About, ajout de l'information de phase du composant:
alpha, beta, ou stable.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • com_asradius/trunk/admin.asradius.html.php

    r494 r496  
    6464                <td align="center"> 
    6565                 
    66                 <h2 align="center"><?php echo _ASR_VERSION; ?> : <?php echo $confManager->_config->version; ?> </h2> 
     66                <h2 align="center"><?php echo _ASR_VERSION; ?> : <?php echo $confManager->_config->phase; ?>&nbsp;<?php echo $confManager->_config->version; ?> </h2> 
    6767 
    6868                <div style='text-align: left;margin: 0px auto; width: 600px;'> 
     
    308308                        <th class="title" nowrap="true"><?= _ASR_PRENOMCLI; ?></th> 
    309309                        <th class="title" nowrap="true"><?= _ASR_LOGINPASSCLI; ?></th> 
     310                        <th class="title" nowrap="true"><?= _ASR_HOTSPOTCLI; ?></th> 
    310311                        <th class="title" nowrap="true"><?= _ASR_CPVILLECLI; ?></th> 
    311312                        <th class="title" nowrap="true"><?= _ASR_TELCLI; ?></th> 
     
    364365      $nbONLINE = 0; 
    365366      if ($BDOK == 0) { 
    366           $sqlONLINE = "SELECT UserName, " . 
     367          $sqlONLINE = "SELECT UserName, CalledStationId, " . 
    367368          "AcctTerminateCause FROM ".$confManager->_config->tableBDradiusAcct . 
    368369          " WHERE UserName = '".$rows[$i]->logincli."' AND AcctTerminateCause = '';"; 
     
    374375      } else { 
    375376      $ligcolor = "online"; 
     377       
     378      $objONLINE = mysql_fetch_object ($resONLINE); 
     379      $hotspot = $objONLINE->CalledStationId; 
    376380      } 
    377381       
     
    401405                                        <td>&nbsp;</td> 
    402406          <?php } ?> 
    403            
     407 
     408                                        <td><?= $hotspot; ?></td> 
    404409                                        <td><?= $cpvillecli; ?></td> 
    405410                                        <td><?= $telcli; ?></td> 
  • com_asradius/trunk/asradius.config.php

    r494 r496  
    4343// Derniere modification le : Thu, 2008-May-22 11:38 
    4444// par : admin 
    45 var $version = "1.0.0.0"; 
     45var $version = "1.0.1.0"; 
    4646var $phase = "STABLE"; 
    4747var $authorMail = "thierry@airmesh.eu"; 
  • com_asradius/trunk/asradius.html.php

    r494 r496  
    8787 
    8888                ?> 
    89                 <table width="100%" border="0" cellspacing="4" cellpadding="4" align="center"> 
     89                <table width="100%" border="0" cellspacing="1" cellpadding="4" align="center"> 
    9090                        <tr> 
    91                                 <td height="20" class="sectiontableheader"> 
    92                                         <?= _ASR_DATESTART; ?> 
     91                                <td height="10" class="sectiontableheader"> 
     92                                        &nbsp;<?= _ASR_DATESTART; ?> 
    9393                                </td>                    
    94                                 <td height="20" class="sectiontableheader"> 
    95                                         <?= _ASR_DATEEND; ?> 
    96                                 </td> 
    97                                 <td height="20" class="sectiontableheader"> 
    98                                         <?= _ASR_NOMCLI; ?> 
    99                                 </td> 
    100                                 <td height="20" class="sectiontableheader"> 
    101                                         <?= _ASR_TELCLI; ?> 
    102                                 </td> 
    103                                 <td height="20" class="sectiontableheader"> 
    104                                         <?= _ASR_VILLECLI; ?> 
    105                                 </td> 
    106                                 <td height="20" class="sectiontableheader"> 
    107                                         <?= _ASR_REQUEST_STATUS; ?> 
     94                                <td height="10" class="sectiontableheader"> 
     95                                        &nbsp;<?= _ASR_DATEEND; ?> 
     96                                </td> 
     97                                <td height="10" class="sectiontableheader"> 
     98                                        &nbsp;<?= _ASR_NOMCLI; ?> 
     99                                </td> 
     100                                <td height="10" class="sectiontableheader"> 
     101                                        &nbsp;<?= _ASR_TELCLI; ?> 
     102                                </td> 
     103                                <td height="10" class="sectiontableheader"> 
     104                                        &nbsp;<?= _ASR_HOTSPOTCLI; ?> 
     105                                </td> 
     106                                <td height="10" class="sectiontableheader"> 
     107                                        &nbsp;<?= _ASR_VILLECLI; ?> 
     108                                </td> 
     109                                <td height="10" class="sectiontableheader"> 
     110                                        &nbsp;<?= _ASR_REQUEST_STATUS; ?> 
    108111                                </td> 
    109112                <?php                                    
     
    146149      $nbONLINE = 0; 
    147150      if ($BDOK == 0) { 
    148           $sqlONLINE = "SELECT UserName, " . 
     151          $sqlONLINE = "SELECT UserName, CalledStationId, " . 
    149152          "AcctTerminateCause FROM ".$confManager->_config->tableBDradiusAcct . 
    150153          " WHERE UserName = '".$row->logincli."' AND AcctTerminateCause = '';"; 
     
    156159      } else { 
    157160      $tabclass[$k] = "online"; 
     161       
     162      $objONLINE = mysql_fetch_object ($resONLINE); 
     163      $hotspot = $objONLINE->CalledStationId; 
    158164      } 
    159165       
     
    161167                        ?> 
    162168                        <tr> 
    163                                 <td height="20" class="<?php echo $tabclass[$k]; ?>"> 
     169                                <td height="10" class="<?php echo $tabclass[$k]; ?>"> 
    164170          <?php echo substr($row->datestart,8,2)."-".substr($row->datestart,5,2)."-".substr($row->datestart,0,4); ?> 
    165171                                </td> 
    166                                 <td class="<?php echo $tabclass[$k]; ?>"> 
     172                                <td height="10" class="<?php echo $tabclass[$k]; ?>"> 
    167173          <?php echo substr($row->dateend,8,2)."-".substr($row->dateend,5,2)."-".substr($row->dateend,0,4); ?> 
    168174                                </td> 
    169                                 <td class="<?php echo $tabclass[$k]; ?>"> 
     175                                <td height="10" class="<?php echo $tabclass[$k]; ?>"> 
    170176                                        <a href="mailto:<?= $row->emailcli; ?>"> <?= stripslashes( $row->nomcli ); ?> <?= stripslashes( $row->prenomcli ); ?></a> 
    171177                                </td> 
    172                                 <td class="<?php echo $tabclass[$k]; ?>"> 
     178                                <td height="10" class="<?php echo $tabclass[$k]; ?>"> 
    173179                                        <?= $tel ?> 
    174180                                </td> 
    175                                 <td class="<?php echo $tabclass[$k]; ?>"> 
     181                                <td height="10" class="<?php echo $tabclass[$k]; ?>"> 
     182                                        <?= stripslashes( $hotspot ); ?> 
     183                                </td> 
     184                                <td height="10" class="<?php echo $tabclass[$k]; ?>"> 
    176185                                        <?= stripslashes( $row->villecli ); ?> 
    177186                                </td> 
    178                                 <td class="<?php echo $tabclass[$k]; ?>"> 
     187                                <td height="10" class="<?php echo $tabclass[$k]; ?>"> 
    179188                                        <?= $status_desc; ?> 
    180189                                </td> 
  • com_asradius/trunk/asradius.xml

    r494 r496  
    88  <authorEmail>thierry@airmesh.eu</authorEmail> 
    99  <authorUrl>www.airmesh.eu</authorUrl> 
    10   <version>1.0.0.0</version> 
     10  <version>1.0.1.0</version> 
    1111  <description>This component allows you to manage access for Wireless Network of users with freeradius. 
    1212  License Creative Common by-sa 2.0 : http://creativecommons.org/licenses/by-sa/2.0/fr/deed.en 
  • com_asradius/trunk/asradius_maj.xml

    r494 r496  
    88  <authorEmail>thierry@airmesh.eu</authorEmail> 
    99  <authorUrl>www.airmesh.eu</authorUrl> 
    10   <version>1.0.0.0</version> 
     10  <version>1.0.1.0</version> 
    1111  <description>This component allows you to manage access for Wireless Network of users with freeradius. 
    1212  License Creative Common by-sa 2.0 : http://creativecommons.org/licenses/by-sa/2.0/fr/deed.en 
  • com_asradius/trunk/changelog.txt

    r494 r496  
    3636 
    3737 
     3812 juillet 2008 
     39Version 1.0.1.0 
     40Composant compatible Joomla 1.0.X 
     41Phase : Stable 
    3842 
     43Ajout dans la liste des abonnés pour chaque abonné, le nom du HotSpot 
     44auquel il est connecté. 
     45Arrangement de la présentation du tableau dans la liste des abonnés 
     46du frontend. 
     47Dans le backend, page About, ajout de l'information de phase du composant: 
     48alpha,beta, ou stable 
    3949_________________________________________________________________________ 
    405011 juillet 2008 
  • com_asradius/trunk/css/asradius.css

    r494 r496  
    22 
    33.sectiontableheader { 
    4         background: #BBBBBB; 
     4        background-color: #BBBBBB; 
    55} 
    66 
    77.sectiontableentry1 { 
    8         background: #EEEEEE; 
     8        background-color: #EEEEEE; 
    99} 
    1010 
    1111.sectiontableentry2 { 
    12         background: #DDDDDD; 
     12        background-color: #DDDDDD; 
    1313} 
    1414 
  • com_asradius/trunk/lang/admin.french.php

    r494 r496  
    165165define( '_ASR_NOMCLI', 'Nom'); 
    166166define( '_ASR_LOGINPASSCLI', 'Identifiants'); 
     167define( '_ASR_HOTSPOTCLI', 'HotSpot'); 
    167168define( '_ASR_CPVILLECLI', 'Adresse'); 
    168169define( '_ASR_TELCLI', 'Téléphone'); 
  • com_asradius/trunk/lang/french.php

    r494 r496  
    9090define( '_ASR_ADRESSECLI', 'Adresse postale'); 
    9191define( '_ASR_CPCLI', 'Code postal'); 
     92define( '_ASR_HOTSPOTCLI', 'HotSpot'); 
    9293define( '_ASR_VILLECLI', 'Ville'); 
    9394define( '_ASR_TELCLI', 'Téléphone');