Changeset 496
- Timestamp:
- 07/13/08 00:48:25 (3 months ago)
- Files:
-
- com_asradius/trunk/admin.asradius.html.php (modified) (5 diffs)
- com_asradius/trunk/asradius.config.php (modified) (1 diff)
- com_asradius/trunk/asradius.html.php (modified) (4 diffs)
- com_asradius/trunk/asradius.xml (modified) (1 diff)
- com_asradius/trunk/asradius_maj.xml (modified) (1 diff)
- com_asradius/trunk/changelog.txt (modified) (1 diff)
- com_asradius/trunk/css/asradius.css (modified) (1 diff)
- com_asradius/trunk/lang/admin.french.php (modified) (1 diff)
- com_asradius/trunk/lang/french.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
com_asradius/trunk/admin.asradius.html.php
r494 r496 64 64 <td align="center"> 65 65 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; ?> <?php echo $confManager->_config->version; ?> </h2> 67 67 68 68 <div style='text-align: left;margin: 0px auto; width: 600px;'> … … 308 308 <th class="title" nowrap="true"><?= _ASR_PRENOMCLI; ?></th> 309 309 <th class="title" nowrap="true"><?= _ASR_LOGINPASSCLI; ?></th> 310 <th class="title" nowrap="true"><?= _ASR_HOTSPOTCLI; ?></th> 310 311 <th class="title" nowrap="true"><?= _ASR_CPVILLECLI; ?></th> 311 312 <th class="title" nowrap="true"><?= _ASR_TELCLI; ?></th> … … 364 365 $nbONLINE = 0; 365 366 if ($BDOK == 0) { 366 $sqlONLINE = "SELECT UserName, " .367 $sqlONLINE = "SELECT UserName, CalledStationId, " . 367 368 "AcctTerminateCause FROM ".$confManager->_config->tableBDradiusAcct . 368 369 " WHERE UserName = '".$rows[$i]->logincli."' AND AcctTerminateCause = '';"; … … 374 375 } else { 375 376 $ligcolor = "online"; 377 378 $objONLINE = mysql_fetch_object ($resONLINE); 379 $hotspot = $objONLINE->CalledStationId; 376 380 } 377 381 … … 401 405 <td> </td> 402 406 <?php } ?> 403 407 408 <td><?= $hotspot; ?></td> 404 409 <td><?= $cpvillecli; ?></td> 405 410 <td><?= $telcli; ?></td> com_asradius/trunk/asradius.config.php
r494 r496 43 43 // Derniere modification le : Thu, 2008-May-22 11:38 44 44 // par : admin 45 var $version = "1.0. 0.0";45 var $version = "1.0.1.0"; 46 46 var $phase = "STABLE"; 47 47 var $authorMail = "thierry@airmesh.eu"; com_asradius/trunk/asradius.html.php
r494 r496 87 87 88 88 ?> 89 <table width="100%" border="0" cellspacing=" 4" cellpadding="4" align="center">89 <table width="100%" border="0" cellspacing="1" cellpadding="4" align="center"> 90 90 <tr> 91 <td height=" 20" class="sectiontableheader">92 <?= _ASR_DATESTART; ?>91 <td height="10" class="sectiontableheader"> 92 <?= _ASR_DATESTART; ?> 93 93 </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 <?= _ASR_DATEEND; ?> 96 </td> 97 <td height="10" class="sectiontableheader"> 98 <?= _ASR_NOMCLI; ?> 99 </td> 100 <td height="10" class="sectiontableheader"> 101 <?= _ASR_TELCLI; ?> 102 </td> 103 <td height="10" class="sectiontableheader"> 104 <?= _ASR_HOTSPOTCLI; ?> 105 </td> 106 <td height="10" class="sectiontableheader"> 107 <?= _ASR_VILLECLI; ?> 108 </td> 109 <td height="10" class="sectiontableheader"> 110 <?= _ASR_REQUEST_STATUS; ?> 108 111 </td> 109 112 <?php … … 146 149 $nbONLINE = 0; 147 150 if ($BDOK == 0) { 148 $sqlONLINE = "SELECT UserName, " .151 $sqlONLINE = "SELECT UserName, CalledStationId, " . 149 152 "AcctTerminateCause FROM ".$confManager->_config->tableBDradiusAcct . 150 153 " WHERE UserName = '".$row->logincli."' AND AcctTerminateCause = '';"; … … 156 159 } else { 157 160 $tabclass[$k] = "online"; 161 162 $objONLINE = mysql_fetch_object ($resONLINE); 163 $hotspot = $objONLINE->CalledStationId; 158 164 } 159 165 … … 161 167 ?> 162 168 <tr> 163 <td height=" 20" class="<?php echo $tabclass[$k]; ?>">169 <td height="10" class="<?php echo $tabclass[$k]; ?>"> 164 170 <?php echo substr($row->datestart,8,2)."-".substr($row->datestart,5,2)."-".substr($row->datestart,0,4); ?> 165 171 </td> 166 <td class="<?php echo $tabclass[$k]; ?>">172 <td height="10" class="<?php echo $tabclass[$k]; ?>"> 167 173 <?php echo substr($row->dateend,8,2)."-".substr($row->dateend,5,2)."-".substr($row->dateend,0,4); ?> 168 174 </td> 169 <td class="<?php echo $tabclass[$k]; ?>">175 <td height="10" class="<?php echo $tabclass[$k]; ?>"> 170 176 <a href="mailto:<?= $row->emailcli; ?>"> <?= stripslashes( $row->nomcli ); ?> <?= stripslashes( $row->prenomcli ); ?></a> 171 177 </td> 172 <td class="<?php echo $tabclass[$k]; ?>">178 <td height="10" class="<?php echo $tabclass[$k]; ?>"> 173 179 <?= $tel ?> 174 180 </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]; ?>"> 176 185 <?= stripslashes( $row->villecli ); ?> 177 186 </td> 178 <td class="<?php echo $tabclass[$k]; ?>">187 <td height="10" class="<?php echo $tabclass[$k]; ?>"> 179 188 <?= $status_desc; ?> 180 189 </td> com_asradius/trunk/asradius.xml
r494 r496 8 8 <authorEmail>thierry@airmesh.eu</authorEmail> 9 9 <authorUrl>www.airmesh.eu</authorUrl> 10 <version>1.0. 0.0</version>10 <version>1.0.1.0</version> 11 11 <description>This component allows you to manage access for Wireless Network of users with freeradius. 12 12 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 8 8 <authorEmail>thierry@airmesh.eu</authorEmail> 9 9 <authorUrl>www.airmesh.eu</authorUrl> 10 <version>1.0. 0.0</version>10 <version>1.0.1.0</version> 11 11 <description>This component allows you to manage access for Wireless Network of users with freeradius. 12 12 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 36 36 37 37 38 12 juillet 2008 39 Version 1.0.1.0 40 Composant compatible Joomla 1.0.X 41 Phase : Stable 38 42 43 Ajout dans la liste des abonnés pour chaque abonné, le nom du HotSpot 44 auquel il est connecté. 45 Arrangement de la présentation du tableau dans la liste des abonnés 46 du frontend. 47 Dans le backend, page About, ajout de l'information de phase du composant: 48 alpha,beta, ou stable 39 49 _________________________________________________________________________ 40 50 11 juillet 2008 com_asradius/trunk/css/asradius.css
r494 r496 2 2 3 3 .sectiontableheader { 4 background : #BBBBBB;4 background-color: #BBBBBB; 5 5 } 6 6 7 7 .sectiontableentry1 { 8 background : #EEEEEE;8 background-color: #EEEEEE; 9 9 } 10 10 11 11 .sectiontableentry2 { 12 background : #DDDDDD;12 background-color: #DDDDDD; 13 13 } 14 14 com_asradius/trunk/lang/admin.french.php
r494 r496 165 165 define( '_ASR_NOMCLI', 'Nom'); 166 166 define( '_ASR_LOGINPASSCLI', 'Identifiants'); 167 define( '_ASR_HOTSPOTCLI', 'HotSpot'); 167 168 define( '_ASR_CPVILLECLI', 'Adresse'); 168 169 define( '_ASR_TELCLI', 'Téléphone'); com_asradius/trunk/lang/french.php
r494 r496 90 90 define( '_ASR_ADRESSECLI', 'Adresse postale'); 91 91 define( '_ASR_CPCLI', 'Code postal'); 92 define( '_ASR_HOTSPOTCLI', 'HotSpot'); 92 93 define( '_ASR_VILLECLI', 'Ville'); 93 94 define( '_ASR_TELCLI', 'Téléphone');
