Fix for new layout
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Tue, 21 Oct 2008 18:41:39 +0000 (18:41 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Tue, 21 Oct 2008 18:41:39 +0000 (18:41 +0000)
ccoop-update

index f9ddd66392b7db79e60e8f4e92b9216bd40786b9..8b74b76a050458394eb2354244a1e6aa294723a2 100755 (executable)
@@ -150,8 +150,8 @@ function fetchall() {
     fi
 
     IFS=$'\n'
-    accountsId=(`grep numeroExterne $TMP | grep hidden | cut -d \" -f 6`)
-    accountsNames=(`grep "<td style=\"width:9%;\">" $TMP | cut -d ">" -f 2 | cut -d "<" -f 1`)
+    accountsId=(`grep numeroExterne $TMP | grep hidden | cut -d \" -f 8`)
+    ccountsNames=(`grep "<TD class=txt width=\"99%\">" $TMP |  cut -d \> -f 6  | cut -d "<" -f 1`)
     accountsBalances=(`grep "Consulter votre relevé" $TMP | cut -d ">" -f 3 | cut -d "<" -f 1`)
     unset IFS