/[dolibarr]/dolibarr/htdocs/telephonie/script/commande_presel_statut_view.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/script/commande_presel_statut_view.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by rodolphe, Mon Nov 21 16:37:31 2005 UTC revision 1.4 by rodolphe, Thu Dec 1 13:53:08 2005 UTC
# Line 102  function GetPreselection_byRef($db, $hos Line 102  function GetPreselection_byRef($db, $hos
102                        $array = array();                        $array = array();
103                        preg_match('/telnum="([0123456789]*)"/', $line, $array);                        preg_match('/telnum="([0123456789]*)"/', $line, $array);
104                        $ligne_numero = $array[1];                        $ligne_numero = $array[1];
105    
106                          $array = array();
107                          preg_match('/ServiceActive="([\S]*)"/i', $line, $array);
108                          $service_active = $array[1];
109                          
110                          $array = array();
111                          preg_match('/PreSelectionActive="([\S]*)"/i', $line, $array);
112                          $presel_active = $array[1];
113                                                
114                        $array = array();                        $array = array();
115                        preg_match('/Service_Statut="([\S]*)"/i', $line, $array);                        preg_match('/Service_Statut="([\S]*)"/i', $line, $array);
# Line 113  function GetPreselection_byRef($db, $hos Line 121  function GetPreselection_byRef($db, $hos
121                                                
122                        print "$i/$numcli ";                        print "$i/$numcli ";
123                        print $ligne_numero." ";                        print $ligne_numero." ";
124                          print "$service_active/$presel_active ";
125                        print substr($ligne_service.str_repeat(" ",20),0,20);                        print substr($ligne_service.str_repeat(" ",20),0,20);
126                        print substr($ligne_presel.str_repeat(" ",20),0,20);                        print substr($ligne_presel.str_repeat(" ",20),0,20);
127                        print "\n";                        print "\n";

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26